/* =============================================================
   ELION SUMMIT — styles.css
   Editorial · cream + navy + gold. Brand Manual v2.0 (2026).
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand palette (from Manual de Marca) */
  --navy:        #1F3A5F;   /* Azul Corporativo */
  --navy-mid:    #2D5F94;   /* Azul Medio */
  --navy-900:    #16273D;   /* deepened navy */
  --navy-700:    #1A314F;
  --gold:        #C9A961;   /* Dorado */
  --gold-deep:   #A98B4A;
  --gold-soft:   #D8BE83;
  --paper:       #F4F1EB;   /* Beige Paper */
  --paper-warm:  #EFE9DC;   /* Paper Warm */
  --paper-bright:#FBF9F3;
  --cream:       #FAF7EF;   /* text on dark, never pure white */
  --ink:         #2C2C2C;   /* Gris Char */
  --ink-soft:    #44464B;
  --ink-mute:    #6E7178;

  /* Semantic */
  --bg:   var(--paper);
  --line: rgba(31, 58, 95, 0.14);
  --line-gold: rgba(201, 169, 97, 0.38);
  --line-light: rgba(250, 247, 239, 0.16);

  /* Type */
  --serif-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --serif-title:   "Cormorant Garamond", Georgia, serif;
  --sans:          "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

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

  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -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; }
::selection { background: var(--gold); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--navy); color: var(--cream);
  border-radius: 8px; font-weight: 500; font-size: .9rem;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Typography helpers
   ============================================================= */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--gold  { color: var(--gold); }

.section-title {
  font-family: var(--serif-title);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--navy);
  text-wrap: balance;
  max-width: 18ch;
}
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--gold); }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: 0.01em;
  padding: .95rem 1.7rem;
  border-radius: 2px;
  transition: transform .5s var(--ease-out), background-color .35s var(--ease-out),
              color .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.btn svg { flex: none; }
.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 10px 30px -14px rgba(201, 169, 97, 0.7);
}
.btn-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(201, 169, 97, 0.85);
}
.btn-ghost-light {
  border: 1px solid rgba(250, 247, 239, 0.4);
  color: var(--cream);
}
.btn-ghost-light:hover {
  border-color: var(--cream);
  background: rgba(250, 247, 239, 0.07);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--navy-900);
  animation: splashSafety .01s 4.5s forwards;   /* CSS safety net */
}
.splash-mark { text-align: center; opacity: 0; animation: splashIn .9s .15s var(--ease-out) forwards; }
.splash-mark img { margin: 0 auto .9rem; width: 56px; height: auto; }
.splash-word {
  font-family: var(--serif-title); font-weight: 500; letter-spacing: 0.42em;
  font-size: 1.05rem; color: var(--cream); padding-left: 0.42em;
}
.splash-word em { color: var(--gold); font-style: italic; letter-spacing: 0.3em; }
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); transition: opacity .7s var(--ease-out), clip-path .8s var(--ease-out); }
@keyframes splashIn { to { opacity: 1; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.js .splash { display: grid; }
.no-js .splash { display: none; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--container); margin-inline: auto; height: 100%;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: inline-flex; align-items: center; gap: .65rem; }
.nav-logo { width: 32px; height: auto; }
.nav-logo--light { display: none; }   /* color symbol: only when nav is solid (cream) */
.nav-logo--dark  { display: block; }  /* white symbol: at top, over the dark hero */
.nav-brand-text {
  font-family: var(--serif-title); font-weight: 600;
  font-size: 1.15rem; letter-spacing: 0.12em; color: var(--cream);
  transition: color .45s var(--ease-out);
}
.nav-brand-text span { color: var(--gold-soft); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links > a {
  font-size: .9rem; font-weight: 500; color: var(--cream);
  position: relative; padding: .3rem 0;
  transition: color .35s var(--ease-out);
}
.nav-links > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .4s var(--ease-out);
}
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  border: 1px solid rgba(250,247,239,0.4); border-radius: 2px;
  padding: .6rem 1.2rem !important;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), color .35s var(--ease-out);
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

/* Scrolled state → solid cream */
.nav.is-solid {
  background: rgba(250, 247, 239, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(31, 58, 95, 0.5);
}
.nav.is-solid .nav-brand-text { color: var(--navy); }
.nav.is-solid .nav-brand-text span { color: var(--gold-deep); }
.nav.is-solid .nav-logo--light { display: block; }
.nav.is-solid .nav-logo--dark { display: none; }
.nav.is-solid .nav-links > a { color: var(--ink); }
.nav.is-solid .nav-cta { border-color: var(--line); }
.nav.is-solid .nav-cta:hover { color: var(--navy-900); border-color: var(--gold); }

/* Nav toggle (mobile) */
.nav-toggle { display: none; width: 42px; height: 42px; position: relative; }
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--cream);
  transition: transform .4s var(--ease-out), opacity .3s var(--ease-out), background-color .4s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav.is-solid .nav-toggle span { background: var(--navy); }
body.menu-open .nav-toggle span { background: var(--cream); }
body.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Menu-open: keep a deterministic clean nav bar (cream) atop the navy overlay */
body.menu-open .nav {
  background: rgba(250, 247, 239, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
body.menu-open .nav .nav-brand-text { color: var(--navy); }
body.menu-open .nav .nav-brand-text span { color: var(--gold-deep); }
body.menu-open .nav .nav-logo--light { display: block; }
body.menu-open .nav .nav-logo--dark { display: none; }
body.menu-open .nav-toggle span { background: var(--navy); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-out), visibility .5s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.mobile-menu a {
  font-family: var(--serif-title); font-size: 1.7rem; color: var(--cream); font-weight: 500;
  opacity: 0; transform: translateY(14px);
}
body.menu-open .mobile-menu a { animation: menuIn .5s var(--ease-out) forwards; }
body.menu-open .mobile-menu a:nth-child(1) { animation-delay: .08s; }
body.menu-open .mobile-menu a:nth-child(2) { animation-delay: .14s; }
body.menu-open .mobile-menu a:nth-child(3) { animation-delay: .20s; }
body.menu-open .mobile-menu a:nth-child(4) { animation-delay: .26s; }
body.menu-open .mobile-menu a:nth-child(5) { animation-delay: .32s; }
body.menu-open .mobile-menu a:nth-child(6) { animation-delay: .40s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.mobile-cta { color: var(--gold) !important; font-style: italic; }

/* =============================================================
   7. Reveal animation
   ============================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,39,61,0.62) 0%, rgba(22,39,61,0.28) 32%, rgba(22,39,61,0.42) 70%, rgba(22,39,61,0.86) 100%),
    linear-gradient(95deg, rgba(22,39,61,0.55) 0%, rgba(22,39,61,0.12) 55%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3rem, 9vh, 7rem); }
.hero-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--cream);
  text-wrap: balance;
  max-width: 17ch;
  text-shadow: 0 2px 30px rgba(10, 20, 35, 0.4);
}
.hero-title em { font-style: italic; color: var(--gold-soft); }
.hero-sub {
  margin-top: 1.6rem; max-width: 46ch;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(250, 247, 239, 0.86);
  line-height: 1.7;
}
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-size: .68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(250, 247, 239, 0.72);
}
.hero-scroll svg { animation: bob 2.4s var(--ease-soft) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* =============================================================
   9. Marquee
   ============================================================= */
.marquee {
  background: var(--navy);
  border-block: 1px solid var(--navy-700);
  overflow: hidden; padding-block: 1.1rem;
}
.marquee-track {
  display: flex; align-items: center; gap: 2.2rem; width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--serif-title); font-style: italic; font-weight: 500;
  font-size: 1.15rem; color: var(--cream); white-space: nowrap;
}
.marquee-dot { color: var(--gold); font-style: normal; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   10. About
   ============================================================= */
.about { padding-block: var(--section-y); }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about-body { margin-top: 1.8rem; display: grid; gap: 1.1rem; color: var(--ink-soft); max-width: 54ch; }
.about-body p { font-size: 1.04rem; }
.about-lead {
  font-family: var(--serif-title); font-style: italic; font-weight: 500;
  font-size: 1.45rem !important; line-height: 1.4; color: var(--navy);
  padding-top: .4rem;
}
.about-figure { position: relative; }
.about-figure img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px;
  box-shadow: 0 40px 80px -40px rgba(31, 58, 95, 0.5);
}
.about-figure figcaption {
  margin-top: 1rem; font-family: var(--serif-title); font-style: italic;
  font-size: 1.1rem; color: var(--gold-deep); text-align: right;
}

/* =============================================================
   11. Purpose / Mission / Vision
   ============================================================= */
.purpose { padding-block: var(--section-y); background: var(--paper-warm); }
.purpose .section-title { margin-bottom: clamp(2.5rem, 5vw, 3.6rem); max-width: 22ch; }
.purpose-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.purpose-card {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.purpose-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(31,58,95,0.45); }
.purpose-label {
  display: block; font-size: .72rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep); margin-bottom: 1rem;
}
.purpose-card p { color: var(--ink-soft); font-size: 1rem; }

/* =============================================================
   12. Modules
   ============================================================= */
.modules { padding-block: var(--section-y); }
.modules-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }
.modules-intro { margin-top: 1.4rem; color: var(--ink-mute); font-size: 1.05rem; max-width: 54ch; }

.modules-list {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.module {
  border: 1px solid var(--line);
  background: var(--paper-bright);
  border-radius: 2px;
  transition: border-color .5s var(--ease-out), box-shadow .6s var(--ease-out), transform .6s var(--ease-out);
}
.module.is-open { border-color: var(--line-gold); box-shadow: 0 30px 70px -44px rgba(31, 58, 95, 0.5); }
.module:hover { border-color: var(--line-gold); }
.module-head {
  width: 100%; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.8rem);
  padding: clamp(1.2rem, 2.6vw, 1.9rem) clamp(1.2rem, 2.6vw, 2rem);
  text-align: left;
}
.module-icon {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--line-gold); border-radius: 50%;
  color: var(--gold-deep);
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), transform .6s var(--ease-out);
}
.module-icon svg { width: 26px; height: 26px; }
.module:hover .module-icon, .module.is-open .module-icon { background: var(--navy); color: var(--gold-soft); border-color: var(--navy); transform: rotate(-4deg); }
.module-meta { flex: 1 1 auto; min-width: 0; }
.module-num {
  display: block; font-family: var(--serif-title); font-style: italic;
  font-size: .95rem; color: var(--gold-deep); margin-bottom: .15rem;
}
.module-name {
  display: block; font-family: var(--serif-title); font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem); line-height: 1.12; color: var(--navy);
}
.module-plus { flex: none; position: relative; width: 22px; height: 22px; }
.module-plus::before, .module-plus::after {
  content: ""; position: absolute; background: var(--gold-deep); transition: transform .45s var(--ease-out), opacity .45s var(--ease-out);
}
.module-plus::before { top: 10px; left: 0; width: 22px; height: 1.5px; }
.module-plus::after  { left: 10px; top: 0; width: 1.5px; height: 22px; }
.module.is-open .module-plus::after { transform: scaleY(0); opacity: 0; }

/* Collapsible detail — grid-rows trick (works with JS); open by default w/o JS */
.module-detail { overflow: hidden; }
.js .module-detail {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.js .module.is-open .module-detail { grid-template-rows: 1fr; }
.module-detail-inner {
  min-height: 0;
  padding: 0 clamp(1.2rem, 2.6vw, 2rem) clamp(1.5rem, 3vw, 2.1rem) clamp(4.2rem, 8vw, 6rem);
}
.js .module-detail .module-detail-inner { opacity: 0; transition: opacity .5s var(--ease-out) .05s; }
.js .module.is-open .module-detail .module-detail-inner { opacity: 1; }
.module-short {
  font-family: var(--serif-title); font-style: italic; font-weight: 500;
  font-size: 1.2rem; color: var(--navy-mid); margin-bottom: .9rem;
}
.module-intro { color: var(--ink-soft); margin-bottom: 1.3rem; max-width: 60ch; }
.module-bullets { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.module-bullets li {
  position: relative; padding-left: 1.5rem; color: var(--ink-soft); font-size: .98rem; max-width: 58ch;
}
.module-bullets li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.module-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500; font-size: .9rem; color: var(--navy);
  border-bottom: 1px solid var(--line-gold); padding-bottom: .25rem;
  transition: gap .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.module-link span { color: var(--gold-deep); transition: transform .35s var(--ease-out); }
.module-link:hover { color: var(--gold-deep); border-color: var(--gold); }
.module-link:hover span { transform: translateX(5px); }

/* Module sub-blocks — Qué hacemos / Resultado / Impacto / Ancla */
.module-label {
  font-size: .72rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep); margin: 0 0 .8rem;
}
.module-bullets + .module-label { margin-top: 1.4rem; }
.module-result {
  margin: .2rem 0 1.5rem; padding: 1rem 1.3rem; max-width: 60ch;
  background: rgba(31, 58, 95, 0.045);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
}
.module-result span {
  display: block; font-size: .68rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-deep); margin-bottom: .45rem;
}
.module-result p {
  font-family: var(--serif-title); font-style: italic; font-weight: 500;
  font-size: 1.12rem; line-height: 1.42; color: var(--navy-mid); max-width: none;
}
.module-impact {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin: 0 0 1.5rem; max-width: 60ch;
  padding: 1.3rem 1.5rem; background: var(--navy); border-radius: 3px;
}
.impact-item { display: flex; flex-direction: column; gap: .2rem; }
.impact-fig {
  font-family: var(--serif-display); font-weight: 500; font-size: 1.9rem;
  line-height: 1; color: var(--gold-soft);
}
.impact-txt { font-size: .88rem; color: rgba(250, 247, 239, 0.82); line-height: 1.4; }
.module-badge {
  display: inline-block; vertical-align: middle; margin-left: .5rem;
  font-family: var(--sans); font-style: normal; font-weight: 600;
  font-size: .58rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy-900); background: var(--gold);
  padding: .2rem .5rem; border-radius: 2px;
}
.module--ancla { border-color: var(--line-gold); }

/* =============================================================
   12b. Problem band (hook)
   ============================================================= */
.problem {
  background: var(--paper-bright);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.problem .eyebrow { margin-inline: auto; }
.problem-title {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.55rem, 3.6vw, 2.7rem); line-height: 1.28;
  color: var(--navy); max-width: 24ch; margin: 0 auto; text-wrap: balance;
}
.problem-title em { font-style: italic; color: var(--gold-deep); }
.problem-body {
  margin: 1.5rem auto 0; max-width: 62ch;
  color: var(--ink-soft); font-size: 1.05rem;
}

/* =============================================================
   12c. Propuesta de valor (3 pilares)
   ============================================================= */
.valueprop { background: var(--paper-bright); padding-block: var(--section-y); }
.valueprop .section-title { max-width: 22ch; margin-bottom: 1.2rem; }
.valueprop-intro {
  color: var(--ink-mute); font-size: 1.05rem; max-width: 54ch;
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
}
.vp-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.vp-card {
  padding: clamp(1.6rem, 3vw, 2.3rem);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 2px;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.vp-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(31,58,95,0.45); }
.vp-num {
  display: block; font-family: var(--serif-title); font-style: italic;
  font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: .7rem;
}
.vp-card h3 {
  font-family: var(--serif-title); font-weight: 600; font-size: 1.35rem;
  color: var(--navy); margin-bottom: .55rem;
}
.vp-card p { color: var(--ink-soft); font-size: .98rem; }
.valueprop-close {
  margin-top: clamp(2.4rem, 5vw, 3.4rem); text-align: center;
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.3;
  color: var(--navy); text-wrap: balance;
}
.valueprop-close em { font-style: italic; color: var(--gold-deep); }

/* =============================================================
   13. Quote band
   ============================================================= */
.quote-band {
  background: var(--navy); color: var(--cream);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  text-align: center;
}
.quote-band .eyebrow { margin-inline: auto; }
.quote-lead {
  font-family: var(--serif-display); font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.32;
  max-width: 24ch; margin: 0 auto; text-wrap: balance;
}
.quote-lead em { font-style: italic; color: var(--gold); }
.quote-soft { display: block; color: var(--gold-soft); font-style: italic; margin-top: .4rem; }
.process {
  margin-top: clamp(2.6rem, 5vw, 3.8rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.4rem, 4vw, 3.5rem);
}
.process-step { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.process-num {
  font-family: var(--serif-title); font-style: italic; font-size: 1.05rem; color: var(--gold);
}
.process-label { font-size: .82rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250,247,239,0.78); }

/* =============================================================
   14. Values
   ============================================================= */
.values { background: var(--navy-900); color: var(--cream); padding-block: var(--section-y); }
.values .section-title { margin-bottom: clamp(2.6rem, 5vw, 4rem); max-width: 20ch; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 3vw, 2.6rem); }
.value { border-top: 1px solid var(--line-light); padding-top: 1.4rem; }
.value h3 {
  font-family: var(--serif-title); font-weight: 600; font-size: 1.5rem; color: var(--gold);
  margin-bottom: .6rem; letter-spacing: 0.01em;
}
.value p { color: rgba(250, 247, 239, 0.8); font-size: .98rem; max-width: 38ch; }

/* =============================================================
   15. Contact
   ============================================================= */
.contact {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  color: var(--cream); padding-block: var(--section-y);
}
.contact-watermark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(46vw, 560px); opacity: 0.05; pointer-events: none;
}
.contact-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-sub { margin-top: 1.4rem; max-width: 42ch; color: rgba(250,247,239,0.85); font-size: 1.08rem; }
.contact-person {
  margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light);
}
.contact-name { font-family: var(--serif-title); font-weight: 600; font-size: 1.5rem; color: var(--cream); }
.contact-role {
  font-size: .76rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); margin: .35rem 0 1rem;
}
.contact-line a { color: rgba(250,247,239,0.9); transition: color .3s var(--ease-out); border-bottom: 1px solid transparent; }
.contact-line a:hover { color: var(--gold); }
.contact-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.contact-form {
  background: rgba(250, 247, 239, 0.05);
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.form-title { font-family: var(--serif-title); font-weight: 600; font-size: 1.4rem; color: var(--cream); margin-bottom: 1.4rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field span {
  display: block; font-size: .74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: .5rem;
}
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--cream);
  background: rgba(22, 39, 61, 0.5);
  border: 1px solid var(--line-light); border-radius: 2px;
  padding: .85rem 1rem; transition: border-color .35s var(--ease-out), background-color .35s var(--ease-out);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(250,247,239,0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(22, 39, 61, 0.75); }
.form-note { margin-top: 1rem; font-size: .82rem; color: rgba(250,247,239,0.55); line-height: 1.55; }
.form-note a { color: var(--gold-soft); border-bottom: 1px solid var(--line-gold); }
.form-ok {
  margin-top: 1rem; font-size: .9rem; color: var(--gold-soft);
  display: flex; align-items: center; gap: .5rem;
}

/* =============================================================
   16. Footer
   ============================================================= */
.footer { background: var(--navy-900); color: var(--cream); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-light);
}
.footer-brand img { width: 130px; height: auto; }
.footer-tag { margin-top: 1rem; font-family: var(--serif-title); font-style: italic; color: var(--gold-soft); font-size: 1rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.footer-label {
  display: block; font-size: .72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 600;
}
.footer-col > a { display: block; color: rgba(250,247,239,0.78); font-size: .94rem; margin-bottom: .65rem; transition: color .3s var(--ease-out); }
.footer-col > a:hover { color: var(--gold); }
.footer-note { color: rgba(250,247,239,0.7); font-size: .9rem; line-height: 1.6; }
.footer-note strong { color: var(--cream); font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.8rem; font-size: .8rem; color: rgba(250,247,239,0.5);
}
.footer-bottom span:last-child { font-family: var(--serif-title); font-style: italic; }

/* =============================================================
   16b. Texto justificado (preferencia Alejandro — L3-3)
   Solo cuerpo de texto y viñetas. Títulos, eyebrows, botones y
   bandas centradas (.problem, .quote-band, .valueprop-close) se
   dejan tal cual. hyphens evita ríos/espacios grandes.
   ============================================================= */
.hero-sub,
.about-body p:not(.about-lead),
.purpose-card p,
.valueprop-intro,
.modules-intro,
.module-intro,
.module-bullets li,
.contact-sub,
.footer-note {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* =============================================================
   17. Responsive
   ============================================================= */
@media (min-width: 560px) {
  .module-impact { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}
@media (min-width: 720px) {
  .purpose-grid { grid-template-columns: repeat(3, 1fr); }
  .vp-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.05fr 0.95fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.05fr 0.95fr; }
  .footer-inner { grid-template-columns: 0.8fr 2fr; }
}

@media (max-width: 959px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* =============================================================
   18. Reduced motion — only gate intrusive loops
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: scale(1); }
  .marquee-track { animation: none; }
  .hero-scroll svg { animation: none; }
  .splash-mark { animation: none; opacity: 1; }
}
