/* ============================================================
   ClicNegocio — Sistema visual institucional
   Paleta derivada del logotipo: navy #22305C + ámbar #BE6516
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --navy:        #22305C;
  --navy-700:    #2C3A66;
  --navy-900:    #161E3A;
  --navy-950:    #111733;
  --amber:       #BE6516;
  --amber-600:   #C8742A;
  --amber-soft:  #E8AF6E;

  /* Ink + text */
  --ink:    #1B2236;
  --text:   #4E556B;
  --muted:  #888EA0;
  --on-dark:        #EDEFF5;
  --on-dark-soft:   #A8AFC4;

  /* Surfaces */
  --bg:        #FBFAF7;
  --bg-warm:   #F5F2EB;
  --surface:   #FFFFFF;
  --line:      #E7E3D9;
  --line-soft: #EFEBE2;

  /* Accent tints */
  --amber-tint: #FBF1E3;
  --navy-tint:  #EEF0F6;

  /* Radius + shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(27,34,54,.04), 0 1px 3px rgba(27,34,54,.06);
  --shadow:    0 2px 4px rgba(27,34,54,.04), 0 10px 30px rgba(27,34,54,.07);
  --shadow-lg: 0 4px 8px rgba(27,34,54,.05), 0 24px 60px rgba(27,34,54,.12);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-display: 'Spectral', Georgia, serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--amber); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---- Layout helpers ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--amber);
  display: inline-block;
}
.eyebrow--on-dark { color: var(--amber-soft); }
.eyebrow--on-dark::before { background: var(--amber-soft); }

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  max-width: 18ch;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text);
  max-width: 62ch;
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { transition: transform .25s ease; }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn--primary { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(190,101,22,.22); }
.btn--primary:hover { background: var(--amber-600); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(190,101,22,.30); }

.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: var(--navy-700); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--ghost-dark { background: rgba(255,255,255,.04); color: var(--on-dark); border-color: rgba(255,255,255,.18); }
.btn--ghost-dark:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }

.btn--sm { padding: 10px 18px; font-size: 14px; }

/* text link with arrow */
.tlink {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.tlink svg { transition: transform .25s ease; }
.tlink:hover { color: var(--amber); }
.tlink:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(251,250,247,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.brand img { height: 34px; width: auto; display: block; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.brand__name b { color: var(--amber); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 8px 14px; border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-warm); }

.header__cta { display: flex; align-items: center; gap: 14px; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--navy); font-weight: 500; }
.hero__sub { margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 52ch; }
.hero__support {
  margin-top: 20px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 16px; max-width: 52ch; box-shadow: var(--shadow-sm);
}
.hero__support b { color: var(--ink); font-weight: 600; }
.hero__ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__micro {
  margin-top: 22px; font-size: 14.5px; color: var(--muted);
  display: flex; align-items: center; gap: 9px;
}
.hero__micro svg { color: var(--amber); flex: none; }

/* Hero orbit visual */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; margin-inline: auto; }
.orbit__atom {
  position: absolute; inset: -6%; width: 112%; height: 112%;
  pointer-events: none; z-index: 0;
}
.orbit__ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line);
  pointer-events: none;
}
.orbit__ring--outer { border-color: var(--line); }
.orbit__ring--inner { border-style: dashed; border-color: var(--line-soft); }

/* Nodos — 90s (lento, celestial) */
.orbit__arms {
  position: absolute; inset: 0; border-radius: 50%;
  animation: orbit-spin 90s linear infinite;
}
.orbit__arm {
  position: absolute; top: 50%; left: 50%;
  width: 46%; height: 0;
  transform-origin: left center;
  transform: rotate(var(--a, 0deg));
}
.orbit__node {
  position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%);
  animation: orbit-counter 90s linear infinite;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px 7px 11px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
  z-index: 2;
}
.orbit__node:hover { border-color: var(--amber); box-shadow: var(--shadow); }
.orbit__node .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-counter {
  from { transform: translateY(-50%) rotate(var(--an, 0deg)); }
  to   { transform: translateY(-50%) rotate(calc(var(--an, 0deg) - 360deg)); }
}
.orbit__core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid; place-content: center; text-align: center;
}
.orbit__core .k { font-family: var(--font-display); font-weight: 600; font-size: clamp(16px,2vw,21px); color: var(--ink); line-height: 1.05; }
.orbit__core .k b { color: var(--amber); }
.orbit__core .k small { display:block; font-family: var(--font-body); font-size: 11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); margin-top:6px; }



/* ============================================================
   GENERIC CARDS / GRID
   ============================================================ */
.cards { display: grid; gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #DDD7CB; }

/* ---- Section: Qué es ---- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); }
.split p + p { margin-top: 18px; }
.prose { font-size: clamp(16px,1.4vw,18.5px); line-height: 1.72; color: var(--text); }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }

/* ---- Ecosystem cards ---- */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eco-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DCD6CA; }
.eco-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.eco-icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-content: center; color: var(--navy);
  background: var(--navy-tint); border: 1px solid #E1E4EE;
}
.eco-role {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); padding: 5px 11px; border-radius: 999px; background: var(--amber-tint);
}
.eco-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 9px; }
.eco-card p { font-size: 15.5px; line-height: 1.6; flex: 1; }
.eco-card .tlink { margin-top: 20px; }

/* kernel card variant */
.eco-card--kernel {
  grid-column: span 3;
  background: linear-gradient(120deg, var(--navy-950), var(--navy));
  border-color: var(--navy-900);
  flex-direction: row; align-items: center; gap: 32px; padding: 30px 34px;
}
.eco-card--kernel:hover { box-shadow: var(--shadow-lg); }
.eco-card--kernel .eco-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--amber-soft); }
.eco-card--kernel h3 { color: #fff; }
.eco-card--kernel p { color: var(--on-dark-soft); max-width: 60ch; }
.eco-card--kernel .eco-role { background: rgba(232,175,110,.16); color: var(--amber-soft); }
.eco-card--kernel .kernel-main { flex: 1; }
.eco-card--kernel .tlink { color: var(--amber-soft); margin-top: 0; }
.eco-card--kernel .tlink:hover { color: #fff; }

/* ============================================================
   CLICPYME SECTION
   ============================================================ */
.pyme-feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.pyme-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.35; color: var(--navy);
  border-left: 3px solid var(--amber); padding-left: 24px; margin: 8px 0 0;
  max-width: 34ch;
}
.pyme-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,48px); margin-top: 40px; }
.pyme-col h4 {
  font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--text); line-height: 1.45; }
.checklist .ic { flex: none; margin-top: 2px; }
.checklist--problem .ic { color: var(--muted); }
.checklist--include .ic { color: var(--amber); }
.checklist--include li { color: var(--ink); font-weight: 500; }

/* ============================================================
   OIS — DARK SECTION
   ============================================================ */
.dark { background: var(--navy-950); color: var(--on-dark); position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .lead, .dark .prose { color: var(--on-dark-soft); }
.dark .prose b { color: #fff; }
.dark__glow {
  position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(190,101,22,.16), transparent 65%);
  top: -20%; right: -10%; pointer-events: none;
}
.ois-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,64px); align-items: center; position: relative; }

/* formula stack diagram */
.formula { display: flex; flex-direction: column; gap: 14px; }
.frow {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 16px 20px;
}
.frow__tag {
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff;
  min-width: 132px; display: flex; align-items: center; gap: 10px;
}
.frow__tag .sq { width: 9px; height: 9px; border-radius: 3px; background: var(--amber-soft); flex:none; }
.frow__desc { font-size: 14.5px; color: var(--on-dark-soft); }
.frow--kernel { background: linear-gradient(100deg, rgba(190,101,22,.18), rgba(190,101,22,.06)); border-color: rgba(232,175,110,.3); }
.frow--kernel .frow__tag { color: var(--amber-soft); }
.frow--kernel .frow__tag .sq { background: var(--amber); }

.ois-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.ois-tags span {
  font-size: 13px; font-weight: 500; color: var(--on-dark);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.prin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prin {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prin:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #DCD6CA; }
.prin__num {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--amber); width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-content: center; background: var(--amber-tint); border: 1px solid #F0DCC2;
}
.prin p { font-size: 15.5px; line-height: 1.5; color: var(--ink); font-weight: 500; }

/* ============================================================
   CASES
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #DCD6CA; }
.case__unit {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 6px;
}
.case h3 { font-size: 21px; font-weight: 600; margin-bottom: 14px; }
.case p { font-size: 16px; line-height: 1.62; }

/* ============================================================
   BUILD FROM FRICTION
   ============================================================ */
.friction-list { display: flex; flex-direction: column; }
.friction-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.friction-row:last-child { border-bottom: 1px solid var(--line); }
.friction-row__unit { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy); }
.friction-row__txt { font-size: 16.5px; color: var(--text); line-height: 1.55; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta__card {
  background: linear-gradient(150deg, var(--navy-950), var(--navy) 70%);
  border-radius: var(--r-xl); padding: clamp(48px, 7vw, 88px) var(--gutter);
  position: relative; overflow: hidden;
}
.final-cta__card .dark__glow { top: auto; bottom: -30%; right: -5%; }
.final-cta h2 { color: #fff; font-size: clamp(28px,4vw,46px); max-width: 20ch; margin-inline: auto; }
.final-cta p { color: var(--on-dark-soft); margin: 22px auto 0; max-width: 56ch; font-size: 18px; }
.final-cta__ctas { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; }
.final-cta__micro { margin-top: 24px; font-size: 14.5px; color: var(--on-dark-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-warm); border-top: 1px solid var(--line); padding-block: 56px 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand .brand__name { color: var(--ink); }
.footer__tagline { font-size: 15px; color: var(--text); margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.footer__col h5 { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.footer__col a { display: block; font-size: 15px; color: var(--text); padding: 5px 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  /* Orbit rings — much slower */
  .orbit__ring--outer { animation: orbit-spin 160s linear infinite; }
  .orbit__ring--inner { animation: orbit-spin 120s linear infinite reverse; }
  /* Arm + node animations already defined inline */
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-card--kernel { grid-column: span 2; }
  .prin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .orbit { max-width: 380px; }
  .split { grid-template-columns: 1fr; }
  .ois-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header__cta .btn--primary { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .eco-grid { grid-template-columns: 1fr; }
  .eco-card--kernel { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 18px; }
  .pyme-cols { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .prin-grid { grid-template-columns: 1fr; }
  .friction-row { grid-template-columns: 1fr; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: span 2; }
}

/* ============================================================
   v2 — Capacidades / colaboración narrative
   ============================================================ */

/* hero pills */
.hero__pills { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.hero__pills span {
  font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--navy);
  padding: 7px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}

/* brand atom watermark (subtle, on dark surfaces) */
.brand-watermark {
  position: absolute; pointer-events: none; user-select: none;
  width: min(48vw, 600px); height: auto; opacity: .06; z-index: 0;
}
.brand-watermark--left { left: -9%; bottom: -16%; }
.brand-watermark--cta { right: -5%; top: -20%; width: min(40vw, 460px); opacity: .07; }
/* keep content above the watermark */
.vm-grid { position: relative; z-index: 1; }
.final-cta__card .eyebrow,
.final-cta__card h2,
.final-cta__card p { position: relative; z-index: 1; }

/* hero headline — emotional refrain */
.hero__headline { font-size: clamp(52px, 8vw, 92px); line-height: .98; letter-spacing: -0.03em; }

/* ---- Por qué importa (contexto + premisa) ---- */
.gap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gap-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #DCD6CA; }
.gap-card__n {
  font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .12em;
  color: var(--amber); display: inline-block; margin-bottom: 14px;
}
.gap-card__n::before { content: "BRECHA "; }
.gap-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.gap-card p { font-size: 16px; line-height: 1.6; color: var(--text); }

.premise {
  margin-top: 18px; position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(125deg, var(--navy-950), var(--navy) 72%);
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px) var(--gutter);
  color: var(--on-dark);
}
.premise__glow {
  position: absolute; width: 56vw; height: 56vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(190,101,22,.20), transparent 65%);
  top: -30%; left: 50%; transform: translateX(-50%);
}
.premise__mark {
  position: relative; font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber-soft); margin: 0 0 18px;
}
.premise__line {
  position: relative; font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.02em; margin: 0;
}
.premise__line em { font-style: italic; color: var(--amber-soft); font-weight: 500; }
.premise__sub {
  position: relative; max-width: 58ch; margin: 24px auto 0; color: var(--on-dark-soft);
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6;
}

/* ---- Refrain interlude (No estás solo) ---- */
.refrain {
  text-align: center; padding-block: clamp(72px, 11vw, 150px);
  background:
    radial-gradient(120% 120% at 50% 0%, var(--amber-tint), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line-soft);
}
.refrain__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 22px;
}
.refrain__line {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: clamp(56px, 11vw, 132px); line-height: .96; letter-spacing: -0.03em;
  margin: 0;
}
.refrain__line em { font-style: italic; color: var(--amber); font-weight: 500; }
.refrain__sub {
  margin: 28px auto 0; max-width: 50ch; font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6; color: var(--text);
}

/* ---- Nuestra historia ---- */
.story__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.story__intro { position: sticky; top: 104px; }
.story__body { display: flex; flex-direction: column; gap: 20px; }
.story__body .prose { font-size: clamp(16px,1.4vw,18.5px); line-height: 1.72; }
.story__needs {
  list-style: none; margin: 8px 0; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 13px;
}
.story__needs li { display: flex; align-items: center; gap: 13px; font-size: 17px; color: var(--text); }
.story__needs .ic { color: var(--amber); flex: none; display: inline-flex; }
.story__needs-strong { color: var(--ink) !important; font-weight: 600; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-soft); }
.story__born {
  font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 30px); font-weight: 600;
  color: var(--navy); margin: 10px 0 4px;
}
.story__not { display: flex; flex-direction: column; gap: 6px; padding-left: 22px; border-left: 3px solid var(--amber); }
.story__not-line { font-family: var(--font-display); font-style: italic; font-size: clamp(17px,1.8vw,21px); color: var(--muted); }
.story__not-yes { font-size: clamp(17px,1.7vw,20px); line-height: 1.55; color: var(--ink); margin-top: 10px; }
.story__not-yes b { color: var(--navy); font-weight: 600; }

/* ---- Qué es: claim ---- */
.whatis__claim { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.whatis__claim p { font-size: clamp(19px, 2vw, 24px); font-family: var(--font-display); color: var(--text); line-height: 1.4; }
.whatis__claim .strike { text-decoration: line-through; text-decoration-color: var(--amber); text-decoration-thickness: 2px; color: var(--muted); }
.whatis__claim-strong { color: var(--ink) !important; margin-top: 6px; }
.whatis__claim-strong b { color: var(--navy); font-weight: 600; }

/* ---- Visión / Misión (dark) ---- */
.vm-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; position: relative; }
.vm-cell { display: flex; flex-direction: column; }
.vm-title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; color: #fff; margin-bottom: 20px; max-width: 18ch; }
.vm-divider { width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.16), transparent); }

/* ---- Unidades ---- */
.unit-feature {
  display: flex; align-items: center; gap: 28px; padding: 30px 34px; margin-bottom: 18px;
  background: linear-gradient(115deg, #fff, var(--amber-tint));
  border: 1px solid #F0DEC4; border-radius: var(--r-xl); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.unit-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.unit-feature__icon {
  width: 60px; height: 60px; border-radius: 16px; flex: none; display: grid; place-content: center;
  background: var(--amber); color: #fff; box-shadow: 0 8px 20px rgba(190,101,22,.25);
}
.unit-feature__body { flex: 1; }
.unit-feature__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.unit-feature__head h3 { font-size: 26px; font-weight: 600; }
.unit-feature__body p { font-size: 16.5px; line-height: 1.55; max-width: 60ch; }
.unit-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid #F0DEC4;
}

.unit-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.unit-card {
  flex: 0 1 calc((100% - 36px) / 3); min-width: 240px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DCD6CA; }
.unit-card .eco-icon { margin-bottom: 18px; }
.unit-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 9px; }
.unit-card p { font-size: 15px; line-height: 1.58; color: var(--text); }
.unit-card__more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; transition: gap .2s ease, color .2s ease; }
.unit-card__more svg { transition: transform .2s ease; }
.unit-card:hover .unit-card__more { color: var(--amber); }
.unit-card:hover .unit-card__more svg { transform: translateX(3px); }

/* ---- Filosofía ---- */
.philosophy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.philosophy__statements { display: flex; flex-direction: column; gap: 22px; }
.philosophy__statements p { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--text); }
.philosophy__statements b { color: var(--ink); font-weight: 600; }
.philosophy__quote {
  margin: 0; padding: 32px 34px; border-radius: var(--r-xl);
  background: var(--navy-950); color: var(--on-dark);
}
.philosophy__quote p { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.32; color: var(--on-dark-soft); }
.philosophy__quote-strong { color: #fff !important; margin-top: 14px; font-style: italic; }

/* ---- Asociados (marquee) ---- */
.partners { padding-block: clamp(56px, 8vw, 104px); overflow: hidden; }
.partners__head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.partners__head .section-title { margin-left: auto; margin-right: auto; max-width: 20ch; }
.partners__head .lead { margin-left: auto; margin-right: auto; }
.partners__marquee {
  position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.partners__track {
  display: flex; align-items: center; gap: 22px; width: max-content;
  animation: partners-scroll 38s linear infinite;
}
.partners__marquee:hover .partners__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .orbit__arms, .orbit__node { animation: none !important; }
  .orbit__ring--outer, .orbit__ring--inner { animation: none !important; }
  .partners__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 11px)); }
}
.partner {
  flex: none; height: 96px; min-width: 232px; padding: 0 34px;
  display: grid; place-content: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.partner:hover { border-color: #DCD6CA; box-shadow: var(--shadow); transform: translateY(-2px); }
.partner__logo { max-height: 48px; max-width: 168px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s ease, opacity .25s ease; }
.partner:hover .partner__logo { filter: grayscale(0); opacity: 1; }
.partner__placeholder { display: inline-flex; align-items: center; gap: 13px; }
.partner__glyph {
  width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy);
  background: var(--amber-tint); border: 1px solid #F0DEC4;
  transition: background .25s ease, color .25s ease;
}
.partner:hover .partner__glyph { background: var(--navy); color: var(--amber-soft); border-color: var(--navy); }
.partner__name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; transition: color .25s ease; }
.partner:hover .partner__name { color: var(--ink); }

/* ---- v2 responsive ---- */
@media (max-width: 980px) {
  .unit-card { flex: 0 1 calc((100% - 18px) / 2); }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-divider { width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); }
}
@media (max-width: 920px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__intro { position: static; }
  .philosophy__grid { grid-template-columns: 1fr; }
  .gap-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .unit-card { flex: 1 1 100%; }
  .refrain__line { font-size: clamp(48px, 22vw, 90px); }
}
