/* =========================================================
   AGM Marketing · estilos
   Verde y dorado del logo + marfil. Titulares en Marcellus, texto en Figtree.
   ========================================================= */
:root {
  --green: #092b22;
  --green-deep: #061e17;
  --green-2: #0f3a2e;
  --gold: #c9a14a;
  --gold-2: #e6cd8c;
  --ivory: #ede9dc;
  --ivory-2: #e4dfcf;
  --ink: #0b2a21;
  --ink-2: #4a5c55;
  --on-dark: #ede9dc;
  --on-dark-2: rgba(237, 233, 220, .7);
  --line-d: rgba(237, 233, 220, .14);
  --line-l: rgba(11, 42, 33, .14);
  --display: "Marcellus", "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 150px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gold-grad: linear-gradient(135deg, #f0dca4 0%, #cfa752 38%, #a8812f 62%, #e8cf8e 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--green); color: var(--on-dark); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--green-deep); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.dark { background: var(--green); color: var(--on-dark); }
.light { background: var(--ivory); color: var(--ink); }
.light p { color: var(--ink-2); }
.dark p { color: var(--on-dark-2); }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.light .eyebrow { color: #8a6f2c; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 24px; max-width: 22ch; }
.muted { color: var(--on-dark-2); }
.light .muted { color: #7d8a84; }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head--row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.head__side { font-size: 16px; max-width: 46ch; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--body); cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out), box-shadow .25s ease; }
.btn:active { transform: scale(.97); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.btn--gold { background: var(--gold); color: var(--green-deep); }
.link { position: relative; font-weight: 600; font-size: 15px; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-2); box-shadow: 0 10px 30px -12px rgba(194, 162, 82, .7); }
  .btn:hover svg { transform: translateX(4px); }
  .link:hover { background-size: 0 1px; background-position: right bottom; }
}

/* Cabecera */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 16px 0; transition: background-color .3s ease, padding .3s var(--ease-out), border-color .3s ease, transform .4s var(--ease-out); border-bottom: 1px solid transparent; }
.header.is-solid { padding: 10px 0; background: rgba(8, 44, 34, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-d); }
.js-motion .header.is-intro { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; gap: 24px; }
.brand img { width: 96px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--on-dark-2); transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.btn):hover { color: var(--on-dark); } }
.nav__cta { display: none; }
.header__cta { display: none; }
.nav .btn { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; cursor: pointer; position: relative; margin-left: 8px; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-dark); transition: transform .25s var(--ease-out), top .25s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (min-width: 1001px) { .nav__cta { display: inline-flex; } }

/* ============ INTRO ============ */
.intro { position: relative; background: radial-gradient(70% 60% at 50% 40%, var(--green-2), var(--green) 60%, var(--green-deep)); }
.intro__stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 0 70px; }
.intro__logo { position: relative; width: clamp(220px, 28vw, 320px); aspect-ratio: 1528 / 1148; margin-bottom: 40px; perspective: 1200px; }
.intro__ring { display: none; }
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.coin__face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 0 30px rgba(194, 162, 82, .25)); }
.coin__face--back { transform: rotateY(180deg); }
.intro__side { display: none; }
.intro__hint { display: none; }
.intro__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.intro__content .eyebrow::before { display: none; }
.intro__title { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6.2vw, 80px); line-height: 1.04; letter-spacing: -.015em; margin-bottom: 22px; }
.intro__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.intro__title .line > span { display: inline-block; }
.intro__title em { font-style: normal; color: var(--gold); }
.intro__lead { max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--on-dark-2); margin-bottom: 34px; }
.intro__facts { display: flex; gap: 0; margin-bottom: 38px; border-block: 1px solid var(--line-d); }
.intro__facts li { padding: 16px 30px; display: flex; flex-direction: column; align-items: center; }
.intro__facts li + li { border-left: 1px solid var(--line-d); }
.intro__facts b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); color: var(--gold); line-height: 1.15; font-variant-numeric: tabular-nums; }
.intro__facts li > span { font-size: 13.5px; color: var(--on-dark-2); }
.intro__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }

/* Intro animada */
.js-motion .intro { height: 430vh; }
.js-motion .intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; display: block; }
.js-motion .intro__logo { position: absolute; left: 50%; top: 50%; width: clamp(260px, 40vmin, 460px); margin: 0; transform: translate(-50%, -50%); will-change: transform; }
.js-motion .intro__ring { display: block; position: absolute; left: 50%; top: 50%; width: 165%; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.js-motion .intro__ring circle { fill: none; stroke: var(--gold); stroke-width: .5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .6; vector-effect: non-scaling-stroke; }
.js-motion .coin { will-change: transform; }
.js-motion .intro__hint { display: flex; position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--on-dark-2); }
.js-motion .intro__hint i { width: 1px; height: 46px; position: relative; overflow: hidden; background: var(--line-d); }
.js-motion .intro__hint i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 110%; } }
.js-motion .intro__content { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-38%); }
.js-motion .intro__title .line > span { transform: translateY(110%); will-change: transform; }
.js-motion [data-step] { opacity: 0; will-change: transform, opacity; }
.js-motion .intro__side { display: block; position: absolute; top: 50%; width: clamp(140px, 12vw, 210px); aspect-ratio: 3 / 4.3; border-radius: var(--radius); overflow: hidden; opacity: 0; will-change: transform, opacity; }
.js-motion .intro__side img { width: 100%; height: 100%; object-fit: cover; }
.js-motion .intro__side--l { left: clamp(16px, 4vw, 70px); }
.js-motion .intro__side--r { right: clamp(16px, 4vw, 70px); }

/* Banda en movimiento */
.marquee { background: var(--gold); color: var(--green-deep); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-deep); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }

/* ============ ENFOQUE ============ */
.approach__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.approach__copy > p { font-size: 17px; margin-bottom: 26px; max-width: 46ch; }
.trio { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 16px; align-items: start; }
.trio figure { overflow: hidden; border-radius: var(--radius); }
.trio img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.trio__a { aspect-ratio: 4 / 5; }
.trio__b { aspect-ratio: 1; margin-top: 18%; }
.trio__c { aspect-ratio: 3 / 4; margin-top: 46%; }
@media (hover: hover) and (pointer: fine) { .trio figure:hover img, .numbers__photo:hover img, .case__img:hover img { transform: scale(1.03); } }

/* Aparición de fotos con recorte (una vez) */
.js-motion .clipreveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-out); }
.js-motion .clipreveal.is-in { clip-path: inset(0 0 0 0); }

/* ============ SERVICIOS ============ */
.services { overflow: hidden; }
.srv { border-top: 1px solid var(--line-d); }
.srv__item { position: relative; display: grid; grid-template-columns: 70px 1.1fr 1fr; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--line-d); cursor: default; transition: padding .35s var(--ease-out); }
.srv__item::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.srv__n { font-size: 13px; color: var(--gold); font-variant-numeric: tabular-nums; }
.srv__item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.01em; transition: color .25s ease; }
.srv__item p { font-size: 15.5px; max-width: 44ch; }
@media (hover: hover) and (pointer: fine) {
  .srv__item:hover { padding-left: 14px; }
  .srv__item:hover::before { transform: scaleX(1); }
  .srv__item:hover h3 { color: var(--gold-2); }
}
.srv__preview { position: fixed; left: 0; top: 0; z-index: 50; width: 260px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-9999px, 0, 0) scale(.92); transition: opacity .25s ease; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.srv__preview.is-on { opacity: 1; }
.srv__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (pointer: coarse) { .srv__preview { display: none; } }

/* ============ CIFRAS ============ */
.numbers__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.numbers__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.numbers__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.stats { border-top: 1px solid var(--line-l); margin-top: 8px; }
.stats li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-l); }
.stats b { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5.4vw, 72px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats li > span { font-size: 16px; color: var(--ink-2); max-width: 32ch; }
.numbers__note { margin-top: 24px; font-size: 16px; }

/* ============ CASOS (tarjetas que se apilan) ============ */
.stack { display: grid; gap: 28px; }
.case { position: sticky; top: calc(100px + var(--i) * 22px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 14px; background: var(--green-2); border: 1px solid var(--line-d); box-shadow: 0 -20px 50px -30px rgba(0,0,0,.6); min-height: min(560px, 74vh); }
.case:nth-child(2) { background: #0f4233; }
.case:nth-child(3) { background: #12493a; }
.case__n { display: block; font-size: 13px; color: var(--gold); margin-bottom: 14px; }
.case h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 16px; }
.case__text > p { font-size: 16px; max-width: 42ch; margin-bottom: 28px; }
.case { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.case__img { border-radius: 10px; overflow: hidden; width: 100%; aspect-ratio: 16 / 10; align-self: center; min-width: 0; }
.case__img--tall { aspect-ratio: 4 / 5; width: min(100%, 360px); justify-self: center; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.metric-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric-row--4 { grid-template-columns: repeat(4, 1fr); }
.metric { padding: 16px 14px; border-radius: 10px; background: rgba(5, 29, 22, .5); border: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 4px; }
.metric svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.metric b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric span { font-size: 13px; color: var(--on-dark-2); }
.donuts { display: flex; gap: 28px; }
.donut { position: relative; width: 132px; text-align: center; }
.donut svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 9; }
.donut__bg { stroke: rgba(237, 233, 220, .12); }
.donut__fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: var(--v) 100; }
.js-motion .donut__fg { stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease-out); }
.js-motion .donut.is-in .donut__fg { stroke-dasharray: var(--v) 100; }
.donut b { position: absolute; left: 0; right: 0; top: 46px; font-family: var(--display); font-weight: 400; font-size: 24px; }
.donut span { display: block; margin-top: 8px; font-size: 13px; color: var(--on-dark-2); }

/* ============ PROCESO ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 34px 30px 36px; border-radius: 12px; background: var(--ivory-2); border: 1px solid var(--line-l); transition: transform .2s var(--ease-out); }
.step__n { display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: #a8893f; margin-bottom: 30px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 16px; }

/* ============ OPINIONES ============ */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote { padding: clamp(28px, 4vw, 46px); border-radius: 14px; border: 1px solid var(--line-d); background: rgba(5, 29, 22, .35); display: flex; flex-direction: column; }
.quote__stars { color: var(--gold); letter-spacing: .2em; margin-bottom: 20px; }
.quote blockquote { font-family: var(--display); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--on-dark); margin-bottom: 26px; }
.quote figcaption { margin-top: auto; font-weight: 600; color: var(--gold-2); }

/* ============ CONTACTO ============ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__copy > p { font-size: 17px; margin-bottom: 34px; max-width: 42ch; }
.cinfo { border-top: 1px solid var(--line-l); }
.cinfo li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.cinfo span { font-size: 13px; color: #7d8a84; }
.cinfo a, .cinfo p { font-size: 17px; color: var(--ink); }
.cinfo a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .cinfo a:hover { background-size: 100% 1px; } }
.form { padding: clamp(26px, 4vw, 44px); border-radius: 14px; background: #fff; border: 1px solid var(--line-l); box-shadow: 0 30px 60px -40px rgba(11, 42, 33, .35); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-l); border-radius: 8px; padding: 13px 14px; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fbf9f4; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194, 162, 82, .25); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b4432f; }
.err { display: block; font-size: 13.5px; color: #b4432f; margin-top: 6px; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
#sendBtn { margin-top: 14px; }
.form__status { margin-top: 14px; font-size: 15px; text-align: center; color: var(--ink); }
.form__status.is-error { color: #b4432f; }
.form__status a { text-decoration: underline; }

/* Pie */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--line-d); }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line-d); }
.footer__in img { width: 150px; }
.footer__in nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer__in nav a { font-size: 15px; color: var(--on-dark-2); transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .footer__in nav a:hover { color: var(--gold-2); } }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; }
.footer__bottom p { font-size: 14px; color: var(--on-dark-2); }
.cta-bar { display: none; }

/* Aparición del texto al entrar (una vez, suave) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .js .reveal { transform: none; transition: opacity .4s ease; }
}

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: inline-flex; margin-left: auto; }
  .nav.is-open { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 10px; background: rgba(5, 29, 22, .98); }
  .nav.is-open a:not(.btn) { font-family: var(--display); font-size: 30px; color: var(--on-dark); }
  .nav.is-open .nav__cta { display: inline-flex; margin: 18px 0 0; }
  .approach__grid, .numbers__grid, .contact__grid, .head--row { grid-template-columns: 1fr; }
  .numbers__photo { max-width: 520px; }
  .case { grid-template-columns: minmax(0, 1fr); position: relative; top: 0; min-height: 0; }
  .case__img, .case__img--tall { width: 100%; aspect-ratio: 16 / 10; }
  .steps, .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 1240px) { .js-motion .intro__side { display: none; } }
@media (max-width: 640px) {
  .brand img { width: 78px; }
  .header__cta { display: none; }
  .intro__facts { width: 100%; }
  .intro__facts li { flex: 1; padding: 12px 6px; text-align: center; }
  .intro__facts b { font-size: 24px; }
  .intro__facts li > span { font-size: 12px; line-height: 1.3; }
  .js-motion .intro__content { transform: translateY(-34%); }
  .intro__actions .btn { width: 100%; }
  .srv__item { grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 24px 0; }
  .srv__item p { grid-column: 2; }
  .stats li { grid-template-columns: 1fr; gap: 6px; }
  .metric-row--4 { grid-template-columns: repeat(2, 1fr); }
  .donuts { gap: 18px; }
  .donut, .donut svg { width: 116px; } .donut svg { height: 116px; } .donut b { top: 40px; font-size: 21px; }
  .cinfo li { grid-template-columns: 1fr; gap: 2px; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio__c { display: none; }
  .cta-bar { display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; height: 54px; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); transform: translateY(160%); transition: transform .35s var(--ease-out); }
  .cta-bar.is-on { transform: none; }
  .footer { padding-bottom: 100px; }
}


/* =========================================================
   Dorado metálico (en vez de amarillo)
   ========================================================= */
.btn--gold, .marquee, .cta-bar { background: var(--gold-grad); background-size: 200% 200%; background-position: 0% 50%; }
@media (hover: hover) and (pointer: fine) { .btn--gold:hover { background: var(--gold-grad); background-size: 200% 200%; background-position: 100% 50%; } }
.intro__title em, .intro__facts b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Enlaces de servicios a sus páginas */
.srv__item h3 a { color: inherit; }
.srv__item h3 a::after { content: " ↗"; font-size: .55em; vertical-align: super; color: var(--gold); }

/* Preguntas frecuentes (fondo marfil algo más cálido) */
.faq-sec { background: var(--ivory-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.accordion { border-top: 1px solid var(--line-l); }
.qa { border-bottom: 1px solid var(--line-l); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--display); font-size: clamp(19px, 1.9vw, 23px); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-l); transition: background-color .25s ease, border-color .25s ease; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease-out); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--gold); border-color: var(--gold); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0); }
.qa__body { padding: 0 50px 24px 0; }
.qa__body p { font-size: 16px; color: var(--ink-2); }

/* Pie con enlaces internos */
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line-d); }
.footer__h { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--gold); margin: 0 0 14px; }
.footer__links ul { display: grid; gap: 8px; }
.footer__links li, .footer__links a { font-size: 14.5px; color: var(--on-dark-2); }
.footer__links a:hover { color: var(--gold-2); }

/* Páginas de servicio */
.subpage .header { background: rgba(8, 44, 34, .94); border-bottom: 1px solid var(--line-d); }
.sp-hero { padding: 150px 0 clamp(70px, 9vw, 120px); background: radial-gradient(70% 70% at 80% 20%, var(--green-2), var(--green) 60%); }
.sp-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--on-dark-2); margin-bottom: 24px; }
.crumbs a:hover { color: var(--gold-2); } .crumbs [aria-current] { color: var(--gold); }
.sp-hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 66px); line-height: 1.06; letter-spacing: -.015em; margin-bottom: 24px; }
.sp-hero__lead { font-size: clamp(17px, 1.4vw, 19px); max-width: 52ch; margin-bottom: 34px; }
.sp-hero__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.sp-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-steps { grid-template-columns: repeat(3, 1fr); }
.sp-more { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line-d); }
.sp-more div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn--ghost { border: 1px solid var(--line-d); color: var(--on-dark); background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); } }
.sp-404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 30px; }

@media (max-width: 1000px) { .faq__grid, .sp-hero__grid { grid-template-columns: 1fr; } .sp-hero__img { max-width: 420px; } .sp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__links, .sp-steps { grid-template-columns: 1fr; } .qa__body { padding-right: 0; } .sp-hero { padding-top: 120px; } }

/* Redes en el pie */
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--on-dark); transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { border-color: var(--gold); color: var(--gold-2); } }
.footer__bottom a { color: var(--on-dark-2); } .footer__bottom a:hover { color: var(--gold-2); }

/* Texto en dorado y fila de 3 métricas */
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-row--3 { grid-template-columns: repeat(3, 1fr); }
/* Dorado más profundo sobre fondos claros para que se lea bien */
.light .gold-text { background: linear-gradient(135deg, #a87c22 0%, #8a6418 50%, #b48a34 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
