/* assets/css/styles.css */

/* 
  Paleta base extraída de la referencia:
  --color-primary: #123d73;
  --color-secondary: #e3342f;
  --color-accent: #ffcf2e;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-text: #1f2b3a;
*/

:root {
  --color-primary: #123d73;
  --color-secondary: #e3342f;
  --color-accent: #ffcf2e;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-border: #e6e6e6;
  --color-text: #1f2b3a;
  --color-muted: #5f6b7a;
  --color-shadow: rgba(15, 23, 42, 0.08);

  --font-base: Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;

  --shadow-soft: 0 8px 24px var(--color-shadow);
}

/* Reset simple */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Tipografía */
h1,
p {
  margin: 0;
}

h1 {
  font-size: 2rem;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
}

/* Layout general */
.site-header {
  width: 100%;
  padding: var(--space-4) var(--space-4) 0;
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.site-brand__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 6px rgba(227, 52, 47, 0.1);
}

.page-content {
  flex: 1;
  display: grid;
  place-items: center;
  padding: var(--space-5) var(--space-4) var(--space-6);
}

/* Tarjeta principal */
.status-card-section {
  width: 100%;
}

.status-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: var(--space-7) var(--space-5);
}

.status-card__tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
}

.status-card__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(227, 52, 47, 0.08);
}

.status-card__icon svg {
  width: 42px;
  height: 42px;
}

.status-card__icon circle:first-child {
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 3;
}

.status-card__icon path,
.status-card__icon circle:last-child {
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 4;
  stroke-linecap: round;
}

.status-card__note {
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid #e9eef5;
}

/* Footer */
.site-footer {
  padding: 0 var(--space-4) var(--space-5);
  text-align: center;
}

.site-footer p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Tablet */
@media (min-width: 768px) {
  .site-header {
    padding-top: var(--space-5);
  }

  .page-content {
    padding: var(--space-6);
  }

  .status-card {
    padding: var(--space-8) var(--space-7);
  }

  h1 {
    font-size: 2.25rem;
  }

  p {
    font-size: 1.05rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .status-card {
    max-width: 560px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .status-card__tag {
    font-size: 0.95rem;
  }
}