/* =============================================================
   SPT healthtech — Guía, Conexión & Salud
   Sitio claro editorial · Ivory Beige · Blue Navy · Burgundy
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy:     #17324B;
  --ivory:    #F2EDE4;
  --burgundy: #BE1622;
  --burgundy-dark: #9E1220;
  --graublue: #7FA5C6;
  --cream:    #ECE1BB;
  --ink:      #0F2233;
  --paper:    #FAF6EE;
  --ivory-2:  #EAE3D5;
  --line:     rgba(23, 50, 75, 0.14);
  --line-soft: rgba(23, 50, 75, 0.08);
  --navy-soft: rgba(23, 50, 75, 0.72);

  --display: "Outfit", "Segoe UI", sans-serif;
  --sans: "Inter", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --head-h: 84px;
  --head-h-compact: 64px;
  --maxw: 1200px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}
strong { color: var(--navy); }
::selection { background: var(--navy); color: var(--ivory); }
:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--navy); color: var(--ivory);
  z-index: 9999; border-radius: 10px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--burgundy);
  flex: none;
}
.on-navy .kicker { color: rgba(242, 237, 228, 0.75); }
.on-navy .kicker::before { background: var(--graublue); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--navy-soft); }

/* Molecular dot texture */
.dots-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(127, 165, 198, 0.28) 1.6px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}
.dots-bg > * { position: relative; }

/* Molecular section divider */
.divider-mol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-block: 0.25rem;
}
.divider-mol span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--graublue);
  opacity: 0.55;
}
.divider-mol span:nth-child(2) { width: 15px; height: 15px; margin-inline: 46px; opacity: 0.8; }
.divider-mol::before, .divider-mol::after {
  content: "";
  height: 2px; width: min(90px, 14vw);
  background: linear-gradient(90deg, transparent, var(--graublue));
  border-radius: 2px;
  opacity: 0.5;
}
.divider-mol::after { background: linear-gradient(270deg, transparent, var(--graublue)); }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--burgundy);
  color: #FDF9F0;
  box-shadow: 0 10px 26px -12px rgba(190, 22, 34, 0.55);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  box-shadow: 0 16px 34px -12px rgba(190, 22, 34, 0.6);
}

.btn-ghost {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }

.on-navy .btn-ghost { border-color: rgba(242, 237, 228, 0.6); color: var(--ivory); }
.on-navy .btn-ghost:hover { background: var(--ivory); color: var(--navy); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--burgundy);
  position: relative;
}
.btn-link::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.btn-link:hover::after { transform: scaleX(1); }

/* =============================================================
   5. Header
   ============================================================= */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(242, 237, 228, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-head.is-compact {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px -18px rgba(23, 50, 75, 0.35);
}
.head-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: height 0.35s var(--ease-out);
}
.site-head.is-compact .head-inner { height: var(--head-h-compact); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand-mark { width: 40px; height: 40px; transition: transform 0.5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(24deg); }
.brand-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  white-space: nowrap;
}
.brand-text em { font-style: normal; font-weight: 300; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.site-nav > a:not(.btn) {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--navy);
  position: relative;
  padding-block: 0.35rem;
}
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.site-nav > a:not(.btn):hover::after,
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .btn { padding: 0.72em 1.5em; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px; height: 46px;
  border-radius: 12px;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem;
    background: var(--paper);
    box-shadow: -30px 0 60px -30px rgba(23, 50, 75, 0.4);
    transform: translateX(105%);
    transition: transform 0.45s var(--ease-out);
    z-index: 99;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a:not(.btn) { font-size: 1.3rem; }
  .site-nav .btn { margin-top: 0.5rem; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--head-h);
  overflow: clip;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 50, 75, 0.28) 0%, rgba(23, 50, 75, 0.12) 40%, rgba(15, 34, 51, 0.82) 100%),
    rgba(23, 50, 75, 0.22);
}
/* Overlay reforzado para heros con fotografía clara */
.hero-media.overlay-strong::after {
  background:
    linear-gradient(180deg, rgba(23, 50, 75, 0.58) 0%, rgba(23, 50, 75, 0.46) 40%, rgba(15, 34, 51, 0.92) 100%),
    rgba(23, 50, 75, 0.3);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 5.5rem);
  color: var(--ivory);
}
.hero .kicker { color: rgba(242, 237, 228, 0.85); }
.hero .kicker::before { background: var(--graublue); }
.hero h1 {
  color: #FBF8F1;
  font-size: clamp(2.3rem, 5.4vw, 4.15rem);
  max-width: 17ch;
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  max-width: 56ch;
  color: rgba(242, 237, 228, 0.92);
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-actions .btn-ghost { border-color: rgba(242, 237, 228, 0.65); color: var(--ivory); }
.hero-actions .btn-ghost:hover { background: var(--ivory); color: var(--navy); }

/* Compact hero (contacto / nosotros) */
.hero-plain {
  padding-top: calc(var(--head-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
}
.hero-plain h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  max-width: 20ch;
  margin-bottom: 1.1rem;
}

/* =============================================================
   7. Cards & grids
   ============================================================= */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -28px rgba(23, 50, 75, 0.4);
  border-color: rgba(127, 165, 198, 0.5);
}
.card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.7rem;
}
.card p { color: var(--navy-soft); font-size: 0.98rem; }

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  position: relative;
}
.card-num::after {
  content: "";
  position: absolute;
  right: -14px; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--graublue);
  transform: translateY(-50%);
}

.grid-3 { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* Benefit list cards */
.benefit {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(23, 50, 75, 0.38);
}
.benefit-dot {
  flex: none;
  width: 34px; height: 34px;
  margin-top: 0.2rem;
  position: relative;
}
.benefit-dot::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(127, 165, 198, 0.25);
}
.benefit-dot::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--burgundy);
}
.benefit h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.benefit p { color: var(--navy-soft); font-size: 0.96rem; }

/* =============================================================
   8. Sections — specific
   ============================================================= */

/* Two-column editorial */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .split.split-rev { grid-template-columns: 0.9fr 1.1fr; }
  .split.split-rev > :first-child { order: 2; }
}
.split h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem; }
.split p + p { margin-top: 1rem; }
.split .body { color: var(--navy-soft); }
.split .body strong { color: var(--navy); }

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 34px 70px -38px rgba(23, 50, 75, 0.55);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(23, 50, 75, 0.18);
  pointer-events: none;
}

/* Stat anchor (40 min/mes) */
.stat-panel {
  background: var(--navy);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: clip;
}
.stat-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(127, 165, 198, 0.22) 1.6px, transparent 1.6px);
  background-size: 24px 24px;
}
.stat-panel > * { position: relative; }
.stat-big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.6rem, 8vw, 5.6rem);
  line-height: 1;
  color: #F6E9E3;
  letter-spacing: -0.03em;
}
.stat-big .stat-accent { color: #E98A93; }
.stat-unit {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-top: 0.4rem;
  color: var(--graublue);
}
.stat-caption {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: rgba(242, 237, 228, 0.8);
  max-width: 34ch;
  margin-inline: auto;
}

/* Observation / alert blocks */
.note-block {
  border-left: 4px solid var(--burgundy);
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.5rem 1.7rem;
  margin-top: 2rem;
}
.note-block p { color: var(--ink); }
.note-block strong { color: var(--burgundy); }

/* Navy statement band */
.band-navy {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: clip;
}
.band-navy::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(127, 165, 198, 0.16) 1.8px, transparent 1.8px);
  background-size: 30px 30px;
  mask-image: radial-gradient(75% 90% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 90% at 50% 50%, #000 30%, transparent 100%);
}
.band-navy .wrap { position: relative; }
.band-navy h2 { color: #FBF8F1; }
.band-navy p { color: rgba(242, 237, 228, 0.88); }

.statement {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.statement h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1.4rem;
}
.statement p {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  max-width: 62ch;
  margin-inline: auto;
}

/* Cream band */
.band-cream { background: var(--cream); }

/* Plan card (SPT Care) */
.plan-card {
  background: var(--paper);
  border: 1.5px solid rgba(190, 22, 34, 0.35);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 520px;
  position: relative;
  box-shadow: 0 34px 70px -40px rgba(190, 22, 34, 0.35);
}
.plan-card .plan-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(190, 22, 34, 0.08);
  border-radius: 999px;
  padding: 0.35em 1em;
  margin-bottom: 1rem;
}
.plan-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.2rem;
}
.plan-price small {
  font-size: 0.42em;
  font-weight: 500;
  color: var(--navy-soft);
  letter-spacing: 0;
}
.plan-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  display: grid;
  gap: 0.65rem;
}
.plan-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink);
}
.plan-list li::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--graublue);
  margin-top: 0.5em;
}
.plan-note {
  font-size: 0.94rem;
  color: var(--navy-soft);
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
  margin-bottom: 1.4rem;
}
.plan-note strong { color: var(--navy); }

/* DOC24 seal */
.doc24-seal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.55em 1.3em;
}
.doc24-seal::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--graublue);
  box-shadow: 14px 0 0 -3px var(--burgundy);
  margin-right: 10px;
}
.on-navy .doc24-seal {
  border-color: rgba(242, 237, 228, 0.3);
  background: rgba(242, 237, 228, 0.06);
  color: var(--ivory);
}

/* =============================================================
   9. SISAT table
   ============================================================= */
.sisat-table-wrap { margin-top: 2.5rem; }
.sisat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.96rem;
}
.sisat-table th, .sisat-table td {
  padding: 1.1rem 1.3rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.sisat-table thead th {
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 0;
}
.sisat-table tbody tr { transition: background-color 0.25s ease; }
.sisat-table tbody tr:hover { background: rgba(127, 165, 198, 0.14); }
.sisat-table tbody tr:last-child td { border-bottom: 0; }
.sisat-cat {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--burgundy);
  white-space: nowrap;
}
.sisat-table td:first-child { font-weight: 600; color: var(--navy); min-width: 180px; }

@media (max-width: 719px) {
  .sisat-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sisat-table, .sisat-table tbody, .sisat-table tr, .sisat-table td { display: block; }
  .sisat-table { background: transparent; border: 0; overflow: visible; }
  .sisat-table tbody tr {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    padding: 0.4rem 0;
    box-shadow: 0 14px 30px -22px rgba(23, 50, 75, 0.3);
  }
  .sisat-table td { border-bottom: 0; padding: 0.65rem 1.2rem; }
  .sisat-table td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--graublue);
    margin-bottom: 0.15rem;
  }
}

/* =============================================================
   10. Phases timeline
   ============================================================= */
.phases { display: grid; gap: 0; margin-top: 2.5rem; }
.phase {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.4rem;
  padding-bottom: 2.4rem;
  position: relative;
}
.phase:last-child { padding-bottom: 0; }
.phase::before {
  content: "";
  position: absolute;
  left: 27px; top: 56px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--graublue), rgba(127, 165, 198, 0.15));
}
.phase:last-child::before { display: none; }
.phase-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  flex: none;
}
.phase h3 { font-size: 1.25rem; margin-bottom: 0.5rem; padding-top: 0.55rem; }
.phase p { color: var(--navy-soft); max-width: 62ch; }

/* =============================================================
   11. Ecosystem molecular diagram
   ============================================================= */
.eco-wrap { position: relative; margin-top: 2.5rem; }
.eco-svg {
  width: min(680px, 92%);
  margin-inline: auto;
  display: none;
}
@media (min-width: 720px) { .eco-svg { display: block; } }

/* Continuous molecular rotation — compositor-driven CSS */
.eco-rotor {
  animation: ecoSpin 150s linear infinite;
  transform-origin: 360px 360px;
}
.eco-counter {
  animation: ecoSpinRev 150s linear infinite;
  transform-origin: 0px 0px;
}
@keyframes ecoSpin { to { transform: rotate(360deg); } }
@keyframes ecoSpinRev { to { transform: rotate(-360deg); } }

.eco-line {
  stroke: var(--graublue);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.65;
}
.eco-node-circle {
  fill: var(--paper);
  stroke: var(--graublue);
  stroke-width: 2;
}
[data-eco-node] text {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  fill: var(--navy);
  text-anchor: middle;
}
.eco-center-circle { fill: var(--navy); }
.eco-center text {
  font-family: var(--display);
  fill: var(--ivory);
  text-anchor: middle;
  font-weight: 600;
}
.eco-center .eco-center-sep { fill: var(--graublue); font-size: 13px; }

/* Mobile fallback list */
.eco-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 720px) { .eco-list { display: none; } }
.eco-list li {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eco-list li::before {
  content: "";
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--graublue);
  flex: none;
}
.eco-list li.eco-list-center {
  background: var(--navy);
  color: var(--ivory);
  font-weight: 600;
  justify-content: center;
  text-align: center;
}
.eco-list li.eco-list-center::before { background: var(--burgundy); }

/* =============================================================
   12. Forms
   ============================================================= */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: 0 34px 70px -45px rgba(23, 50, 75, 0.45);
}
.form-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field-full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8em 1em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(127, 165, 198, 0.3);
}
.form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}
.form-hint {
  font-size: 0.9rem;
  color: var(--navy-soft);
  margin-top: 1rem;
}
.form-success {
  display: none;
  background: rgba(127, 165, 198, 0.18);
  border: 1.5px solid var(--graublue);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  margin-top: 1.4rem;
  color: var(--navy);
  font-weight: 500;
}
.form-success.is-visible { display: block; }

/* =============================================================
   13. FAQ accordion
   ============================================================= */
.faq { display: grid; gap: 0.9rem; margin-top: 2rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq details[open] { border-color: rgba(127, 165, 198, 0.6); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--burgundy);
  transition: transform 0.3s var(--ease-out);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--navy-soft); }

/* =============================================================
   14. Footer
   ============================================================= */
.site-foot {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  position: relative;
  overflow: clip;
}
.site-foot::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(127, 165, 198, 0.13) 1.7px, transparent 1.7px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.foot-inner { position: relative; }
.foot-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(242, 237, 228, 0.14);
}
@media (min-width: 720px) {
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.foot-logo { width: 168px; margin-bottom: 1.1rem; }
.foot-slogan {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--graublue);
  margin-bottom: 1.4rem;
}
.foot-title {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graublue);
  margin-bottom: 1rem;
}
.foot-links { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.foot-links a {
  color: rgba(242, 237, 228, 0.88);
  transition: color 0.25s ease;
}
.foot-links a:hover { color: #fff; }
.foot-contact { display: grid; gap: 0.55rem; font-size: 0.98rem; }
.foot-contact a { color: rgba(242, 237, 228, 0.88); }
.foot-contact a:hover { color: #fff; }
.foot-country { color: var(--graublue); margin-top: 0.4rem; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.87rem;
  color: rgba(242, 237, 228, 0.65);
}
.foot-bottom a { color: rgba(242, 237, 228, 0.8); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom a:hover { color: #fff; }

/* =============================================================
   15. WhatsApp float
   ============================================================= */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px -12px rgba(18, 140, 70, 0.65);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 44px -14px rgba(18, 140, 70, 0.7);
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* =============================================================
   16. Effects — reveals, counters, parallax
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: split-text elements must never inherit the hidden state */
.reveal[data-split] { opacity: 1; transform: none; }

[data-split] .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.7em);
}
html.no-js [data-split] .split-word { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-out);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > :nth-child(2) { transition-delay: 0.08s; }
.stagger.is-visible > :nth-child(3) { transition-delay: 0.16s; }
.stagger.is-visible > :nth-child(4) { transition-delay: 0.24s; }
.stagger.is-visible > :nth-child(5) { transition-delay: 0.32s; }
.stagger.is-visible > :nth-child(6) { transition-delay: 0.4s; }
.stagger.is-visible > :nth-child(7) { transition-delay: 0.48s; }
.stagger.is-visible > :nth-child(8) { transition-delay: 0.56s; }
.stagger.is-visible > :nth-child(9) { transition-delay: 0.64s; }

/* View transitions (multi-page) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: vtFadeOut; }
::view-transition-new(root) { animation-name: vtFadeIn; }
@keyframes vtFadeOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtFadeIn { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   17. Credits page
   ============================================================= */
.credits-list { list-style: none; padding: 0; display: grid; gap: 1rem; margin-top: 2rem; }
.credits-list li {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  font-size: 0.95rem;
  color: var(--navy-soft);
}
.credits-list a { color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   18. Responsive refinements
   ============================================================= */
@media (max-width: 539px) {
  .hero { min-height: 88svh; }
  .hero-actions .btn { width: 100%; }
  .stat-big { font-size: 3.2rem; }
}

/* =============================================================
   19. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { transform: none !important; }
  /* Reveals, hovers, counters and accordion stay active on purpose */
}
