/* ==========================================================================
   FUNDACIÓN REDSAVIA — Sistema visual
   "El medio para llegar a un fin."
   ========================================================================== */

:root {
  /* Verdes (savia, campo) */
  --verde-950: #0f2a1a;
  --verde-900: #173d26;
  --verde-800: #1e4d30;
  --verde-700: #275f3b;
  --verde-500: #4a8a5a;
  --verde-100: #e3ece2;

  /* Azul institucional */
  --azul-950: #0a1f33;
  --azul-900: #0d2a45;
  --azul-800: #143856;
  --azul-600: #2a5a82;
  --azul-100: #e2e9f0;

  /* Hoja (acento del monograma) */
  --hoja: #2c87c5;
  --hoja-clara: #5aaee0;

  /* Neutros cálidos */
  --crema: #faf7f0;
  --crema-2: #f4eee2;
  --beige: #ece3d1;
  --caqui: #c8b48b;
  --caqui-600: #a48e62;
  --tierra: #8a6a45;
  --cafe: #5b3b26;
  --vino: #7a2f2a;
  --vino-100: #f3e3df;

  /* Texto */
  --tinta: #1b2420;
  --tinta-2: #46504a;
  --tinta-3: #6e766f;
  --linea: rgba(23, 61, 38, 0.12);
  --linea-fuerte: rgba(23, 61, 38, 0.22);

  /* Tipografía */
  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Medidas */
  --max: 1240px;
  --gutter: clamp(16px, 4.2vw, 56px);
  --radius: 22px;
  --radius-lg: 32px;
  --header-h: 72px;
  --sombra: 0 1px 2px rgba(15, 42, 26, 0.04), 0 12px 32px -12px rgba(15, 42, 26, 0.18);
  --sombra-lg: 0 2px 6px rgba(15, 42, 26, 0.05), 0 30px 60px -24px rgba(15, 42, 26, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--hoja); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--azul-900);
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; font-variation-settings: "opsz" 36; }
h4 { font-size: 1.15rem; line-height: 1.2; font-variation-settings: "opsz" 24; }
p { margin: 0; }
.accent { color: var(--verde-800); }
.accent-i { color: var(--verde-800); font-style: italic; font-weight: 500; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--azul-900); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--beige { background: var(--crema-2); }
.section--verde { background: var(--verde-900); color: #e9efe7; }
.section--azul { background: var(--azul-900); color: #e3eaf1; }
.section--verde h2, .section--azul h2,
.section--verde h3, .section--azul h3 { color: #fff; }

/* ---------- Etiquetas / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--verde-800);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 44px; height: 1.5px; background: currentColor; opacity: 0.7; }
.eyebrow--plain::before { display: none; }
.section--verde .eyebrow, .section--azul .eyebrow { color: var(--caqui); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--tinta-2); max-width: 40ch; }
.lead strong { color: var(--tinta); font-weight: 700; }
.muted { color: var(--tinta-3); }
.rule { width: 64px; height: 2px; background: var(--verde-800); border: 0; margin: 28px 0; }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: clamp(24px, 5vw, 80px);
}
.section-head p { color: var(--tinta-2); font-size: 1.1rem; max-width: 52ch; }
.section--verde .section-head p, .section--azul .section-head p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--azul-900); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.005em;
  transition: transform 0.35s var(--ease), background 0.25s, box-shadow 0.35s var(--ease), color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(13, 42, 69, 0.55); }
.btn:hover svg.ic-arrow { transform: translateX(4px); }
.btn--verde { --bg: var(--verde-800); }
.btn--verde:hover { box-shadow: 0 14px 30px -14px rgba(23, 61, 38, 0.6); }
.btn--wa { --bg: var(--verde-800); }
.btn--wa svg.ic-wa { width: 20px; height: 20px; }
.btn--ghost { --bg: transparent; --fg: var(--azul-900); --bd: var(--linea-fuerte); }
.btn--ghost:hover { --bd: var(--azul-900); box-shadow: none; background: rgba(13, 42, 69, 0.04); }
.btn--light { --bg: #fff; --fg: var(--azul-900); }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, 0.35); }
.btn--ghost-light:hover { --bd: #fff; background: rgba(255, 255, 255, 0.06); box-shadow: none; }
.btn--caqui { --bg: var(--caqui); --fg: var(--verde-950); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--verde-800); font-size: 0.98rem;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color 0.25s, gap 0.3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { border-color: currentColor; gap: 14px; }

/* ---------- Iconos ---------- */
.ic { width: 24px; height: 24px; display: inline-block; flex: none; }
svg.ic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.ic-fill { fill: currentColor; stroke: none; }

.icon-badge {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde-100); color: var(--verde-800);
  flex: none;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge--beige { background: var(--beige); color: var(--cafe); }
.icon-badge--azul { background: var(--azul-100); color: var(--azul-800); }
.icon-badge--vino { background: var(--vino-100); color: var(--vino); }
.icon-badge--sm { width: 48px; height: 48px; }
.icon-badge--sm svg { width: 22px; height: 22px; }

/* ==========================================================================
   HEADER — Barra flotante "píldora" + panel "La ruta"
   ========================================================================== */
.site-header {
  position: fixed; z-index: 90;
  top: 14px; left: 0; right: 0;
  padding: 0 clamp(12px, 2vw, 28px);
  pointer-events: none;
  transition: top 0.35s var(--ease);
}
.site-header__bar {
  pointer-events: auto;
  max-width: 1360px; margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 12px 0 22px;
  border-radius: 999px;
  background: rgba(250, 247, 240, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid rgba(23, 61, 38, 0.09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 30px -16px rgba(15, 42, 26, 0.25);
  transition: box-shadow 0.35s var(--ease), background 0.35s;
}
.site-header.is-scrolled .site-header__bar {
  background: rgba(250, 247, 240, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 14px 40px -18px rgba(15, 42, 26, 0.38);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 46px; height: 46px; }
.brand__text { display: grid; line-height: 1; }
.brand__small {
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.42em; color: var(--verde-800);
  margin-bottom: 4px; padding-left: 2px;
}
.brand__name {
  font-family: var(--sans); font-weight: 800; font-size: 1.12rem;
  letter-spacing: 0.24em; color: var(--azul-900);
}

.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 14px;
  border-radius: 999px; border: 0; background: none;
  font-weight: 600; font-size: 0.93rem; color: var(--tinta-2);
  transition: color 0.2s, background 0.2s;
}
.nav__link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.nav__link:hover { color: var(--azul-900); background: rgba(23, 61, 38, 0.06); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--verde-900); }
.nav__link[aria-current="page"]::after, .nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 5px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--verde-700);
  transform: translateX(-50%);
}
.nav__link[aria-expanded="true"] { color: var(--azul-900); background: rgba(23, 61, 38, 0.07); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__link--cta { color: var(--verde-800); }
.nav__link--cta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--caqui-600); box-shadow: 0 0 0 4px rgba(200, 180, 139, 0.3); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid transparent; background: transparent; color: var(--azul-900);
  transition: background 0.2s, border-color 0.2s;
}
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { background: rgba(23, 61, 38, 0.07); }
.header-actions .btn { min-height: 48px; }
.menu-toggle { display: none; background: var(--azul-900); color: #fff; }
.menu-toggle:hover { background: var(--azul-800); }

/* Panel "La ruta" */
.route-panel {
  pointer-events: auto;
  max-width: 1360px; margin: 10px auto 0;
  border-radius: var(--radius-lg);
  background: rgba(250, 247, 240, 0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(23, 61, 38, 0.09);
  box-shadow: var(--sombra-lg);
  padding: 34px 38px 30px;
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.route-panel.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s;
}
.route-panel__intro h3 { font-size: 1.9rem; margin: 6px 0 12px; }
.route-panel__intro p { color: var(--tinta-2); font-size: 0.97rem; margin-bottom: 18px; }
.route-panel__intro .eyebrow { margin-bottom: 8px; }

.route-nodes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  position: relative;
}
.route-nodes::before {
  content: ""; position: absolute; top: 31px; left: 7%; right: 7%;
  height: 0; border-top: 1.5px dashed var(--linea-fuerte);
}
.route-node a {
  position: relative; display: grid; justify-items: center; text-align: center; gap: 10px;
  padding: 0 6px 12px; border-radius: 18px;
  transition: background 0.25s;
}
.route-node a:hover { background: rgba(23, 61, 38, 0.05); }
.route-node__dot {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--crema); border: 1.5px solid var(--linea-fuerte); color: var(--verde-800);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.route-node__dot svg { width: 26px; height: 26px; }
.route-node a:hover .route-node__dot { background: var(--verde-800); border-color: var(--verde-800); color: #fff; transform: translateY(-3px); }
.route-node__num { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; color: var(--caqui-600); }
.route-node__name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--azul-900); line-height: 1.1; }
.route-node__desc { font-size: 0.8rem; color: var(--tinta-3); line-height: 1.35; }
.route-node--end .route-node__dot { background: var(--azul-900); color: #fff; border-color: var(--azul-900); }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--verde-950);
  color: #fff;
  display: flex; flex-direction: column;
  padding: 18px 20px 28px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  clip-path: circle(0% at calc(100% - 44px) 46px);
  transition: clip-path 0.6s var(--ease), opacity 0.3s, visibility 0s linear 0.6s;
}
.mobile-menu.is-open {
  opacity: 1; visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 46px);
  transition: clip-path 0.7s var(--ease), opacity 0.2s, visibility 0s;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(44, 135, 197, 0.18), transparent 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(200, 180, 139, 0.12), transparent 60%);
}
.mobile-menu > * { position: relative; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-menu .brand__name { color: #fff; }
.mobile-menu .brand__small { color: var(--caqui); }
.mobile-menu .icon-btn { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu__list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 2px;
  font-family: var(--serif); font-size: 1.62rem; font-weight: 500; letter-spacing: -0.01em;
  color: #fff;
  transform: translateY(14px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.2s;
}
.mobile-menu.is-open .mobile-menu__list a { transform: none; opacity: 1; }
.mobile-menu__list a .n { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; color: var(--caqui); min-width: 22px; }
.mobile-menu__list a[aria-current="page"] { color: var(--caqui); }
.mobile-menu__sub {
  list-style: none; margin: -4px 0 10px 36px; padding: 0 0 0 16px;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.22);
  display: grid; gap: 0;
}
.mobile-menu__sub a { font-size: 1.15rem; padding: 7px 0; color: rgba(255, 255, 255, 0.82); }
.mobile-menu__bottom { margin-top: auto; padding-top: 28px; display: grid; gap: 16px; }
.mobile-menu__bottom .btn { width: 100%; }
.mobile-menu__social { display: flex; gap: 10px; justify-content: center; }
.mobile-menu__tag { text-align: center; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* Overlay genérico */
.scrim {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10, 31, 51, 0.18);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s;
}
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }

@media (max-width: 1240px) {
  .nav__link { padding: 0 11px; font-size: 0.9rem; }
}
@media (max-width: 1140px) {
  .nav, .header-actions .btn-contact-label { display: none; }
  .menu-toggle { display: grid; }
  .route-panel { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 62px; }
  .site-header { top: 10px; }
  .site-header__bar { padding: 0 8px 0 14px; gap: 10px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 0.98rem; letter-spacing: 0.2em; }
  .brand__small { font-size: 0.5rem; }
  .header-actions .btn { display: none; }
  .icon-btn { width: 42px; height: 42px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 4px; }
.hero h1 .accent { display: inline; }
.hero .lead { margin-top: 26px; }
.hero .btn-row { margin-top: 36px; }
.hero__tagline {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--tinta-3);
}
.hero__tagline i { width: 5px; height: 5px; border-radius: 50%; background: var(--caqui); display: inline-block; }

.hero__media { position: relative; }
.hero__img {
  position: relative; overflow: hidden;
  height: min(76vh, 700px); min-height: 460px;
  border-radius: 320px 30px 30px 30px;
  box-shadow: var(--sombra-lg);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 2.4s var(--ease); }
.is-ready .hero__img img { transform: scale(1); }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 51, 0.35));
}
.hero__card {
  position: absolute; z-index: 2; right: -14px; bottom: 36px;
  background: var(--azul-900); color: #fff;
  border-radius: 22px; padding: 22px 26px 22px 24px;
  box-shadow: var(--sombra-lg);
  display: flex; gap: 18px; align-items: stretch;
}
.hero__card::before { content: ""; width: 1.5px; background: var(--hoja-clara); opacity: 0.7; }
.hero__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.hero__card li { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.hero__badge {
  position: absolute; z-index: 2; left: -26px; top: 46px;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--crema); box-shadow: var(--sombra);
  display: grid; place-items: center;
}
.hero__badge svg.spin { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 28s linear infinite; }
.hero__badge .badge-leaf { width: 40px; height: 40px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__badge svg.spin { animation: none; } }

.hero__leaf {
  position: absolute; pointer-events: none; z-index: 0;
  color: var(--verde-100); width: 380px; height: 380px;
  left: -190px; top: 150px; opacity: 0.55; transform: rotate(-24deg);
}

/* Hero interior (páginas) */
.page-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero .hero__img { height: min(66vh, 600px); min-height: 420px; border-radius: 30px 30px 30px 260px; }
.page-hero .hero__img--right { border-radius: 260px 30px 30px 30px; }
.hero__quote {
  position: absolute; z-index: 3; right: 28px; top: 28px; max-width: 280px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.35rem; line-height: 1.25; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero__quote::after {
  content: ""; display: block; width: 54px; height: 1.5px; background: rgba(255, 255, 255, 0.7); margin-top: 16px;
}
.page-hero .hero__img::after { background: linear-gradient(200deg, rgba(10, 31, 51, 0.55), transparent 50%); }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__media { order: -1; margin: 0 calc(var(--gutter) * -1); }
  .hero__img, .page-hero .hero__img, .page-hero .hero__img--right {
    height: 62vh; min-height: 340px; max-height: 520px;
    border-radius: 0 0 0 140px; box-shadow: none;
  }
  .hero__content {
    margin-top: -64px; background: var(--crema);
    border-radius: 30px 30px 0 0; padding: 34px 2px 0;
  }
  .hero__content::before {
    content: ""; position: absolute; top: 12px; left: 50%; width: 44px; height: 4px; margin-left: -22px;
    border-radius: 4px; background: var(--beige);
  }
  .hero__card { right: var(--gutter); bottom: 86px; padding: 16px 18px; }
  .hero__card li { font-size: 0.62rem; }
  .hero__badge { display: none; }
  .hero__quote { font-size: 1.1rem; right: var(--gutter); top: calc(var(--header-h) + 28px); max-width: 220px; }
  .hero__leaf { display: none; }
}
@media (max-width: 560px) {
  .hero .btn-row .btn { width: 100%; }
  .hero__card { display: none; }
}

/* ==========================================================================
   RESPUESTAS RÁPIDAS (home)
   ========================================================================== */
.answers {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
}
.answer { padding: 34px 28px 34px 0; display: grid; gap: 10px; align-content: start; }
.answer + .answer { padding-left: 28px; border-left: 1px solid var(--linea); }
.answer__q { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--verde-800); }
.answer__a { color: var(--tinta-2); font-size: 0.98rem; line-height: 1.5; }
.answer__a strong { color: var(--azul-900); }
@media (max-width: 900px) {
  .answers { grid-template-columns: 1fr 1fr; }
  .answer:nth-child(3) { padding-left: 0; border-left: 0; }
  .answer:nth-child(n+3) { border-top: 1px solid var(--linea); }
}
@media (max-width: 560px) {
  .answers { grid-template-columns: 1fr; }
  .answer, .answer + .answer { padding: 22px 0; border-left: 0; }
  .answer + .answer { border-top: 1px solid var(--linea); }
}

/* ==========================================================================
   DECLARACIÓN + PUENTE
   ========================================================================== */
.statement { position: relative; overflow: hidden; }
.statement::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(44, 135, 197, 0.16), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(200, 180, 139, 0.14), transparent 60%);
}
.statement .container { position: relative; }
.statement__quote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -0.02em;
  color: #fff; max-width: 18ch;
  font-variation-settings: "opsz" 120;
}
.statement__quote em { color: var(--caqui); font-style: italic; }
.statement__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement__text { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; max-width: 44ch; display: grid; gap: 18px; }
.statement__text strong { color: #fff; }

.bridge {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.bridge__item {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: #fff; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2);
}
.bridge__item--end { background: var(--caqui); color: var(--verde-950); border-color: var(--caqui); }
.bridge__plus { color: var(--caqui); font-weight: 400; font-size: 1.2rem; }
@media (max-width: 900px) {
  .statement__grid { grid-template-columns: 1fr; }
  .bridge { justify-content: flex-start; }
}

/* ==========================================================================
   OBJETIVOS
   ========================================================================== */
.objectives { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.objective {
  position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--linea); display: grid; grid-template-rows: auto 1fr;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.objective:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.objective__img { aspect-ratio: 16 / 9; overflow: hidden; }
.objective__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.objective:hover .objective__img img { transform: scale(1.04); }
.objective__body { padding: clamp(26px, 3vw, 40px); display: grid; gap: 16px; align-content: start; }
.objective__num {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--crema); color: var(--azul-900); box-shadow: var(--sombra);
}
.objective__label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.28em; color: var(--caqui-600); text-transform: uppercase; }
.objective h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.objective p { color: var(--tinta-2); }
@media (max-width: 860px) { .objectives { grid-template-columns: 1fr; } }

/* ==========================================================================
   RUTA (horizontal, home) y FLUJO (página ruta)
   ========================================================================== */
.route-track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative;
}
.route-track::before {
  content: ""; position: absolute; top: 40px; left: 8%; right: 8%;
  border-top: 1.5px dashed var(--linea-fuerte);
}
.route-step { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; }
.route-step__dot {
  width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  background: var(--crema); border: 1.5px solid var(--linea-fuerte); color: var(--verde-800);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.route-step__dot svg { width: 32px; height: 32px; }
.route-step:hover .route-step__dot { transform: translateY(-4px); background: var(--verde-800); color: #fff; border-color: var(--verde-800); }
.route-step--first .route-step__dot { background: var(--verde-800); color: #fff; border-color: var(--verde-800); }
.route-step--end .route-step__dot { background: var(--azul-900); color: #fff; border-color: var(--azul-900); }
.route-step__num { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.24em; color: var(--caqui-600); }
.route-step__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--azul-900); line-height: 1.1; }
.route-step__desc { font-size: 0.88rem; color: var(--tinta-3); line-height: 1.4; max-width: 18ch; }
@media (max-width: 900px) {
  .route-track { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .route-track::before { top: 20px; bottom: 20px; left: 40px; right: auto; border-top: 0; border-left: 1.5px dashed var(--linea-fuerte); }
  .route-step { grid-template-columns: 80px 1fr; justify-items: start; text-align: left; column-gap: 20px; row-gap: 2px; padding: 10px 0; }
  .route-step__dot { grid-row: span 3; }
  .route-step__num { align-self: end; }
  .route-step__desc { max-width: none; }
}

/* Página ruta: flujo vertical + tarjetas */
.flow { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.flow__diagram {
  position: sticky; top: calc(var(--header-h) + 48px);
  background: var(--verde-900); color: #fff; border-radius: var(--radius-lg);
  padding: 34px 30px; display: grid; justify-items: center; gap: 4px;
  overflow: hidden;
}
.flow__diagram::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 50% at 100% 0%, rgba(44, 135, 197, 0.22), transparent 70%);
}
.flow__diagram > * { position: relative; }
.flow__title { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.3em; color: var(--caqui); text-transform: uppercase; margin-bottom: 14px; }
.flow__node {
  width: 100%; text-align: center; padding: 13px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.flow__node.is-active { background: #fff; color: var(--verde-900); border-color: #fff; }
.flow__node--end { background: var(--caqui); color: var(--verde-950); border-color: var(--caqui); }
.flow__arrow { color: var(--caqui); line-height: 1; height: 26px; display: grid; place-items: center; }
.flow__arrow svg { width: 18px; height: 18px; }
.flow__note { margin-top: 18px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); text-align: center; line-height: 1.45; }

.flow__steps { display: grid; gap: 22px; }
.step-card {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: start;
  scroll-margin-top: calc(var(--header-h) + 40px);
  transition: border-color 0.3s, box-shadow 0.4s var(--ease);
}
.step-card.is-active { border-color: var(--verde-500); box-shadow: var(--sombra); }
.step-card .icon-badge { grid-row: span 3; }
.step-card__num { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.28em; color: var(--caqui-600); }
.step-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.step-card p { color: var(--tinta-2); max-width: 58ch; }
.step-card .link-arrow { margin-top: 8px; grid-column: 2; justify-self: start; }
.step-card--first { background: var(--verde-100); border-color: transparent; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow__diagram { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .step-card { grid-template-columns: 1fr; }
  .step-card .icon-badge { grid-row: auto; }
  .step-card .link-arrow { grid-column: 1; }
}

/* Diagrama de puntos de entrada */
.entry {
  display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr auto 1fr; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
}
.entry__box {
  border-radius: 16px; padding: 18px 16px; text-align: center;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--crema-2); color: var(--azul-900);
}
.entry__box--start { background: var(--verde-800); color: #fff; }
.entry__box--end { background: var(--azul-900); color: #fff; }
.entry__stack { display: grid; gap: 8px; }
.entry__stack .entry__box { background: var(--verde-100); color: var(--verde-900); padding: 14px; }
.entry__arrow { color: var(--caqui-600); display: grid; place-items: center; }
.entry__arrow svg { width: 22px; height: 22px; }
.entry__caption { grid-column: 1 / -1; text-align: center; color: var(--tinta-3); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 900px) {
  .entry { grid-template-columns: 1fr; justify-items: stretch; }
  .entry__arrow svg { transform: rotate(90deg); }
}

/* ==========================================================================
   ACCESOS (home)
   ========================================================================== */
.tiles {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  grid-template-areas:
    "emp mip emp2 emp2"
    "emp jov jov mar"
    "ali ali par mar";
}
.tile {
  position: relative; overflow: hidden; border-radius: 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff; isolation: isolate;
  background: var(--verde-900);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 31, 51, 0) 30%, rgba(10, 31, 51, 0.78) 100%);
  transition: background 0.4s;
}
.tile:hover img { transform: scale(1.06); }
.tile__kicker { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); margin-bottom: 6px; }
.tile__title { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; }
.tile__text { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); margin-top: 8px; max-width: 34ch; }
.tile__arrow {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s, transform 0.4s var(--ease), color 0.3s;
}
.tile__arrow svg { width: 18px; height: 18px; }
.tile:hover .tile__arrow { background: #fff; color: var(--azul-900); transform: rotate(-45deg); }
.tile--solid { background: var(--verde-800); }
.tile--solid::before { display: none; }
.tile--caqui { background: var(--caqui); color: var(--verde-950); }
.tile--caqui::before { display: none; }
.tile--caqui .tile__kicker, .tile--caqui .tile__text { color: rgba(15, 42, 26, 0.75); }
.tile--caqui .tile__arrow { background: rgba(15, 42, 26, 0.08); border-color: rgba(15, 42, 26, 0.2); }
.tile--emp { grid-area: emp; }
.tile--mip { grid-area: mip; }
.tile--empr { grid-area: emp2; }
.tile--jov { grid-area: jov; }
.tile--mar { grid-area: mar; }
.tile--ali { grid-area: ali; }
.tile--par { grid-area: par; }
@media (max-width: 980px) {
  .tiles {
    grid-template-columns: 1fr 1fr; grid-auto-rows: 230px;
    grid-template-areas: "emp mip" "emp empr" "jov jov" "mar ali" "par par";
  }
  .tile--empr { grid-area: empr; }
}
@media (max-width: 620px) {
  .tiles {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px;
    scrollbar-width: none;
  }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 78%; height: 380px; scroll-snap-align: start; }
}

/* ==========================================================================
   TARJETAS GENERALES
   ========================================================================== */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.card {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radius);
  padding: 30px 26px; display: grid; gap: 14px; align-content: start;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.card h3 { font-size: 1.32rem; }
.card p { color: var(--tinta-2); font-size: 0.98rem; }
.card--beige { background: #fbf6ec; border-color: rgba(138, 106, 69, 0.14); }
.card--verde { background: #f1f6ef; border-color: rgba(39, 95, 59, 0.12); }
.card--azul { background: #eff4f8; border-color: rgba(20, 56, 86, 0.1); }
.card--vino { background: #fbf1ee; border-color: rgba(122, 47, 42, 0.1); }
@media (max-width: 1000px) { .cards { --cols: 2 !important; } }
@media (max-width: 560px) {
  .cards--snap {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none;
  }
  .cards--snap::-webkit-scrollbar { display: none; }
  .cards--snap .card { flex: 0 0 80%; scroll-snap-align: start; }
  .cards:not(.cards--snap) { --cols: 1 !important; }
}

/* Lista de características */
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; list-style: none; padding: 0; margin: 0; }
.traits li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start;
  padding: 15px 0; border-bottom: 1px solid var(--linea); color: var(--tinta);
  font-size: 1rem; line-height: 1.45;
}
.traits li svg { width: 22px; height: 22px; color: var(--verde-700); margin-top: 1px; }
.traits--one { grid-template-columns: 1fr; }
@media (max-width: 700px) { .traits { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }

.panel-title {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px; border-radius: 999px; background: var(--verde-800); color: #fff;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 10px;
}

/* Nota importante */
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: var(--beige); border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 44px);
  border-left: 4px solid var(--caqui-600);
}
.note h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-bottom: 10px; color: var(--cafe); }
.note p { color: var(--tinta-2); max-width: 70ch; }
.note p + p { margin-top: 10px; }
.note .icon-badge { background: rgba(255, 255, 255, 0.6); color: var(--cafe); }
@media (max-width: 560px) { .note { grid-template-columns: 1fr; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--linea); font-weight: 600; font-size: 0.95rem; color: var(--tinta);
}
.chip svg { width: 18px; height: 18px; color: var(--verde-700); }
.section--verde .chip, .section--azul .chip { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.section--verde .chip svg, .section--azul .chip svg { color: var(--caqui); }

/* Tarjetas de "también puede ser" */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kind {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--linea);
  font-weight: 600;
}
.kind .icon-badge { width: 48px; height: 48px; }
.kind .icon-badge svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .kinds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kinds { grid-template-columns: 1fr; } }

/* ==========================================================================
   FRANJA "ESTÁS AQUÍ"
   ========================================================================== */
.you-are-here { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: var(--crema); }
.you-are-here__inner { display: flex; align-items: center; gap: 22px; padding: 18px 0; overflow-x: auto; scrollbar-width: none; }
.you-are-here__inner::-webkit-scrollbar { display: none; }
.you-are-here__label { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--caqui-600); flex: none; }
.yah-list { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; flex: none; }
.yah-list li { display: flex; align-items: center; gap: 8px; }
.yah-list li + li::before { content: ""; width: 22px; height: 0; border-top: 1.5px dashed var(--linea-fuerte); }
.yah-list a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; color: var(--tinta-3);
  border: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.yah-list a:hover { color: var(--azul-900); border-color: var(--linea); }
.yah-list a[aria-current="step"] { background: var(--verde-800); color: #fff; }
.yah-list a[aria-current="step"]::after {
  content: "Estás aquí"; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   BANDA CTA (¿Te reconoces?)
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--azul-900); color: #fff;
  display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px;
}
.cta-band__body { padding: clamp(32px, 5vw, 64px); display: grid; gap: 18px; align-content: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 46ch; font-size: 1.05rem; }
.cta-band .btn-row { margin-top: 10px; }
.cta-band__media { position: relative; }
.cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--azul-900) 0%, rgba(13, 42, 69, 0) 40%);
}
.cta-band--verde { background: var(--verde-900); }
.cta-band--verde .cta-band__media::before { background: linear-gradient(90deg, var(--verde-900) 0%, rgba(23, 61, 38, 0) 40%); }
.cta-band .eyebrow { color: var(--caqui); }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__media { height: 240px; order: -1; }
  .cta-band__media::before { background: linear-gradient(0deg, var(--azul-900) 0%, rgba(13, 42, 69, 0) 60%); }
  .cta-band--verde .cta-band__media::before { background: linear-gradient(0deg, var(--verde-900) 0%, rgba(23, 61, 38, 0) 60%); }
}
@media (max-width: 560px) { .cta-band .btn-row .btn { width: 100%; } }

/* ==========================================================================
   CONCEPTO FINAL
   ========================================================================== */
.concept { text-align: center; }
.concept__big {
  font-family: var(--serif); font-weight: 400; color: var(--azul-900);
  font-size: clamp(2.1rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em;
  max-width: 20ch; margin: 0 auto;
  font-variation-settings: "opsz" 144;
}
.concept__big em { color: var(--verde-800); }
.connects {
  margin: clamp(48px, 6vw, 72px) auto 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  list-style: none; padding: 0; text-align: left;
  border-top: 1px solid var(--linea);
}
.connects li {
  padding: 22px 20px; border-bottom: 1px solid var(--linea);
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  color: var(--tinta-2); font-size: 0.98rem;
}
.connects li:not(:nth-child(3n)) { border-right: 1px solid var(--linea); }
.connects li strong { color: var(--azul-900); font-weight: 700; display: block; }
.connects svg { width: 20px; height: 20px; color: var(--verde-700); margin-top: 2px; }
@media (max-width: 860px) {
  .connects { grid-template-columns: 1fr 1fr; }
  .connects li:not(:nth-child(3n)) { border-right: 0; }
  .connects li:nth-child(odd) { border-right: 1px solid var(--linea); }
}
@media (max-width: 560px) {
  .connects { grid-template-columns: 1fr; }
  .connects li:nth-child(odd) { border-right: 0; }
}
.signature { margin-top: clamp(48px, 6vw, 72px); display: grid; justify-items: center; gap: 10px; }
.signature__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--verde-800); }
.signature__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; color: var(--tinta-3); }

/* ==========================================================================
   JÓVENES — perfiles
   ========================================================================== */
.profiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.profile {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--linea); border-radius: 16px; font-weight: 600; font-size: 0.97rem;
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.profile:hover { border-color: var(--verde-500); transform: translateY(-2px); }
.profile svg { width: 22px; height: 22px; color: var(--verde-700); flex: none; }
@media (max-width: 1000px) { .profiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .profiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .profiles { grid-template-columns: 1fr; } }

.req {
  background: var(--verde-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
  display: grid; gap: 16px;
}
.req h3 { color: #fff; }
.req p { color: rgba(255, 255, 255, 0.8); }
.req .traits li { border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.req .traits li svg { color: var(--caqui); }

/* ==========================================================================
   MARCAS — vitrina
   ========================================================================== */
.filters {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 18px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--linea-fuerte); background: #fff; color: var(--tinta-2);
  font-weight: 700; font-size: 0.9rem; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter svg { width: 18px; height: 18px; }
.filter:hover { border-color: var(--verde-700); color: var(--verde-900); }
.filter[aria-pressed="true"] { background: var(--verde-800); border-color: var(--verde-800); color: #fff; }

.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.brand-card {
  position: relative; background: #fff; border: 1px solid var(--linea); border-radius: 22px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.brand-card__img { aspect-ratio: 4 / 3; background: var(--beige); overflow: hidden; }
.brand-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.brand-card:hover .brand-card__img img { transform: scale(1.05); }
.brand-card__logo {
  position: absolute; left: 50%; top: calc(75% * 0 + 0px);
  width: 78px; height: 78px; border-radius: 50%; background: #fff; box-shadow: var(--sombra);
  display: grid; place-items: center; overflow: hidden;
  transform: translate(-50%, -50%);
}
.brand-card__body { position: relative; padding: 50px 22px 22px; display: grid; gap: 8px; align-content: start; text-align: center; }
.brand-card__body .brand-card__logo { top: 0; }
.brand-card__logo img { width: 80%; height: 80%; object-fit: contain; }
.brand-card__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--azul-900); line-height: 1.1; }
.brand-card__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 0.82rem; color: var(--tinta-3); }
.brand-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.brand-card__meta svg { width: 14px; height: 14px; }
.brand-card__cat { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--caqui-600); }
.brand-card__desc { font-size: 0.93rem; color: var(--tinta-2); }
.brand-card .btn { margin-top: 8px; justify-self: center; }
.brand-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 9px; border-radius: 999px;
  background: var(--azul-900); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
}
.brand-badge svg { width: 16px; height: 16px; color: var(--hoja-clara); }

.brand-card--ghost {
  border: 1.5px dashed var(--linea-fuerte); background: transparent;
  display: grid; place-items: center; text-align: center; padding: 40px 26px; min-height: 420px;
  grid-template-rows: none;
}
.brand-card--ghost:hover { box-shadow: none; border-color: var(--verde-700); }
.brand-card--ghost .icon-badge { margin: 0 auto 16px; }

.empty-state {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--linea);
}
.empty-state__body { padding: clamp(28px, 4vw, 52px); display: grid; gap: 16px; align-content: center; }
.empty-state__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.empty-state__body p { color: var(--tinta-2); }
.empty-state__media { position: relative; min-height: 280px; }
.empty-state__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .empty-state { grid-template-columns: 1fr; } .empty-state__media { order: -1; min-height: 200px; } }

.legend[hidden] { display: none; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--tinta-3); font-size: 0.92rem; margin-top: 26px; }
.legend .brand-badge { position: static; }

/* Collage hero marcas */
.collage { position: relative; height: min(66vh, 600px); min-height: 440px; }
.collage__img { position: absolute; overflow: hidden; box-shadow: var(--sombra-lg); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--a { inset: 0 28% 22% 0; border-radius: 240px 28px 28px 28px; }
.collage__img--b { right: 0; top: 10%; width: 40%; height: 46%; border-radius: 28px; }
.collage__img--c { right: 6%; bottom: 0; width: 52%; height: 40%; border-radius: 28px 28px 28px 140px; border: 8px solid var(--crema); }
@media (max-width: 900px) {
  .collage { margin: 0 calc(var(--gutter) * -1); height: 62vh; min-height: 340px; max-height: 520px; }
  .collage__img--a { inset: 0; border-radius: 0 0 0 140px; box-shadow: none; }
  .collage__img--b, .collage__img--c { display: none; }
}

/* Modal (marcas / búsqueda) */
.modal {
  position: fixed; inset: 0; z-index: 140;
  display: grid; place-items: center; padding: 20px;
  background: rgba(10, 31, 51, 0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s, visibility 0s; }
.modal__dialog {
  position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--crema); border-radius: var(--radius-lg); box-shadow: var(--sombra-lg);
  transform: translateY(14px) scale(0.98); transition: transform 0.4s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(250, 247, 240, 0.9); }
.brand-detail { display: grid; grid-template-columns: 1fr 1fr; }
.brand-detail__img { min-height: 320px; position: relative; }
.brand-detail__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-detail__body { padding: 40px 34px; display: grid; gap: 14px; align-content: start; }
.brand-detail__body h3 { font-size: 2rem; }
.brand-detail__body p { color: var(--tinta-2); }
@media (max-width: 700px) { .brand-detail { grid-template-columns: 1fr; } .brand-detail__img { min-height: 220px; } }

/* Búsqueda */
.search-modal { align-items: start; padding-top: min(14vh, 120px); }
.search-box { width: min(680px, 100%); }
.search-box__field {
  display: flex; align-items: center; gap: 14px; padding: 0 22px; height: 70px;
  border-bottom: 1px solid var(--linea);
}
.search-box__field svg { width: 22px; height: 22px; color: var(--verde-800); flex: none; }
.search-box__field input {
  flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.15rem; color: var(--tinta); outline: none; min-width: 0;
}
.search-box__field kbd {
  font-family: var(--sans); font-size: 0.72rem; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--linea-fuerte); color: var(--tinta-3);
}
.search-results { list-style: none; margin: 0; padding: 10px; max-height: 56vh; overflow: auto; }
.search-results a {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 14px;
}
.search-results a:hover, .search-results a:focus-visible, .search-results a.is-hl { background: #fff; outline: none; }
.search-results .icon-badge { width: 40px; height: 40px; }
.search-results .icon-badge svg { width: 18px; height: 18px; }
.search-results strong { display: block; color: var(--azul-900); font-weight: 700; }
.search-results small { color: var(--tinta-3); font-size: 0.86rem; }
.search-results .arr { width: 18px; height: 18px; color: var(--tinta-3); }
.search-empty { padding: 26px 24px 30px; color: var(--tinta-3); }

/* ==========================================================================
   ALIADOS
   ========================================================================== */
.allies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ally {
  position: relative; background: #fff; border: 1px solid var(--linea); border-radius: 24px; overflow: hidden;
  display: grid; grid-template-rows: 180px 1fr; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ally:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.ally__img { overflow: hidden; }
.ally__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ally:hover .ally__img img { transform: scale(1.06); }
.ally__body { position: relative; padding: 46px 24px 26px; display: grid; gap: 10px; align-content: start; }
.ally__body .icon-badge { position: absolute; top: -32px; left: 24px; box-shadow: 0 0 0 6px #fff; }
.ally__num { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.24em; color: var(--caqui-600); }
.ally h3 { font-size: 1.32rem; }
.ally p { color: var(--tinta-2); font-size: 0.95rem; }
.ally .link-arrow { margin-top: 6px; }
@media (max-width: 1080px) { .allies { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .allies { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .allies::-webkit-scrollbar { display: none; }
  .ally { flex: 0 0 82%; scroll-snap-align: start; }
}

.teaser { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 40px; }
.teaser__item { padding: 26px 22px 6px 0; display: grid; gap: 10px; }
.teaser__item + .teaser__item { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.teaser__item svg { width: 30px; height: 30px; color: var(--caqui); }
.teaser__item span { font-family: var(--serif); font-size: 1.2rem; color: #fff; line-height: 1.15; }
@media (max-width: 760px) {
  .teaser { grid-template-columns: 1fr 1fr; }
  .teaser__item:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   PARTICIPA
   ========================================================================== */
.paths { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.path {
  grid-column: span 2;
  position: relative; display: grid; gap: 16px; align-content: start;
  padding: 34px 30px 30px; border-radius: 26px; background: #fff; border: 1px solid var(--linea);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.path:nth-child(4), .path:nth-child(5) { grid-column: span 3; }
.path:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); border-color: transparent; }
.path__num { position: absolute; top: 26px; right: 28px; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--crema-2); font-weight: 600; }
.path__who { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--verde-800); }
.path h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-style: italic; font-weight: 400; }
.path .btn { justify-self: start; margin-top: 8px; }
.path--azul { background: var(--azul-900); color: #fff; border-color: transparent; }
.path--azul h3 { color: #fff; }
.path--azul .path__who { color: var(--caqui); }
.path--azul .path__num { color: rgba(255, 255, 255, 0.08); }
.path--azul .icon-badge { background: rgba(255, 255, 255, 0.1); color: #fff; }
.path--verde { background: var(--verde-900); color: #fff; border-color: transparent; }
.path--verde h3 { color: #fff; }
.path--verde .path__who { color: var(--caqui); }
.path--verde .path__num { color: rgba(255, 255, 255, 0.08); }
.path--verde .icon-badge { background: rgba(255, 255, 255, 0.1); color: #fff; }
@media (max-width: 1000px) {
  .paths { grid-template-columns: 1fr 1fr; }
  .path, .path:nth-child(4), .path:nth-child(5) { grid-column: span 1; }
  .path:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .paths { grid-template-columns: 1fr; }
  .path:nth-child(5) { grid-column: auto; }
}

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */
.form-shell { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tabs {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--linea);
  overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; width: max-content; max-width: 100%;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; border: 0; background: transparent; padding: 0 18px; min-height: 44px; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem; color: var(--tinta-3); display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, color 0.2s;
}
.tab svg { width: 17px; height: 17px; }
.tab:hover { color: var(--azul-900); }
.tab[aria-selected="true"] { background: var(--verde-800); color: #fff; }

.form-card { background: #fff; border: 1px solid var(--linea); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.form-card__head { display: grid; gap: 10px; margin-bottom: 30px; }
.form-card__head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.form-card__head p { color: var(--tinta-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 700; font-size: 0.9rem; color: var(--azul-900); }
.field label .opt { font-weight: 500; color: var(--tinta-3); font-size: 0.82rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tinta);
  background: var(--crema); border: 1.5px solid transparent; border-radius: 14px;
  padding: 14px 16px; min-height: 52px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23275f3b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--linea-fuerte); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--verde-700); background: #fff; box-shadow: 0 0 0 4px rgba(39, 95, 59, 0.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--vino); background: #fff; }
.field__error { color: var(--vino); font-size: 0.84rem; font-weight: 600; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { color: var(--tinta-3); font-size: 0.84rem; }

.file-drop {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 20px; border: 1.5px dashed var(--linea-fuerte); border-radius: 16px; background: var(--crema);
  transition: border-color 0.2s, background 0.2s;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--verde-700); background: #fff; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop strong { color: var(--azul-900); display: block; }
.file-drop small { color: var(--tinta-3); }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.9rem; color: var(--tinta-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--verde-800); }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linea); }
.form-actions .muted { font-size: 0.88rem; }

.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-visible { display: grid; gap: 14px; justify-items: center; }
.form-success .icon-badge { width: 84px; height: 84px; }
.form-success .icon-badge svg { width: 38px; height: 38px; }

.form-aside { position: sticky; top: calc(var(--header-h) + 44px); display: grid; gap: 16px; }
.aside-card { border-radius: var(--radius); padding: 28px 26px; background: var(--verde-900); color: #fff; display: grid; gap: 16px; }
.aside-card h3 { color: #fff; font-size: 1.4rem; }
.aside-card ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: s; }
.aside-card li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: rgba(255, 255, 255, 0.84); font-size: 0.95rem; }
.aside-card li::before {
  content: counter(s, decimal-leading-zero); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: var(--caqui);
  padding-top: 3px;
}
.aside-card--light { background: #fff; color: var(--tinta); border: 1px solid var(--linea); }
.aside-card--light h3 { color: var(--azul-900); }
.aside-card--light p { color: var(--tinta-2); font-size: 0.95rem; }
@media (max-width: 980px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; }
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .tabs { border-radius: 20px; width: auto; }
}

/* ==========================================================================
   CONTACTO + FOOTER
   ========================================================================== */
.contact-band { position: relative; padding: clamp(64px, 8vw, 110px) 0; background: var(--crema-2); overflow: hidden; }
.contact-band__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.contact-band h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.contact-band p { color: var(--tinta-2); margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.contact-band p svg { width: 18px; height: 18px; color: var(--verde-700); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.contact-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 999px; background: #fff; border: 1px solid var(--linea); font-weight: 700; color: var(--azul-900);
  transition: transform 0.35s var(--ease), border-color 0.2s, background 0.2s, color 0.2s;
}
.contact-link svg { width: 20px; height: 20px; }
.contact-link:hover { transform: translateY(-2px); border-color: var(--azul-900); }
.contact-link--wa { background: var(--verde-800); color: #fff; border-color: var(--verde-800); }
.contact-link--wa:hover { border-color: var(--verde-800); }
.contact-link.is-pending { opacity: 0.55; }
@media (max-width: 860px) {
  .contact-band__grid { grid-template-columns: 1fr; }
  .contact-links { justify-content: flex-start; }
}
@media (max-width: 480px) { .contact-link { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 0 14px; } }

.site-footer { background: var(--azul-950); color: rgba(255, 255, 255, 0.72); padding: clamp(56px, 7vw, 88px) 0 28px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 100% 0%, rgba(44, 135, 197, 0.12), transparent 60%);
}
.site-footer .container { position: relative; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: clamp(40px, 6vw, 96px); padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand .brand__name { color: #fff; font-size: 1.3rem; }
.footer-brand .brand__small { color: var(--caqui); }
.footer-brand .brand__mark { width: 58px; height: 58px; }
.footer-quote { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: #fff; margin-top: 28px; line-height: 1.15; }
.footer-tag { margin-top: 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--caqui); }
.footer-social { display: flex; gap: 10px; margin-top: 28px; }
.social-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { background: #fff; color: var(--azul-950); border-color: #fff; }
.social-btn.is-pending { opacity: 0.45; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 { font-family: var(--sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase; color: var(--caqui); margin-bottom: 18px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-cols a { color: rgba(255, 255, 255, 0.78); font-size: 0.97rem; transition: color 0.2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 85; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px);
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 22px 0 8px; border-radius: 999px;
  background: var(--verde-800); color: #fff; font-weight: 800; font-size: 0.98rem;
  box-shadow: 0 18px 40px -16px rgba(15, 42, 26, 0.7);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.wa-float__icon { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--verde-800); display: grid; place-items: center; position: relative; }
.wa-float__icon svg { width: 24px; height: 24px; }
.wa-float__icon::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(0.9); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float__icon::after { animation: none; } }
.wa-float:hover { transform: translateY(-3px); }
@media (max-width: 560px) {
  .wa-float { height: 54px; padding: 0 18px 0 6px; font-size: 0.92rem; }
  .wa-float__icon { width: 42px; height: 42px; }
}

/* Créditos */
.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.credits li { padding: 16px 0; border-bottom: 1px solid var(--linea); display: grid; grid-template-columns: 220px 1fr; gap: 16px; font-size: 0.95rem; }
.credits li span:first-child { font-weight: 700; color: var(--azul-900); }
.credits a { color: var(--verde-800); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .credits li { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   ANIMACIONES DE ENTRADA
   ========================================================================== */
/* Se usa la propiedad `translate` (no `transform`) para no pisar los efectos
   hover de las tarjetas. Sin JavaScript todo queda visible. */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; translate: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; translate: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Utilidades */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.center { text-align: center; }
.stack { display: grid; gap: 18px; align-content: start; }
.img-round { border-radius: var(--radius-lg); overflow: hidden; }
.img-round img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.photo-credit { font-size: 0.72rem; color: var(--tinta-3); margin-top: 8px; }
.field__error[data-send-error]:not([hidden]) { display: block; margin-top: 16px; }
.field__error[data-send-error] .link-arrow { background: none; border: 0; padding: 0; color: var(--verde-800); font-size: inherit; }
.consent.has-error { color: var(--vino); }
@media (max-width: 900px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; gap: 14px; }
}
.req .eyebrow { color: var(--caqui); }

/* ==========================================================================
   MOVIMIENTO — capa de animación (todo se desactiva con "reducir movimiento")
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* Barra: se oculta al bajar y vuelve al subir */
  .site-header { transition: transform 0.5s var(--ease), top 0.35s var(--ease); }
  .site-header.is-hidden { transform: translateY(calc(-100% - 28px)); }

  /* Telón que descubre las fotos del hero */
  .js .hero__img, .js .collage__img--a {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.5s cubic-bezier(0.7, 0, 0.2, 1) 0.1s;
  }
  .is-ready .hero__img, .is-ready .collage__img--a { clip-path: inset(-80px -80px -80px -80px); }
  .js .collage__img--b, .js .collage__img--c, .js .hero__card, .js .hero__badge, .js .hero__quote {
    opacity: 0; translate: 0 18px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
  }
  .is-ready .collage__img--b, .is-ready .collage__img--c, .is-ready .hero__card, .is-ready .hero__badge, .is-ready .hero__quote { opacity: 1; translate: none; }
  .is-ready .collage__img--b { transition-delay: 0.9s; }
  .is-ready .collage__img--c, .is-ready .hero__card { transition-delay: 1.1s; }
  .is-ready .hero__badge, .is-ready .hero__quote { transition-delay: 1.3s; }

  /* Panel "La ruta": línea y nodos en secuencia */
  .route-nodes::before { transform: scaleX(0); transform-origin: left center; transition: transform 0.9s var(--ease) 0.1s; }
  .route-panel.is-open .route-nodes::before { transform: none; }
  .route-panel .route-node { opacity: 0; translate: 0 10px; transition: opacity 0.45s var(--ease), translate 0.5s var(--ease); }
  .route-panel.is-open .route-node { opacity: 1; translate: none; }
  .route-panel.is-open .route-node:nth-child(2) { transition-delay: 0.06s; }
  .route-panel.is-open .route-node:nth-child(3) { transition-delay: 0.12s; }
  .route-panel.is-open .route-node:nth-child(4) { transition-delay: 0.18s; }
  .route-panel.is-open .route-node:nth-child(5) { transition-delay: 0.24s; }
  .route-panel.is-open .route-node:nth-child(6) { transition-delay: 0.3s; }

  /* Ruta del inicio: la línea se dibuja y las etapas aparecen una a una */
  .js .route-track::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.6s var(--ease) 0.15s; }
  .js .route-track.is-in::before { transform: none; }
  .js .route-track .route-step { opacity: 0; translate: 0 18px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); }
  .js .route-track.is-in .route-step { opacity: 1; translate: none; }
  .route-track.is-in .route-step:nth-child(2) { transition-delay: 0.15s; }
  .route-track.is-in .route-step:nth-child(3) { transition-delay: 0.3s; }
  .route-track.is-in .route-step:nth-child(4) { transition-delay: 0.45s; }
  .route-track.is-in .route-step:nth-child(5) { transition-delay: 0.6s; }
  .route-track.is-in .route-step:nth-child(6) { transition-delay: 0.75s; }
  @media (max-width: 900px) {
    .js .route-track::before { transform: scaleY(0); transform-origin: center top; }
  }

  /* Diagrama de la ruta: el nodo activo late suavemente */
  .flow__node.is-active { animation: nodePulse 2.4s var(--ease) infinite; }
  @keyframes nodePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); } 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }

  /* Transición suave entre páginas (navegadores compatibles) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut 0.25s ease both; }
  ::view-transition-new(root) { animation: vtIn 0.5s var(--ease) both; }
  .site-header { view-transition-name: rs-header; }
  .wa-float { view-transition-name: rs-wa; }
  @keyframes vtOut { to { opacity: 0; } }
  @keyframes vtIn { from { opacity: 0; translate: 0 12px; } }
}

/* Trazo bajo una palabra del titular */
.scribble { position: relative; white-space: nowrap; }
.scribble svg {
  position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.24em; overflow: visible;
  fill: none; stroke: var(--caqui); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .js .scribble svg { stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s var(--ease) 1s; }
  .is-ready .scribble svg { stroke-dashoffset: 0; }
}

/* Antispam: campo trampa invisible para personas */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* El scrim del panel es más sutil */
.scrim { background: rgba(10, 31, 51, 0.12); }

/* Indicador de envío */
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.btn[disabled] { opacity: 0.8; cursor: progress; transform: none; box-shadow: none; }

/* Tarjetas de marca: entrada escalonada al cargar o filtrar */
@media (prefers-reduced-motion: no-preference) {
  .brand-card--in { animation: cardIn 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
  @keyframes cardIn { from { opacity: 0; translate: 0 18px; } }
  .form-success.is-visible { animation: cardIn 0.6s var(--ease) both; }
  .form-success.is-visible .icon-badge { animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both; }
  @keyframes pop { from { transform: scale(0.4); opacity: 0; } }
  .form-card:not([hidden]) { animation: cardIn 0.5s var(--ease) both; }
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--vino); }

/* Móvil: la foto del hero llega hasta el borde superior y la barra flota encima */
@media (max-width: 900px) {
  .hero:has(.hero__media) { padding-top: 0; }
  .hero:has(.hero__media) .hero__img,
  .hero:has(.hero__media) .collage { height: 66vh; max-height: 580px; }
}

/* Respaldo de "pegar en WhatsApp" en la confirmación del formulario */
.paste-box { width: 100%; max-width: 560px; display: grid; gap: 12px; text-align: left; margin: 6px 0 4px; }
.paste-box textarea {
  width: 100%; min-height: 150px; resize: vertical; font: inherit; font-size: 0.88rem; line-height: 1.5;
  color: var(--tinta-2); background: var(--crema); border: 1.5px dashed var(--linea-fuerte); border-radius: 14px; padding: 14px 16px;
}
.paste-box .btn-row { justify-content: center; }

.is-unset { display: none !important; }
