/* =========================================================================
   Huella Veterinaria — hoja de estilos compartida
   Mobile-first · breakpoints 768 / 1024 / 1200
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --cream: #F7F3EC;
  --cream-2: #EFE8DC;
  --paper: #FFFCF6;
  --forest: #2F5D50;
  --forest-2: #3D7363;
  --forest-deep: #1C372F;
  --sage: #8DB3A2;
  --terra: #E8845B;
  --terra-ink: #A34A26;
  --graphite: #262624;
  --stone: #D8D2C4;
  --night: #11201B;

  --bg: var(--cream);
  --ink: var(--graphite);
  --ink-soft: #595852;
  --line: var(--stone);
  --accent: var(--forest);
  --surface: var(--paper);
  --glass: rgba(255, 252, 246, 0.72);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1320px;
  --header-h: 76px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .72, .12, 1);
  --shadow: 0 1px 2px rgba(38, 38, 36, .05), 0 12px 32px -12px rgba(47, 93, 80, .22);
  --shadow-lg: 0 2px 6px rgba(38, 38, 36, .05), 0 40px 80px -30px rgba(28, 55, 47, .35);
}

.is-night {
  --bg: var(--night);
  --ink: var(--cream);
  --ink-soft: rgba(247, 243, 236, .76);
  --line: rgba(247, 243, 236, .16);
  --accent: var(--sage);
  --surface: #182C25;
  --glass: rgba(24, 44, 37, .72);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .9s var(--ease), color .9s var(--ease);
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--terra); color: var(--graphite); }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--graphite); color: var(--cream); padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip:focus { top: 16px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, .display {
  font-family: var(--f-display);
  font-weight: 420;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.7rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.45rem + 1vw, 2.125rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-variation-settings: "SOFT" 100, "opsz" 36; letter-spacing: -0.01em; line-height: 1.2; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 36rem; line-height: 1.6; }
.muted { color: var(--ink-soft); }
.serif { font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 36; }

/* Palabras que emergen (hero, sin depender de JS) */
.rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.rise .wi { display: inline-block; animation: rise 1.15s var(--ease) both; animation-delay: calc(var(--i) * 38ms + 120ms); }
.rise .pause .wi { animation-delay: calc(var(--i) * 38ms + 620ms); }
@keyframes rise { from { transform: translateY(112%) rotate(3deg); } to { transform: none; } }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }
[data-scrub-words] .w { overflow: visible; }

.fade-in { animation: fadeIn 1s var(--ease) both; animation-delay: var(--d, .5s); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
main { position: relative; z-index: 2; }

/* ---------- Lienzo 3D y capas globales ---------- */
#webgl {
  position: fixed; inset: 0; width: 100%; height: 100vh; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease);
}
#webgl.is-ready { opacity: 1; }
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.is-night .grain { opacity: .09; }
.progress {
  position: fixed; left: 0; top: 0; z-index: 120; height: 2px; width: 100%;
  background: var(--terra); transform-origin: 0 50%; transform: scaleX(0);
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid var(--forest); opacity: 0;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .6s;
}
.cursor.is-on { opacity: .55; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(232, 132, 91, .14); border-color: var(--terra); }
.is-night .cursor { border-color: var(--cream); }

/* ---------- Botones ---------- */
.btn {
  --bg-btn: var(--forest); --fg-btn: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 12px;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 10px 24px -14px rgba(28,55,47,.6);
  transition: background-color .25s var(--ease), color .25s, border-color .25s, box-shadow .3s, transform .35s var(--ease);
  position: relative; isolation: isolate; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120px circle at var(--bx, 50%) 120%, rgba(255,255,255,.22), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { background: var(--forest-deep); }
.btn:active { transform: scale(.98); }
.btn--urgent { --bg-btn: var(--terra); --fg-btn: var(--graphite); box-shadow: 0 10px 28px -12px rgba(232,132,91,.8); }
.btn--urgent:hover { background: #F09670; }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--light { --bg-btn: var(--cream); --fg-btn: var(--forest-deep); }
.btn--light:hover { background: #fff; }
.btn--lg { min-height: 60px; padding: 1em 1.8em; font-size: 1.0625rem; border-radius: 14px; }
.btn--xl { min-height: 76px; padding: 1.1em 2em; font-size: clamp(1.125rem, 1rem + .8vw, 1.5rem); border-radius: 16px; }
.btn .num { font-variant-numeric: tabular-nums; opacity: .9; font-weight: 500; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.link {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent);
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease), color .6s;
}
.link:hover { background-size: 100% 1.5px; }
.link .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.link:hover .icon { transform: translate(2px, -2px); }

.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #4CAF7A; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .45s var(--ease), background-color .5s, box-shadow .5s, color .9s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s, background-color .9s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; color: var(--accent); transition: transform .6s var(--ease), color .9s; }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__name { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-display); font-size: 1.45rem; font-variation-settings: "SOFT" 100, "opsz" 48; letter-spacing: -.02em; }
.brand__name small { font-family: var(--f-body); font-size: .72rem; letter-spacing: .02em; color: var(--ink-soft); margin-top: 4px; font-weight: 500; }

.nav { display: none; }
.nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.nav a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 46px; padding: .6em 1.1em; font-size: .95rem; }
.header-cta .btn--ghost, .header-cta .num { display: none; }
.menu-toggle {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
  border: 1.5px solid var(--line); color: var(--ink);
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--forest-deep); color: var(--cream);
  padding: calc(var(--header-h) + 24px) var(--gutter) 120px; display: flex; flex-direction: column; gap: 32px;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .6s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); }
.mobile-menu ul { list-style: none; padding: 0; }
.mobile-menu li a {
  display: block; padding: 10px 0; font-family: var(--f-display); font-size: 2.3rem; line-height: 1.15;
  text-decoration: none; font-variation-settings: "SOFT" 100;
}
.mobile-menu li a[aria-current="page"] { color: var(--terra); }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 10px; color: rgba(247,243,236,.8); }
.menu-open .site-header { color: var(--cream); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .brand, .menu-open .menu-toggle { color: var(--cream); }
.menu-open .brand__mark { color: var(--cream); }
.menu-open .brand__name small { color: rgba(247,243,236,.7); }

/* Barra fija de llamada (móvil) + WhatsApp flotante (escritorio) */
.callbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 110;
  display: flex; gap: 8px; padding: 8px; border-radius: 18px;
  background: color-mix(in srgb, var(--graphite) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
}
.callbar__call { flex: 1; min-height: 54px; font-size: 1.05rem; }
.callbar__wa { width: 54px; min-height: 54px; padding: 0; --bg-btn: #25D366; --fg-btn: #0b2d18; }
.callbar__wa .icon { width: 26px; height: 26px; }
.wa-float {
  display: none; position: fixed; right: 28px; bottom: 28px; z-index: 110;
  width: 62px; height: 62px; border-radius: 50%; place-items: center;
  background: #25D366; color: #0b2d18; box-shadow: 0 16px 36px -12px rgba(18, 90, 50, .6);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float .icon { width: 30px; height: 30px; }
body { padding-bottom: 86px; }

/* ---------- HERO (inicio) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 32px); padding-bottom: 96px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; max-width: 38rem; }
.hero__status {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; margin-bottom: 28px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: .92rem; font-weight: 500;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__status time { font-variant-numeric: tabular-nums; font-weight: 700; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line2 { display: block; color: var(--forest); }
.hero .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 auto; }
.hero__stage { position: relative; min-height: 46vh; pointer-events: none; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: var(--glass); border: 1px solid rgba(216,210,196,.8);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35; max-width: 250px;
  transition: translate .9s var(--ease);
}
.chip strong { display: block; font-weight: 600; }
.chip div span { display: block; color: var(--ink-soft); }
.chip__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--cream); flex: none; }
.chip__ico--terra { background: var(--terra); color: var(--graphite); }
.chip__ico .icon { width: 22px; height: 22px; }
.chip--a { top: 4%; right: 2%; }
.chip--b { bottom: 10%; left: 0; }
.chip--c { top: 44%; right: -2%; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .82rem; color: var(--ink-soft);
}
.scroll-cue i { width: 1.5px; height: 44px; background: linear-gradient(var(--ink) 50%, transparent 0) 0 0 / 100% 200%; opacity: .5; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* ---------- Banda de urgencias ---------- */
.urgent-band { position: relative; z-index: 2; background: var(--forest-deep); color: var(--cream); overflow: hidden; }
.urgent-band__inner { display: grid; gap: 20px; padding-block: 36px; align-items: center; }
.urgent-band__text { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); max-width: 44rem; }
.urgent-band__text strong { font-family: var(--f-display); font-weight: 500; font-size: 1.2em; display: block; font-variation-settings: "SOFT" 100; }
.marquee { border-top: 1px solid rgba(247,243,236,.14); padding-block: 14px; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; padding-right: 48px; font-family: var(--f-display); font-size: 1.35rem; font-style: italic; color: rgba(247,243,236,.8); }
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track svg { width: 18px; height: 18px; color: var(--terra); }
.no-anim .marquee__track, .reduce .marquee__track { animation: none; }

/* ---------- Manifiesto ---------- */
.manifesto { min-height: 110vh; display: flex; align-items: center; }
.manifesto__text {
  font-family: var(--f-display); font-weight: 350; font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.08; letter-spacing: -.025em; max-width: 15.5em;
}
.manifesto__foot { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; }
.manifesto__foot p { max-width: 30rem; color: var(--ink-soft); }
.signature { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.signature svg { width: 40px; height: 40px; color: var(--terra); }

/* ---------- Por qué Huella (scrollytelling con capítulo nocturno) ---------- */
.why__head { padding-bottom: 24px; display: grid; gap: 16px; }
.why__grid { display: grid; }
.why__stage { display: none; }
.why-step { min-height: 92vh; display: flex; align-items: center; padding-block: 40px; }
.why-step__card {
  max-width: 34rem; padding: 32px 28px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); transition: opacity .6s var(--ease), background-color .9s;
}
.why-step__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: var(--bg); margin-bottom: 24px; transition: background-color .9s, color .9s; }
.why-step__ico .icon { width: 28px; height: 28px; }
.why-step h3 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); margin-bottom: 16px; }
.why-step__lead { font-family: var(--f-display); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); line-height: 1.4; font-variation-settings: "SOFT" 100, "opsz" 36; margin-bottom: 18px; }
.why-step p + p { color: var(--ink-soft); }
.why-step .clock-line { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 500; }
.why-step .clock-line time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--terra); font-size: 1.15em; }
.why-step .btn { margin-top: 24px; }
.species { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.species li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; }

/* ---------- Servicios (carril horizontal) ---------- */
.hs-wrap { position: relative; }
.hs { position: relative; padding-block: clamp(88px, 10vw, 140px) 64px; overflow: hidden; }
.hs__head { display: grid; gap: 20px; margin-bottom: 48px; }
.hs__head p { max-width: 34rem; color: var(--ink-soft); }
.hs__track {
  display: flex; gap: 20px; padding-inline: var(--gutter); padding-bottom: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.svc-slot { flex: 0 0 min(82vw, 360px); display: flex; scroll-snap-align: start; transform-origin: 0 50%; }
.hs__track::-webkit-scrollbar { display: none; }
.hs__bar { display: none; }

.svc-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; flex: 1; min-height: 440px;
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow); transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), background-color .5s var(--ease), color .5s, box-shadow .5s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232,132,91,.16), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover { background: var(--forest); color: var(--cream); box-shadow: var(--shadow-lg); }
.svc-card__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--cream-2); color: var(--forest); transform: translateZ(40px); transition: background-color .5s, color .5s; }
.svc-card:hover .svc-card__ico { background: var(--terra); color: var(--graphite); }
.svc-card__ico .icon { width: 30px; height: 30px; }
.svc-card h3 { margin-top: auto; padding-top: 48px; font-size: 1.65rem; transform: translateZ(30px); }
.svc-card p { margin-top: 12px; color: inherit; opacity: .8; transform: translateZ(20px); }
.svc-card .link { margin-top: 24px; color: inherit; transform: translateZ(24px); }
.svc-card--more { background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-style: dashed; box-shadow: none; justify-content: center; align-items: flex-start; }
.svc-card--more h3 { margin-top: 0; padding-top: 0; }
.is-night .svc-card__ico { background: rgba(247,243,236,.08); color: var(--sage); }

/* ---------- Pulso: compromisos verificables ---------- */
.pulse { min-height: 100vh; display: flex; align-items: center; }
.pulse__grid { display: grid; gap: clamp(150px, 32vh, 320px); width: 100%; }
.pulse__intro { max-width: 32rem; display: grid; gap: 16px; }
.vitals { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.vital { background: color-mix(in srgb, var(--bg) 86%, transparent); padding: 28px 22px; display: flex; flex-direction: column; gap: 8px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vital__n { font-family: var(--f-display); font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "SOFT" 100, "opsz" 144; color: var(--forest); font-variant-numeric: tabular-nums; }
.vital__n small { font-size: .42em; margin-left: .12em; letter-spacing: 0; }
.vital p { font-size: .98rem; color: var(--ink-soft); }

/* ---------- Testimonio ---------- */
.quote-sec { min-height: 100vh; display: flex; align-items: center; }
.quote-sec .container { display: grid; }
.quote { max-width: 42rem; justify-self: end; }
.quote blockquote p {
  font-family: var(--f-display); font-weight: 360; font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.15; letter-spacing: -.02em;
}
.quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--ink-soft); }
.quote figcaption .stars { color: var(--terra); letter-spacing: 2px; font-size: 1.1rem; }
.placeholder-note { display: inline-block; font-size: .8rem; padding: 3px 10px; border-radius: 6px; background: rgba(232,132,91,.14); color: var(--terra-ink); }
.is-night .placeholder-note { color: var(--terra); }

/* ---------- Fotos (marcos para fotografía real) ---------- */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--forest); isolation: isolate; }
.photo__media {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(247,243,236,.35), transparent 55%),
    radial-gradient(90% 70% at 90% 100%, rgba(232,132,91,.55), transparent 60%),
    linear-gradient(160deg, #3D7363, #1C372F);
}
.photo__media img { width: 100%; height: 100%; object-fit: cover; }
.photo__mark { position: absolute; right: -8%; bottom: -12%; width: 70%; color: rgba(247,243,236,.12); z-index: 1; }
.photo__cap {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px; background: rgba(17,32,27,.55); color: var(--cream); font-size: .82rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.photo__cap .icon { width: 16px; height: 16px; }

/* ---------- Equipo (teaser) ---------- */
.team-teaser__grid { display: grid; gap: 48px; align-items: center; }
.team-teaser__visual { position: relative; }
.team-teaser__visual .photo--main { aspect-ratio: 4 / 5; }
.team-teaser__visual .photo--float { position: absolute; width: 42%; aspect-ratio: 1; right: -4%; bottom: -8%; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); transition: border-color .9s; }
.team-teaser__copy { display: grid; gap: 20px; max-width: 30rem; }
.team-teaser__copy .btn { justify-self: start; margin-top: 8px; }

/* ---------- Visítanos ---------- */
.visit__grid { display: grid; gap: 24px; }
.info-card {
  padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start;
  transition: background-color .9s, border-color .9s;
}
.info-card h3 { display: flex; align-items: center; gap: 12px; }
.info-card h3 .icon { color: var(--accent); width: 26px; height: 26px; }
.info-card a { font-weight: 600; }
.hours { display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.hours dt { color: var(--ink-soft); }
.hours dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-urgent dd { color: var(--terra-ink); }
.is-night .hours .is-urgent dd { color: var(--terra); }
.info-card--dark { background: var(--forest-deep); color: var(--cream); border-color: transparent; }
.info-card--dark h3 .icon { color: var(--terra); }
.info-card--dark p { color: rgba(247,243,236,.8); }

/* ---------- CTA final ---------- */
.final { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.final .container { display: grid; justify-items: center; gap: 24px; }
.final h2 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 6rem); font-weight: 380; letter-spacing: -.035em; line-height: 1; font-variation-settings: "SOFT" 100, "opsz" 144; max-width: 11em; }
.final p { max-width: 32rem; color: var(--ink-soft); font-size: 1.125rem; }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* ---------- Pie ---------- */
.site-footer { position: relative; z-index: 2; background: var(--forest-deep); color: var(--cream); padding-top: clamp(64px, 8vw, 110px); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__top { display: grid; gap: 40px; padding-bottom: 56px; }
.footer__brand { display: grid; gap: 18px; max-width: 24rem; }
.footer__brand .brand { color: var(--cream); }
.footer__brand .brand__mark { color: var(--terra); }
.footer__brand .brand__name small { color: rgba(247,243,236,.65); }
.footer__brand p { color: rgba(247,243,236,.78); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer__cols h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 600; margin-bottom: 14px; color: var(--sage); letter-spacing: 0; }
.footer__cols ul { list-style: none; padding: 0; display: grid; gap: 8px; color: rgba(247,243,236,.85); }
.footer__big {
  font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 300;
  font-size: clamp(4.5rem, 18vw, 17rem); line-height: .8; letter-spacing: -.05em; color: rgba(247,243,236,.08);
  white-space: nowrap; overflow: hidden; user-select: none; margin-bottom: -.1em;
}
.footer__bottom { border-top: 1px solid rgba(247,243,236,.14); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9rem; color: rgba(247,243,236,.7); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; min-height: 88svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
.page-hero--short { min-height: 70svh; }
.page-hero__copy { max-width: 40rem; position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: 24px; }
.page-hero .lead { margin-bottom: 32px; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 24px; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .95rem;
  text-decoration: none; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .25s, color .25s;
}
.jump a:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.jump .icon { width: 18px; height: 18px; }

/* ---------- Servicios (página) ---------- */
.svc-intro { padding-block: 40px 0; }
.svc-intro p { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.3; max-width: 26em; font-variation-settings: "SOFT" 100, "opsz" 72; }
.svc-row { min-height: 96vh; display: flex; align-items: center; padding-block: 64px; }
.svc-row__card {
  position: relative; max-width: 36rem; padding: 36px 30px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow);
}
.svc-row__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.svc-row__ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--forest); color: var(--cream); }
.svc-row__ico .icon { width: 30px; height: 30px; }
.svc-row__tag { font-size: .9rem; color: var(--ink-soft); }
.svc-row h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: 16px; }
.svc-row .svc-row__lead { font-size: 1.125rem; margin-bottom: 24px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%232F5D50' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- Urgencias ---------- */
.urg-hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 32px); padding-bottom: 80px; }
.urg-hero__copy { max-width: 46rem; }
.urg-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 3.5rem); margin-bottom: 20px; }
.urg-hero .lead { color: var(--ink); opacity: .9; margin-bottom: 36px; font-size: clamp(1.125rem, 1rem + .5vw, 1.35rem); }
.urg-phone { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.urg-phone .btn { width: 100%; max-width: 520px; justify-content: space-between; }
.urg-phone .btn .num { font-size: 1.2em; font-weight: 700; letter-spacing: .01em; }
.urg-status { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.urg-status time { font-weight: 700; font-variant-numeric: tabular-nums; }
.urg-alt { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 8px; }
.urg-alt a { color: var(--cream); }
.steps { display: grid; gap: 20px; list-style: none; padding: 0; counter-reset: s; }
.step {
  counter-increment: s; position: relative; padding: 32px 28px 28px; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.step::before {
  content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--terra); color: var(--graphite); font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); }
.urg-empathy { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.25; max-width: 24em; margin-bottom: 48px; font-variation-settings: "SOFT" 100, "opsz" 72; }
.signs { display: grid; gap: 12px; list-style: none; padding: 0; }
.signs li {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--line); font-weight: 500; font-size: 1.0625rem;
}
.signs li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--terra); flex: none; box-shadow: 0 0 0 5px rgba(232,132,91,.18); }
.doubt { text-align: center; display: grid; justify-items: center; gap: 28px; }
.doubt p.display { font-size: clamp(2rem, 1.4rem + 3vw, 4rem); line-height: 1.1; max-width: 14em; letter-spacing: -.03em; font-weight: 380; }

/* ---------- Equipo (página) ---------- */
.story__grid { display: grid; gap: 48px; align-items: center; }
.story__grid .photo { aspect-ratio: 5 / 4; }
.story__text { display: grid; gap: 20px; max-width: 34rem; }
.story__text p:first-of-type { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.8rem); line-height: 1.35; font-variation-settings: "SOFT" 100, "opsz" 48; }
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; gap: 12px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.value h3 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 3rem); font-weight: 380; }
.value p { color: var(--ink-soft); max-width: 34rem; }
.team-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; }
.member { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; display: grid; gap: 14px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.member .photo { aspect-ratio: 4 / 5; }
.member h3 { font-size: 1.3rem; }
.member p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Contacto ---------- */
.contact-quick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 8px; }
.qc {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; text-decoration: none;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.qc:hover { transform: translateY(-4px); background: var(--forest); color: var(--cream); }
.qc .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 6px; }
.qc:hover .icon { color: var(--terra); }
.qc strong { font-size: 1.05rem; }
.qc span { font-size: .92rem; opacity: .8; }
.qc--urgent { background: var(--terra); color: var(--graphite); border-color: transparent; }
.qc--urgent .icon { color: var(--graphite); }
.contact__grid { display: grid; gap: 24px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); margin-bottom: 28px; }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .98rem; }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--stone);
  background: var(--cream); font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23262624' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(47,93,80,.15); background: #fff; }
.field.has-error input, .field.has-error select { border-color: #B3261E; }
.field__err { color: #B3261E; font-size: .9rem; min-height: 0; }
.field__err:empty { display: none; }
.form-legal { font-size: .88rem; color: var(--ink-soft); }
.form-status { font-weight: 500; padding: 0; border-radius: 12px; }
.form-status:not(:empty) { padding: 14px 16px; background: var(--cream-2); }
.form-status.is-ok { background: #E3F0E8; color: #1D5B3A; }
.form-status.is-error { background: #FBE9E7; color: #8C1D18; }
.form-status.is-demo { background: #FFF1E6; color: #7A3A18; }
.hp { position: absolute; left: -9999px; }
.map-box {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--forest-deep);
  display: grid; place-items: center; text-align: center; color: var(--cream); padding: 24px;
}
.map-box::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(247,243,236,.12) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(247,243,236,.12) 38px 39px),
    radial-gradient(circle at 60% 45%, rgba(232,132,91,.8) 0 6px, transparent 7px);
}
.map-box > div { position: relative; display: grid; gap: 14px; justify-items: center; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box.is-loaded { padding: 0; }

/* ---------- Legal ---------- */
.legal { padding-top: calc(var(--header-h) + 72px); padding-bottom: 120px; }
.legal article { max-width: 46rem; }
.legal h1 { margin-bottom: 16px; }
.legal h2 { margin: 48px 0 14px; font-size: 1.6rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 1.2em; }
.legal .notice { padding: 16px 18px; border-radius: 14px; background: #FFF1E6; color: #7A3A18; margin: 24px 0 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 96px; z-index: 130; max-width: 460px;
  padding: 22px; border-radius: 20px; background: var(--graphite); color: var(--cream);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: translateY(20px); opacity: 0;
  transition: transform .45s var(--ease), opacity .45s;
}
.cookie.is-visible { transform: none; opacity: 1; }
.cookie p { font-size: .94rem; color: rgba(247,243,236,.85); margin-bottom: 16px; }
.cookie a { color: var(--cream); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { min-height: 44px; padding: .55em 1em; font-size: .92rem; flex: 1 1 auto; }
.cookie .btn--ghost { --fg-btn: var(--cream); }
.cookie .btn--ghost:hover { background: var(--cream); color: var(--graphite); }
.cookie__panel { margin: 4px 0 16px; display: grid; gap: 10px; font-size: .92rem; }
.cookie__panel label { display: flex; gap: 10px; align-items: center; }
.cookie__panel input { width: 18px; height: 18px; accent-color: var(--terra); }

/* ---------- Titulares de sección ---------- */
.sec-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 40rem; }
.sec-head p { color: var(--ink-soft); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--accent); font-size: .98rem; }
.kicker .icon { width: 20px; height: 20px; }

/* =========================================================================
   Tablet ≥ 768
   ========================================================================= */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .wa-float { display: grid; }
  .cookie { left: 28px; bottom: 28px; right: auto; }
  .hero__actions .btn { flex: 0 0 auto; }
  .urgent-band__inner { grid-template-columns: 1fr auto; gap: 40px; padding-block: 44px; }
  .vitals { grid-template-columns: repeat(4, 1fr); }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .visit__grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .signs { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: span 2; }
  .header-cta .num { display: inline; }
  .value { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: baseline; }
}

/* =========================================================================
   Escritorio ≥ 1024
   ========================================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-cta .btn--ghost { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero__stage { min-height: 70vh; }
  .why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .why__stage { display: flex; position: sticky; top: 0; height: 100vh; align-items: flex-end; padding-bottom: 64px; }
  .why__index { list-style: none; padding: 0; display: grid; gap: 6px; }
  .why__index li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-weight: 500; transition: color .4s; }
  .why__index li::before { content: ""; width: 24px; height: 1.5px; background: currentColor; opacity: .5; transition: width .5s var(--ease), opacity .4s; }
  .why__index li.is-active { color: var(--ink); }
  .why__index li.is-active::before { width: 56px; opacity: 1; background: var(--terra); }
  .why-step__card { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding: 0; opacity: .28; }
  .why-step.is-active .why-step__card { opacity: 1; }
  .no-anim .why-step__card, .reduce-motion .why-step__card { opacity: 1; }
  .hs { height: 100vh; min-height: 680px; display: flex; flex-direction: column; justify-content: center; padding-block: 90px 40px; }
  .hs__head { grid-template-columns: 1fr auto; align-items: end; margin-bottom: 40px; }
  .hs__track { overflow: visible; scroll-snap-type: none; width: max-content; padding-right: 30vw; }
  .svc-slot { flex-basis: clamp(300px, 24vw, 380px); }
  .svc-card { min-height: min(52vh, 480px); }
  .hs__bar { display: block; margin: 28px var(--gutter) 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 320px; }
  .hs__bar span { display: block; height: 100%; background: var(--terra); transform: scaleX(0); transform-origin: 0 50%; }
  .team-teaser__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; }
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; }
  .contact__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
  .contact__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
  .footer__top { grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 56px; }
  .svc-row--alt .svc-row__card { margin-left: auto; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .brand__name small, .header-cta .num { display: none; }
  .nav a { padding: 10px 10px; }
}

@media (min-width: 1200px) {
  .header-cta .btn { padding: .6em 1.25em; }
}

@media (max-width: 1023px) {
  .hero { align-items: flex-end; }
  .hero__grid { grid-template-rows: auto; }
  .hero__stage { position: absolute; inset: calc(var(--header-h)) 0 auto 0; height: 44vh; min-height: 0; order: -1; }
  .hero__copy { padding-top: 38vh; }
  .chip { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 767px) {
  .hero__copy { padding-top: 32vh; }
  .btn { white-space: normal; text-align: center; }
  .hero__actions .btn { width: 100%; }
  .brand__name small { display: none; }
  .brand__name { font-size: 1.6rem; }
  .header-cta .btn { padding: .55em .9em; white-space: nowrap; }
  .why-step { min-height: 80vh; }
  .svc-row { min-height: 0; padding-block: 40px; }
  .final h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rise .wi { animation: none; }
  .why-step__card { opacity: 1 !important; }
  .marquee__track { animation: none !important; }
}
