/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --verde:        #001A19;   /* verde principal */
  --verde-2:      #002B2A;   /* verde secundario */
  --verde-3:      #00413D;   /* verde terciario, uso puntual */
  --oro:          #C8A74C;   /* dorado claro — sobre fondos oscuros */
  --oro-deep:     #8B6A1F;   /* dorado oscuro — sobre fondos claros */
  --negro:        #1C1C1C;
  --gris:         #666666;
  --gris-claro:   #AAAAAA;
  --cream:        #F7F3EA;

  --bg:           var(--cream);
  --ink:          var(--negro);
  --ink-soft:     #2A2A28;
  --ink-mute:     var(--gris);
  --line:         rgba(102, 102, 102, 0.2);
  --panel:        color-mix(in srgb, var(--negro) 4%, var(--cream));
  --accent:       var(--verde);
  --accent-2:     var(--oro);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-w: 1280px;
}

@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  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; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--font-display); font-weight: 500; }
::selection { background: var(--oro); color: var(--negro); }

:focus-visible {
  outline: 2px solid var(--verde);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container-w); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.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: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--negro); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: .9rem;
}
.kicker-light { color: var(--oro); }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-alt { background: color-mix(in srgb, var(--verde-3) 7%, var(--cream)); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-left { margin-bottom: 2.5rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-style: italic; font-weight: 500; }
.section-sub { margin-top: 1rem; color: var(--ink-mute); font-size: 1.05rem; max-width: 56ch; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.7rem;
  border-radius: 100px;
  font-weight: 600; font-size: .92rem;
  letter-spacing: .01em;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--verde); color: var(--cream); box-shadow: 0 4px 14px rgba(0,26,25,.18), 0 1px 3px rgba(0,26,25,.1); }
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(0,26,25,.28), 0 10px 22px rgba(0,26,25,.14); background: var(--verde-2); }
.btn-gold { background: var(--oro); color: var(--negro); box-shadow: 0 4px 14px rgba(200,167,76,.28); }
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(200,167,76,.35); }
.btn-ghost { border: 1.5px solid var(--verde); color: var(--verde); }
.btn-ghost:hover { background: var(--verde); color: var(--cream); transform: translateY(-3px); }
.btn-ghost-light { border: 1.5px solid rgba(247,243,234,.55); color: var(--cream); }
.btn-ghost-light:hover { background: rgba(247,243,234,.12); border-color: var(--cream); transform: translateY(-3px); }
.btn-sm { padding: .65rem 1.3rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner { display: inline-flex; align-items: center; justify-content: center; gap: inherit; will-change: transform; transition: transform .8s var(--ease-soft); }

/* =============================================================
   5. Cursor
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--cream); border-radius: 50%; }
.cursor-ring { width: 34px; height: 34px; margin: -17px; border: 1px solid var(--cream); border-radius: 50%; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out); }
.cursor.is-interactive .cursor-ring { width: 52px; height: 52px; margin: -26px; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .card { cursor: none; }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--verde);
  display: grid; place-items: center;
  pointer-events: auto;
  transition: opacity .8s, clip-path 1s;
  animation: splashSafety .01s 2.6s forwards;
}
.splash-inner { text-align: center; }
.splash-logo { width: min(48vw, 220px); display: block; margin-inline: auto; }
.splash-line {
  display: block; width: 60px; height: 2px; background: var(--oro);
  margin: 1rem auto 0; transform-origin: left; animation: splashGrow 1.4s var(--ease-soft) infinite alternate;
}
@keyframes splashGrow { from { transform: scaleX(.3); } to { transform: scaleX(1); } }
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }

/* =============================================================
   7. Scroll progress
   ============================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--verde), var(--oro)); transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear; }

/* =============================================================
   8. Nav
   ============================================================= */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 100; padding-block: 1.1rem; transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), padding .4s var(--ease-out); }
.nav.is-scrolled { background: rgba(247,243,234,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(28,28,28,.08); padding-block: .75rem; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-brand { display: flex; align-items: center; }
.nav-brand-logo { height: 36px; width: auto; transition: height .4s var(--ease-out); }
.nav.is-scrolled .nav-brand-logo { height: 30px; }
.nav-links { display: none; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; padding: .25rem 0; font-size: .92rem; font-weight: 500; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--verde); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-inner > .btn { display: none; }
@media (min-width: 960px) { .nav-inner > .btn { display: inline-flex; } }

.nav-burger { display: flex; flex-direction: column; gap: 5px; width: 26px; padding: .3rem; }
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { display: block; width: 100%; height: 2px; background: var(--verde); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--verde); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-logo { height: 76px; width: auto; margin-bottom: 1rem; }
.nav-mobile-link { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; }
.nav-mobile-cta { margin-top: 1rem; font-family: var(--font-body); font-style: normal; font-size: 1rem; padding: .9rem 1.8rem; border: 1.5px solid var(--oro); border-radius: 100px; }

/* =============================================================
   9. Hero
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img.ambient-on { animation: ambientZoom 30s ease-in-out infinite; }
@keyframes ambientZoom { 0%, 100% { transform: scale(1.04); } 50% { transform: scale(1.12) translate(-1%, -1%); } }
.why-figure img.ambient-soft { animation: ambientZoomSoft 22s ease-in-out infinite; }
@keyframes ambientZoomSoft { 0%, 100% { transform: scale(1.02); } 50% { transform: scale(1.07); } }
.hero-bg-tint {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(0,43,42,.96) 0%, rgba(0,26,25,.86) 32%, rgba(28,28,28,.58) 62%, rgba(28,28,28,.3) 100%);
}
.hero-halo {
  position: absolute; z-index: 1; pointer-events: none;
  inset: -30% 40% -10% -10%;
  background: radial-gradient(45% 45% at 30% 40%, rgba(200,167,76,.28), transparent 70%);
  filter: blur(90px);
}
.hero-inner { position: relative; z-index: 2; padding-block: clamp(6rem, 14vw, 3rem); }
.hero-content { max-width: 720px; }
.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  color: var(--cream);
  font-weight: 500;
  margin-block: 1.1rem 1.4rem;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--oro); font-weight: 500; }
.hero-sub { color: rgba(247,243,234,.82); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scrolldown { position: absolute; left: 50%; bottom: 2rem; z-index: 2; transform: translateX(-50%); }
.hero-scrolldown span { display: block; width: 1px; height: 46px; background: linear-gradient(rgba(247,243,234,.7), transparent); animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =============================================================
   10. Manifesto
   ============================================================= */
.manifesto { padding-block: clamp(4.5rem, 9vw, 8rem); }
.manifesto-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
}
.manifesto-quote {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; color: var(--verde);
  margin-bottom: 1.4rem;
}
.manifesto-body { color: var(--ink-soft); font-size: 1.05rem; max-width: 48ch; }
.manifesto-figure { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px -20px rgba(28,28,28,.25); }
.manifesto-figure img, .manifesto-video { width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   12. Bento services
   ============================================================= */
.bento-services { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento-services { grid-template-columns: repeat(3, 1fr); } }

.card.card-premium { border-color: rgba(200,167,76,.55); }
.card-flag-premium { background: rgba(200,167,76,.16); }

.otros-servicios { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.otros-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.3rem; }
.otros-grid .card-mini { flex: 0 1 100%; }
@media (min-width: 640px) { .otros-grid .card-mini { flex: 0 1 calc(50% - .5rem); } }
@media (min-width: 960px) { .otros-grid .card-mini { flex: 0 1 calc(25% - .75rem); } }
.card-mini { padding: 1.5rem; }
.card-mini .card-tags span { background: var(--panel); color: var(--oro-deep); }

.card {
  position: relative; isolation: isolate;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.8rem;
  display: flex; flex-direction: column;
  --rx: 0deg; --ry: 0deg; --ty: 0px;
  transform: perspective(900px) translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  box-shadow: 0 1px 2px rgba(28,28,28,.04), 0 10px 26px -16px rgba(28,28,28,.14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .3s;
}
.card:hover { --ty: -6px; border-color: rgba(0,26,25,.3); }
.card:hover { box-shadow: 0 40px 80px -30px rgba(0,26,25,.28), 0 16px 34px -14px rgba(28,28,28,.16); }

.card-flagship { background: var(--verde); color: var(--cream); min-height: 340px; justify-content: space-between; padding: 2.4rem; }
.card-flagship .card-title { color: var(--cream); font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.card-flagship .card-category { color: var(--oro); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-block: .3rem 1rem; }
.card-flagship .card-desc { color: rgba(247,243,234,.82); font-size: .98rem; }
.card-flagship:hover { box-shadow: 0 40px 90px -28px rgba(0,26,25,.45); }

.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.card-num { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--oro); }
.card-num-sm { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--verde); display: block; margin-bottom: .5rem; }
.card-flag { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(247,243,234,.14); color: var(--oro); padding: .3rem .7rem; border-radius: 100px; border: 1px solid rgba(200,167,76,.4); }
.card-tags { display: flex; gap: .5rem; margin-top: auto; padding-top: 1.2rem; flex-wrap: wrap; }
.card-tags span { font-size: .74rem; padding: .35rem .75rem; border-radius: 100px; background: rgba(247,243,234,.12); color: var(--cream); }

.card-title-sm { font-size: 1.25rem; font-style: italic; margin-bottom: .5rem; }
.card-desc-sm { color: var(--ink-mute); font-size: .92rem; }

.has-halo { position: relative; }
.has-halo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(200,167,76,.25), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.has-halo:hover::before { opacity: 1; }

/* =============================================================
   13. Why Magnata
   ============================================================= */
.why-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .why-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; } }
.why-figure { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px -20px rgba(28,28,28,.18); }
.why-figure::after, .pf-img::after { content: ""; position: absolute; inset: 0; background: rgba(0,43,42,.14); pointer-events: none; }
.why-figure img { width: 100%; height: 100%; object-fit: cover; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.why-item { display: flex; gap: 1.2rem; }
.why-badge { display: flex; flex-direction: column; align-items: center; gap: .5rem; flex-shrink: 0; width: 44px; }
.why-icon { width: 26px; height: 26px; color: var(--oro-deep); }
.why-num { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--oro-deep); }
.why-item h3 { font-size: 1.2rem; font-style: italic; margin-bottom: .4rem; }
.why-item p { color: var(--ink-mute); font-size: .96rem; }

/* =============================================================
   14. Process tabs (CSS-only, works without JS)
   ============================================================= */
/* Enlaces a las páginas de detalle de cada servicio */
.proceso-detalle { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.proceso-detalle > p { font-size: .92rem; color: var(--ink-mute); margin-bottom: .9rem; }
.proceso-enlaces { display: flex; flex-wrap: wrap; gap: .7rem; }
.proceso-enlaces a {
  font-size: .89rem; font-weight: 600; color: var(--oro-deep);
  padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 100px;
  background: var(--panel); text-decoration: none;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s;
}
.proceso-enlaces a:hover { background: var(--verde); color: var(--cream); border-color: var(--verde); }

.process-steps { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 2px solid var(--verde); padding-top: 1.1rem; }
.step-n { font-family: var(--font-display); font-style: italic; color: var(--oro-deep); font-size: 1.4rem; display: block; margin-bottom: .5rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--ink-mute); font-size: .92rem; }

/* =============================================================
   15. Portfolio
   ============================================================= */
.portfolio-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
.pf-card { display: flex; flex-direction: column; }
.pf-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1.1rem; box-shadow: 0 24px 50px -22px rgba(28,28,28,.22); }
.pf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .55s; }
.pf-card:hover .pf-img img { transform: scale(1.08); filter: saturate(1.15) brightness(1.03); }
.pf-title { font-size: 1.35rem; font-style: italic; margin-bottom: .4rem; }
.pf-desc { color: var(--ink-mute); font-size: .95rem; max-width: 46ch; }

/* =============================================================
   15a. Casos representativos
   ============================================================= */
.casos-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .casos-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card { padding: 2rem; }
.case-card .card-title { font-size: 1.4rem; margin-bottom: .9rem; }
.case-card .card-desc { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }

/* =============================================================
   16. Stats band
   ============================================================= */
.stats-band { background: var(--negro); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: -80% -10% -50% -10%;
  background: radial-gradient(45% 35% at 20% 50%, rgba(0,65,61,.55), transparent 75%);
  filter: blur(120px); pointer-events: none;
}
.stats-grid { position: relative; display: grid; gap: 2.5rem; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.stat-num { font-family: var(--font-display); font-style: italic; font-size: clamp(3rem, 6vw, 4.2rem); color: var(--oro); display: block; line-height: 1; }
.stat p { color: rgba(247,243,234,.72); margin-top: .6rem; font-size: .95rem; max-width: 28ch; }
@media (min-width: 720px) { .stat p { margin-inline: 0; } }
.stat { display: flex; flex-direction: column; align-items: center; }
@media (min-width: 720px) { .stat { align-items: flex-start; } }

/* =============================================================
   16a. Founder ("Quién lidera Magnata")
   ============================================================= */
.founder-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .founder-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } }
.founder-figure { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px -20px rgba(28,28,28,.18); }
.founder-figure::after { content: ""; position: absolute; inset: 0; background: rgba(0,43,42,.14); pointer-events: none; }
.founder-figure img:first-child { width: 100%; height: 100%; object-fit: cover; }
.founder-seal { position: absolute; left: 1.2rem; bottom: 1.2rem; height: 52px; width: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); }
.founder-content .kicker { display: block; }
.founder-role { font-size: 1rem; color: var(--verde); font-weight: 500; margin-block: .8rem 1.4rem; max-width: 60ch; }
.founder-bio { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; max-width: 62ch; margin-bottom: 1.8rem; }
.founder-education { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.founder-education li { font-size: .82rem; color: var(--ink-mute); }
.founder-linkedin { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: var(--verde); transition: color .3s var(--ease-out); }
.founder-linkedin svg { width: 20px; height: 20px; }
.founder-linkedin:hover { color: var(--oro-deep); }

/* =============================================================
   16b. FAQ
   ============================================================= */
.faq-list { display: flex; flex-direction: column; gap: .8rem; max-width: 760px; }
.faq-item { background: var(--panel); border-radius: 14px; padding: 0; overflow: hidden; }
.faq-item summary {
  padding: 1.2rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 1.5px solid var(--oro-deep); border-bottom: 1.5px solid var(--oro-deep);
  transform: rotate(45deg); transition: transform .3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 1.5rem 1.2rem; color: var(--ink-mute); font-size: .95rem; line-height: 1.6; }

/* =============================================================
   17. Contact
   ============================================================= */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; } }
.contact-info { list-style: none; margin-block: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info li { display: flex; flex-direction: column; gap: .15rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.contact-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.contact-info a { font-size: 1.02rem; transition: color .3s; }
.contact-info a:hover { color: var(--verde); }

.contact-form-wrap { position: relative; }
.cta-form { display: flex; flex-direction: column; gap: 1.2rem; background: var(--panel); padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 20px; transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; }

.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.25rem 1rem .55rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); transition: border-color .3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--verde); outline: none; }
.field label { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; transition: all .25s var(--ease-out); color: var(--ink-mute); font-size: .95rem; }
.field textarea ~ label { top: 1.3rem; transform: none; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label {
  top: .55rem; transform: none; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--verde);
}
.field select { color: var(--ink-mute); padding-top: 1rem; padding-bottom: 1rem; }
.field select:valid { color: var(--ink); }
.field .field-label-select { position: static; transform: none; display: block; margin-bottom: .4rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); order: -1; }
.field:has(select) { display: flex; flex-direction: column; }

.cta-submit { position: relative; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after { content: ""; width: 18px; height: 18px; border: 1.5px solid rgba(247,243,234,.35); border-top-color: var(--cream); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form-check path { stroke: currentColor; stroke-width: 2; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s var(--ease-out); }
.cta-form.is-sent .cta-form-check { opacity: 1; stroke-dashoffset: 0; }

.cta-success {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%);
  opacity: 0; pointer-events: none; text-align: center; width: 90%;
  transition: opacity .8s var(--ease-out) .25s, transform .9s var(--ease-soft) .25s;
}
.cta-success h3 { font-style: italic; font-size: 1.5rem; margin-bottom: .5rem; color: var(--verde); }
.cta-success p { color: var(--ink-mute); }
.cta-success.is-visible { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }

/* Enlace a la página de detalle del servicio */
.card-link {
  margin-top: 1.1rem; align-self: flex-start;
  font-size: .85rem; font-weight: 600; letter-spacing: .01em;
  color: var(--oro); text-decoration: none;
  border-bottom: 1px solid rgba(200,167,76,.4); padding-bottom: 2px;
  transition: border-color .3s, color .3s;
}
.card-link:hover { color: var(--cream); border-bottom-color: var(--cream); }

/* Honeypot anti-spam: fuera de pantalla, nunca display:none (los bots lo detectan) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Autorización de tratamiento de datos — Ley 1581 de 2012 */
.field-consent { display: flex; align-items: flex-start; gap: .7rem; }
.field-consent input[type="checkbox"] {
  flex: none; width: 18px; height: 18px; margin-top: .15rem;
  accent-color: var(--verde); cursor: pointer;
}
.field-consent label { font-size: .82rem; line-height: 1.5; color: var(--ink-mute); cursor: pointer; }
.field-consent a { color: var(--oro-deep); text-decoration: underline; text-underline-offset: 2px; }

/* Error de envío — con salida alterna por WhatsApp */
.cta-error {
  border: 1px solid rgba(166,52,46,.4); background: rgba(166,52,46,.07);
  border-radius: 10px; padding: .9rem 1.1rem;
}
.cta-error p { font-size: .88rem; line-height: 1.55; color: #8C2F29; margin-bottom: .5rem; }
.cta-error a { font-size: .88rem; font-weight: 600; color: var(--verde); text-decoration: underline; text-underline-offset: 3px; }

/* Refuerzo bajo el CTA del hero */
.hero-reassure {
  margin-top: 1.2rem; font-size: .88rem; color: rgba(247,243,234,.66);
  max-width: 46ch; line-height: 1.55;
}

/* =============================================================
   18. Footer
   ============================================================= */
.footer { background: var(--negro); color: var(--cream); padding-block: 3rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.6rem; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-logo { height: 82px; width: auto; }
.footer-copy { margin-top: .9rem; font-size: .82rem; color: rgba(247,243,234,.45); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .88rem; color: rgba(247,243,234,.75); transition: color .3s; }
.footer-links a:hover { color: var(--oro); }

/* =============================================================
   18a. Premium details — grain, WhatsApp float, hero badge, dividers
   ============================================================= */
.grain {
  position: fixed; inset: 0; z-index: 40;
  pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

.whatsapp-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde); color: var(--cream);
  box-shadow: 0 14px 32px -8px rgba(0,26,25,.5), 0 4px 12px rgba(0,26,25,.3);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
  isolation: isolate;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  border: 1.5px solid var(--oro); opacity: .55;
  animation: whatsappPulse 2.4s var(--ease-out) infinite;
}
@keyframes whatsappPulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 40px -8px rgba(0,26,25,.55); }

.hero-badge {
  position: absolute; z-index: 3; right: clamp(1.25rem, 4vw, 3rem); bottom: clamp(4.5rem, 9vw, 6.5rem);
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.4rem; border-radius: 16px;
  background: rgba(28,28,28,.35);
  border: 1px solid rgba(247,243,234,.16);
  max-width: 260px;
}
@supports (backdrop-filter: blur(14px)) {
  .hero-badge { backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.hero-badge-num { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--oro); line-height: 1; flex-shrink: 0; }
.hero-badge-text { color: var(--cream); font-size: .82rem; line-height: 1.35; }
.hero-badge-logo { padding: 1.2rem 1.7rem; max-width: none; }
.hero-badge-logo-img { height: 68px; width: auto; }
@media (max-width: 719px) { .hero-badge { display: none; } }

.divider { display: flex; justify-content: center; padding-block: .5rem; }
.divider span {
  position: relative; width: min(100%, 220px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.divider span::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg);
  width: 7px; height: 7px; background: var(--oro);
}

.manifesto-figure img, .why-figure img, .pf-img img {
  filter: saturate(1.05) contrast(1.03) brightness(1.01);
}

/* =============================================================
   19. Reveal system
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* =============================================================
   20. Responsive tweaks
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* =============================================================
   21. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img.ambient-on { animation: none; }
  .why-figure img.ambient-soft { animation: none; }
  .hero-scrolldown span { animation: none; }
  .splash-line { animation: none; }
  .whatsapp-float::before { animation: none; }
  /* Do NOT disable: tilt, hover, fades, count-up, magnetic */
}
