:root {
  --ink: #10243e;
  --ink-soft: #33455d;
  --paper: #f5f2ea;
  --white: #ffffff;
  --line: rgba(16, 36, 62, 0.16);
  --accent: #a65d3b;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 234, 0.96);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.03;
  letter-spacing: 0.055em;
}

.brand-text strong {
  font-size: 0.91rem;
}

.brand-text span {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.header-status {
  padding: 8px 11px;
  border: 1px solid var(--line);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.hero {
  color: var(--white);
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(166, 93, 59, 0.28),
      transparent 26rem
    ),
    linear-gradient(135deg, #10243e 0%, #183552 55%, #10243e 100%);
}

.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding-block: 88px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.71);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.55;
}

.eyebrow.dark {
  color: var(--accent);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(3rem, 6.6vw, 6.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.58em;
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
}

.opening-date {
  margin-top: 42px;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.opening-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.opening-date strong {
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

.countdown-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(9px);
}

.panel-kicker {
  margin: 0 0 5px;
  color: #dba184;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.countdown-panel h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.time-box {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.time-box span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-box small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.countdown-note {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.purpose {
  padding-block: 92px;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.principle h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
}

.cards {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.card {
  min-height: 260px;
  padding: 28px 30px 20px 0;
  border-right: 1px solid var(--line);
}

.card + .card {
  padding-left: 30px;
}

.card:last-child {
  border-right: 0;
}

.card-number {
  display: inline-block;
  margin-bottom: 45px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.principle {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.principle-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 70px;
  align-items: end;
  padding-block: 78px;
}

.principle h2 {
  max-width: 690px;
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
  line-height: 1.03;
}

.principle-inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #0b1b2d;
}

.footer-inner {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  color: var(--white);
  letter-spacing: 0.07em;
}

.footer-inner p {
  margin: 5px 0 0;
}

.footer-note {
  max-width: 450px;
  text-align: right;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 65px;
  }

  .countdown-panel {
    max-width: 600px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card,
  .card + .card {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-number {
    margin-bottom: 24px;
  }

  .principle-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 74px;
  }

  .header-status {
    display: none;
  }

  .hero-grid {
    padding-block: 52px 58px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.1rem);
  }

  .lead {
    margin-top: 26px;
  }

  .opening-date {
    margin-top: 32px;
  }

  .countdown-panel {
    padding: 22px;
  }

  .time-box {
    min-height: 100px;
  }

  .purpose {
    padding-block: 68px;
  }

  .principle-inner {
    padding-block: 58px;
  }

  .footer-inner {
    min-height: 180px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
  }

  .footer-note {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 37.4: botones hacia la plataforma */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta {
  display: inline-block;
  padding: 14px 22px;
  border: 2px solid var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.cta-primary {
  color: var(--white);
  background: var(--accent);
}

.cta-secondary {
  color: var(--ink);
  background: var(--white);
}

.cta:hover,
.cta:focus-visible {
  color: var(--white);
  background: var(--ink);
  border-color: var(--white);
}

.cta:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* 38.3: tarjeta de la propuesta del SINMCO */
.sinmco-callout {
  padding: 40px 0 8px;
}

.sinmco-card {
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  background: var(--white);
}

.sinmco-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.sinmco-card p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-soft);
}

.sinmco-card .eyebrow {
  margin: 0;
  color: var(--accent);
}

/* L.2: portada sin cuenta regresiva (una sola columna) */
.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: 540px;
}

@media (max-width: 860px) {
  .hero-grid {
    min-height: auto;
  }
}

/* L.3: botones de la portada más visibles */
.hero .cta-row {
  gap: 14px;
  margin-top: 34px;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 30px;
  font-size: 1.08rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

@media (max-width: 560px) {
  .hero .cta-row {
    flex-direction: column;
  }

  .hero .cta {
    width: 100%;
  }
}
