/* =========================================================
   SAMMAWEB · Home final (27/10/2026)
   Base: home v7 con sistema de efectos (GSAP + Lenis) + historia v7
   (sw-story.css, encapsulada en #sw-story).
   Lo propio de esta marca: recortes cuadrados y la esquina roja
   del isotipo («los que buscan comprarte»); las cortinas abren
   desde arriba a la izquierda, desde la esquina.
   ========================================================= */
:root {
  --night: #15132A;
  --night-2: #1D1A33;
  --plum: #322E43;
  --ink-d: #EDEBF3;
  --mute-d: #A9A4BC;
  --faint-d: #6E6986;
  --red: #D0172C;
  --red-hot: #E52238;
  --red-deep: #A3101F;
  --paper: #F5F4F7;
  --white: #FFFFFF;
  --ink: #15132A;
  --mute: #5E5A70;
  --line: #DEDBE6;
  --line-d: rgba(255, 255, 255, .1);

  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-mono: "Archivo", "Arial Narrow", Arial, sans-serif;   /* era JetBrains Mono (15/11/2026) */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --hd: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--night); color: var(--ink-d);
  font: 400 17px/1.6 var(--f-display); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: normal; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 3; }
/* Textos chicos de apoyo (15/11/2026): antes JetBrains Mono en mayúsculas espaciadas; ahora la misma Archivo del sitio,
   en minúsculas y con peso medio. La clase sigue llamándose .mono para no tocar todo el HTML. */
.mono { font-family: var(--f-display); font-size: 14px; letter-spacing: .005em; text-transform: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.display { font-family: var(--f-display); font-stretch: 68%; font-weight: 600; text-transform: uppercase; line-height: .94; letter-spacing: -.005em; }
.display em { color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }

/* La esquina roja chiquita: reemplaza al rombo de Rescue One */
.corner-tick {
  display: inline-block; width: 10px; height: 10px; flex: none;
  border-top: 2px solid var(--red); border-left: 2px solid var(--red);
  transform: translate(-1px, -2px);
}
.corner-tick--white { border-color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mute-d); }
.eyebrow .mono, .eyebrow__t { color: inherit; font-size: 15px; font-weight: 600; letter-spacing: .005em; }
.eyebrow--dark { color: var(--mute); }

.h2 { font-size: clamp(40px, 6.2vw, 92px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--mute); max-width: 52ch; }

.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); max-width: 1000px; }
.sec-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.sec-head--row > div { display: grid; gap: 22px; max-width: 900px; }

/* Subrayado direccional */
.ulink { position: relative; display: inline-block; }
.ulink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Botones: cuadrados, relleno de abajo hacia arriba, texto que rueda y esquina que aparece ---------- */
.btn {
  --btn-bg: var(--red); --btn-hover: var(--red-hot); --btn-fg: #fff; --btn-corner: var(--red);
  position: relative; isolation: isolate; display: inline-flex; align-items: stretch;
  height: 56px; font-family: var(--f-display); font-weight: 600; font-size: 15px; font-stretch: 85%;
  letter-spacing: .05em; text-transform: uppercase; will-change: transform;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-bg); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.btn:hover::after { transform: scaleY(1); }
.btn__label { position: relative; overflow: hidden; display: inline-flex; align-items: center; padding: 0 24px; color: transparent; white-space: nowrap; }
.btn__label::before, .btn__label::after {
  content: attr(data-text); position: absolute; left: 0; right: 0; height: 100%;
  display: flex; align-items: center; padding-left: 24px; color: var(--btn-fg);
  transition: transform .55s var(--ease);
}
.btn__label::before { top: 0; }
.btn__label::after { top: 100%; }
.btn:hover .btn__label::before, .btn:hover .btn__label::after { transform: translateY(-100%); }
.btn__icon { width: 56px; display: grid; place-items: center; border-left: 1px solid rgba(0, 0, 0, .16); }
.btn__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--btn-fg); stroke-width: 1.8; transition: transform .55s var(--ease); }
.btn:hover .btn__icon svg { transform: translateX(4px); }
/* la esquina del logo se asoma arriba a la izquierda al pasar el mouse (main.js agrega el span) */
.btn__tick {
  position: absolute; left: -7px; top: -7px; width: 12px; height: 12px; pointer-events: none;
  border-top: 2px solid var(--btn-corner); border-left: 2px solid var(--btn-corner);
  opacity: 0; transform: translate(5px, 5px); transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.btn:hover .btn__tick { opacity: 1; transform: none; }
.btn--ghost { --btn-bg: transparent; --btn-hover: rgba(255, 255, 255, .08); --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--white { --btn-bg: #fff; --btn-hover: var(--paper); --btn-fg: var(--ink); --btn-corner: #fff; }
.btn--white .btn__icon { border-color: rgba(21, 19, 42, .12); }
.btn--sm { height: 44px; font-size: 13px; }
.btn--sm .btn__label { padding: 0 16px; }
.btn--sm .btn__label::before, .btn--sm .btn__label::after { padding-left: 16px; }
.btn--sm .btn__icon { width: 44px; }
.btn--sm .btn__icon svg { width: 17px; height: 17px; }

/* ---------- Fondos decorativos ---------- */
.grain {
  position: absolute; inset: -50%; pointer-events: none; z-index: 2; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Isotipo en SVG (preloader y escena) ---------- */
.iso__frame { fill: none; stroke: #fff; stroke-width: 22; stroke-linejoin: miter; stroke-linecap: butt; }
.iso__corner { fill: var(--red); }

/* =========================================================
   PRELOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--night); display: none; place-items: center; }
.js .loader { display: grid; }
.no-js .loader, .loader.is-skipped { display: none !important; }
.loader__inner { display: grid; justify-items: center; gap: 30px; }
.loader__iso { width: 96px; height: 96px; overflow: visible; }
.loader__meta { display: flex; gap: 18px; color: var(--faint-d); }
.loader__count { color: #fff; min-width: 3ch; }

/* =========================================================
   ENTRADA: pregunta que habilita el sonido
   ========================================================= */
.gate { position: fixed; inset: 0; z-index: 290; display: grid; place-items: center; padding: 24px; background: rgba(21, 19, 42, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.gate[hidden] { display: none; }
.gate__inner { position: relative; display: grid; justify-items: center; gap: 30px; text-align: center; max-width: 860px; }
.gate__iso { width: 64px; height: 64px; overflow: visible; }
.gate__q { font-size: clamp(40px, 6.2vw, 92px); color: #fff; }
.gate__btns { display: flex; gap: 14px; }
.gate__btns .btn { height: 64px; font-size: 18px; min-width: 150px; justify-content: center; }
.gate__btns .btn__label { flex: 1; justify-content: center; padding: 0 30px; }
.gate__btns .btn__label::before, .gate__btns .btn__label::after { justify-content: center; padding-left: 0; }
.gate__note { display: flex; align-items: center; gap: 10px; color: var(--mute-d); font-size: 14px; }
/* Parlante con dos ondas que salen cada 2,4 s (las tres <i> del aviso) */
.gate__note { color: var(--ink-d); font-size: 15px; gap: 14px; }
.gate__eq { position: relative; display: block; flex: none; width: 22px; height: 18px; transform: scale(1.4); transform-origin: right center; }
.gate__eq i { position: absolute; }
.gate__eq i:nth-child(1) { left: 0; top: 3px; width: 10px; height: 12px; background: var(--red); clip-path: polygon(0 30%, 40% 30%, 100% 0, 100% 100%, 40% 70%, 0 70%); animation: gate-parlante 2.4s ease-out infinite; }
.gate__eq i:nth-child(2), .gate__eq i:nth-child(3) { border: 2px solid transparent; border-right-color: var(--red); border-radius: 50%; opacity: 0; animation: gate-onda 2.4s ease-out infinite; }
.gate__eq i:nth-child(2) { left: 4px; top: 4px; width: 10px; height: 10px; }
.gate__eq i:nth-child(3) { left: 1px; top: 0; width: 18px; height: 18px; animation-delay: .22s; }
@keyframes gate-parlante { 0%, 18%, 100% { transform: scale(1); } 7% { transform: scale(1.18); } }
@keyframes gate-onda { 0% { opacity: 0; transform: translateX(-3px) scale(.7); } 14% { opacity: 1; transform: none; } 55%, 100% { opacity: 0; transform: translateX(4px) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .gate__eq i { animation: none !important; } .gate__eq i:nth-child(2), .gate__eq i:nth-child(3) { opacity: 1; } }
.gate__reply { min-height: 1.4em; color: var(--ink-d); font-size: 17px; }
.no-js .gate { display: none; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 160; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   CURSOR: solo la esquina roja del isotipo, como punta de flecha.
   Es el cursor del sistema (sin retraso); la punta es el vértice.
   En links y botones, la misma esquina un poco más grande.
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  html, html *, html *::before, html *::after { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M1 1H19V6.5H6.5V19H1Z' fill='%23D0172C' stroke='%23fff' stroke-opacity='.9' stroke-width='1'/%3E%3C/svg%3E") 1 1, auto !important; }
  html a, html a *, html button, html button *, html summary, html summary *, html label, html [role="tab"], html [role="tab"] * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M1 1H25V8H8V25H1Z' fill='%23D0172C' stroke='%23fff' stroke-opacity='.9' stroke-width='1'/%3E%3C/svg%3E") 1 1, pointer !important; }
  html button:disabled, html button:disabled * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M1 1H19V6.5H6.5V19H1Z' fill='%23D0172C' fill-opacity='.4' stroke='%23fff' stroke-opacity='.6' stroke-width='1'/%3E%3C/svg%3E") 1 1, not-allowed !important; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150; height: var(--hd);
  transition: transform .6s var(--ease), background-color .4s, height .4s var(--ease), box-shadow .4s;
}
.header__in { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.header__logo img { width: 150px; height: auto; }
.header.is-scrolled { height: 62px; background: rgba(21, 19, 42, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line-d); }
.header.is-hidden { transform: translateY(-100%); }
.nav { position: relative; display: flex; gap: 2px; margin-left: auto; }
.nav__link { position: relative; z-index: 1; padding: 9px 14px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ink-d); }
.nav__link span { position: relative; display: block; overflow: hidden; color: transparent; }
.nav__link span::before, .nav__link span::after { content: attr(data-text); position: absolute; left: 0; right: 0; color: var(--ink-d); transition: transform .55s var(--ease); }
.nav__link span::before { top: 0; }
.nav__link span::after { top: 100%; }
.nav__link:hover span::before, .nav__link:hover span::after { transform: translateY(-100%); }
.nav__link.is-active span::before, .nav__link.is-active span::after { color: #fff; }
.nav__indicator {
  position: absolute; left: 0; top: 0; height: 100%; width: 0; z-index: 0;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s;
}
.nav__indicator::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; z-index: 3; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Menú móvil: cortina roja que se abre desde la esquina superior izquierda */
.menu {
  position: fixed; inset: 0; z-index: 140; background: var(--red); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hd) + 40px) var(--gutter) 32px;
  clip-path: polygon(0 0, 0 0, 0 0); visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.menu-open .menu { clip-path: polygon(0 0, 250% 0, 0 250%); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a { display: block; overflow: hidden; font-stretch: 68%; font-weight: 600; text-transform: uppercase; font-size: clamp(44px, 12vw, 72px); line-height: 1.02; }
.menu__nav a span { display: block; transform: translateY(105%); transition: transform .8s var(--ease); }
.menu-open .menu__nav a span { transform: none; }
.menu-open .menu__nav a:nth-child(1) span { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(2) span { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(3) span { transition-delay: .35s; }
.menu-open .menu__nav a:nth-child(4) span { transition-delay: .4s; }
.menu-open .menu__nav a:nth-child(5) span { transition-delay: .45s; }
.menu__foot { display: grid; gap: 8px; color: rgba(255, 255, 255, .8); }

/* =========================================================
   1 · HERO: foto completa de Gio, como la home actual
   ========================================================= */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hd) + 48px) 0 32px; display: flex; flex-direction: column; overflow: hidden; background: var(--night); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 32%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(21, 19, 42, .9) 0%, rgba(21, 19, 42, .66) 32%, rgba(21, 19, 42, .12) 58%, rgba(21, 19, 42, 0) 72%),
  linear-gradient(0deg, var(--night) 0%, rgba(21, 19, 42, .7) 12%, rgba(21, 19, 42, 0) 32%),
  linear-gradient(180deg, rgba(21, 19, 42, .6) 0%, rgba(21, 19, 42, 0) 20%); }
.hero .grain { z-index: 0; }
.hero__wrap { flex: 1; display: flex; align-items: center; }
.hero__content { position: relative; display: grid; gap: 24px; max-width: 760px; padding-top: clamp(20px, 4vh, 48px); }
/* la esquina roja grande arriba a la izquierda del texto, como en la home actual */
.hero__corner { position: absolute; left: max(calc(var(--gutter) * -1 + 4px), calc(clamp(34px, 5.4vw, 92px) * -1)); top: calc(clamp(30px, 5vh, 60px) * -1); width: clamp(52px, 5.6vw, 84px); height: clamp(58px, 6.4vw, 96px); border-top: clamp(11px, 1.15vw, 17px) solid var(--red); border-left: clamp(11px, 1.15vw, 17px) solid var(--red); }
.hero__kicker { font-size: 17px; font-weight: 500; letter-spacing: .005em; color: var(--ink-d); }   /* antes mayúsculas espaciadas (15/11/2026) */
.hero__title { font-family: var(--f-display); font-stretch: 90%; font-weight: 750; font-size: clamp(34px, 5.1vw, 86px); line-height: 1; letter-spacing: -.02em; color: #fff; text-shadow: 0 4px 40px rgba(10, 9, 22, .45); }
.hero__line { display: block; white-space: nowrap; }
/* la máscara de la entrada (SplitText) se estira hacia abajo: con interlineado 1 cortaba la g y la p */
.hero__title .split-line-mask { padding-bottom: .18em; margin-bottom: -.18em; }   /* 3 renglones: «y marketing digital» va junto */
.hero__title em { color: var(--red-hot); }
.hero__lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-d); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__bottom { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: clamp(36px, 5vh, 64px); padding-top: 26px; border-top: 1px solid var(--line-d); }
/* Cifras del hero (15/11/2026): una franja, cada cifra con su texto en el mismo renglón, separadas por líneas finas */
.proof { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 14px; }
.proof li { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; padding-inline: clamp(16px, 2.2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .16); line-height: 1; }
.proof li:first-child { padding-left: 0; border-left: 0; }
.proof b { font-stretch: 75%; font-weight: 650; font-size: clamp(24px, 2.1vw, 32px); line-height: 1; color: #fff; }
.proof span { font-size: 15px; color: var(--mute-d); line-height: 1; }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--mute-d); flex: none; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--red); animation: drop 1.8s var(--ease-in-out) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* La historia va entre el hero y los servicios, sobre el mismo fondo */
#sw-story { position: relative; z-index: 1; }
/* el fondo del último capítulo se funde con el de los servicios: solo una franja al borde (15/11/2026: antes era
   75vh y tapaba la mitad de abajo del dibujo del capítulo 05) */
#sw-story.sw-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(21, 19, 42, 0) 0%, rgba(21, 19, 42, .6) 60%, var(--night) 100%); }

/* Sonido */
.sound { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; color: var(--ink-d); border: 1px solid rgba(255, 255, 255, .18); transition: border-color .3s, background-color .3s; }
.sound:hover { border-color: rgba(255, 255, 255, .4); }
.sound__bars { display: flex; gap: 2px; align-items: end; height: 12px; }
.sound__bars i { width: 2px; height: 30%; background: var(--red); }
.sound[aria-pressed="true"] { background: rgba(208, 23, 44, .14); border-color: var(--red); }
.sound[aria-pressed="true"] .sound__bars i { animation: eq .9s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: .2s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { from { height: 25%; } to { height: 100%; } }
.sound--hd { margin-left: 4px; padding: 9px 12px; font-size: 11px; }
.sound--hd .sound__txt { min-width: 7ch; text-align: left; }

/* =========================================================
   6 · ACCESO AL DIAGNÓSTICO (el test está en diagnostico/)
   ========================================================= */
.diag { position: relative; background: var(--night); padding: clamp(100px, 12vw, 170px) 0; }
.diag__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.diag__txt { display: grid; gap: 24px; justify-items: start; }
.diag .h2 { color: #fff; font-size: clamp(44px, 5.6vw, 88px); }
.diag__lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-d); max-width: 46ch; }
.diag__esc { display: block; width: 100%; aspect-ratio: 520 / 460; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-d), 0 40px 80px -50px #000; overflow: hidden; transition: transform .5s var(--ease); }
.diag__esc:hover { transform: translateY(-4px); }
.diag__esc .esc { display: block; width: 100%; height: 100%; font-family: var(--f-display); }

/* =========================================================
   3 · SERVICIOS (suena «Llevamos casi dos décadas… Sammaweb.»)
   ========================================================= */
.services { position: relative; padding: clamp(100px, 13vw, 190px) 0 clamp(90px, 11vw, 150px); background: var(--night); overflow: hidden; }
.services .h2 { color: #fff; }
.services__title { position: relative; padding-left: clamp(30px, 3.4vw, 50px); }
/* la esquina roja del logo, antes del título */
.services__title::before { content: ""; position: absolute; left: 0; top: .02em; width: clamp(16px, 1.8vw, 26px); height: clamp(16px, 1.8vw, 26px); border-top: clamp(4px, .45vw, 6px) solid var(--red); border-left: clamp(4px, .45vw, 6px) solid var(--red); }
.svc-list { border-top: 1px solid var(--line-d); }
.svc { position: relative; border-bottom: 1px solid var(--line-d); }
.svc > .svc__row { transition: opacity .5s var(--ease); position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center; padding: clamp(28px, 3.4vw, 46px) 0; isolation: isolate; }
.svc > .svc__row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--red); clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease); }
.svc:hover > a::before { clip-path: inset(0 0 0 0); }
.svc-list:hover .svc:not(:hover) > a { opacity: .45; }
.svc__n { color: var(--red); transition: color .4s, transform .6s var(--ease); }
.svc__head { display: grid; gap: 8px; transition: transform .6s var(--ease); }
.svc__t { font-size: clamp(38px, 4.6vw, 72px); color: #fff; }
.svc__sub { color: var(--mute-d); font-size: 16px; transition: color .4s; }
.svc__items { display: grid; gap: 12px; color: #fff; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.25; font-weight: 500; }
.svc__items span { display: flex; align-items: center; gap: 14px; }
.svc__items span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff; flex: none; }   /* viñeta: puntito blanco (la esquina roja se reserva para el logo) */
.tag { display: inline-block; padding: 2px 8px; font-size: 12px; font-weight: 600; background: var(--red); color: #fff; font-style: normal; transition: background-color .4s, color .4s; }
.svc__arrow { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line-d); transition: transform .6s var(--ease), border-color .4s, background-color .4s; }
.svc__arrow svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; }
.svc:hover .svc__n { color: #fff; transform: translateX(8px); }
.svc:hover .svc__head { transform: translateX(14px); }
.svc:hover .svc__sub { color: rgba(255, 255, 255, .85); }

.svc:hover .tag { background: #fff; color: var(--red); }
.svc:hover .svc__arrow { transform: rotate(45deg); border-color: rgba(255, 255, 255, .6); }
/* la fila entera es un botón que abre el detalle */
.svc__row { width: 100%; text-align: left; color: inherit; }
.svc__row:focus-visible { outline-offset: -2px; }
.svc__arrow { flex: none; }

/* ---------- Detalle de cada servicio: panel que se desliza desde la derecha ---------- */
.svc-panel { position: fixed; inset: 0; z-index: 180; }
.svc-panel[hidden] { display: none; }
.svc-panel__shade { position: absolute; inset: 0; background: rgba(10, 9, 22, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.svc-panel__box {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  background: var(--night-2); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .6);
  padding: clamp(56px, 8vh, 90px) clamp(24px, 4vw, 56px) clamp(36px, 5vh, 56px);
}
.svc-panel__box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); }
.svc-panel__corner { position: absolute; left: calc(clamp(24px, 4vw, 56px) - 14px); top: calc(clamp(26px, 4vh, 44px) - 22px); width: 34px; height: 34px; border-top: 5px solid var(--red); border-left: 5px solid var(--red); }   /* sin transform: GSAP lo usa para la entrada */
.svc-panel__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-d); transition: background-color .3s, border-color .3s, transform .5s var(--ease); }
.svc-panel__close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.svc-panel__close svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.svc-d { display: grid; gap: 14px; }
.svc-d[hidden] { display: none; }
.svc-d__n { color: var(--red); }
.svc-d__t { font-size: clamp(42px, 5vw, 66px); color: #fff; }
.svc-d__sub { color: var(--mute-d); font-size: 17px; }
.svc-d__list { display: grid; gap: 0; margin: 14px 0 6px; border-top: 1px solid var(--line-d); }
.svc-d__list > div { padding: 22px 0; border-bottom: 1px solid var(--line-d); }
.svc-d__list dt { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; margin-bottom: 8px; }
.svc-d__list dt::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: #fff; }
.svc-d__list dd { margin: 0 0 0 22px; color: var(--mute-d); font-size: 16px; line-height: 1.6; }
.svc-d__cta { margin-top: 18px; }
.svc-open .header { transform: translateY(-100%); }

/* =========================================================
   4 · PROYECTOS: 3 casos destacados + el resto en pestañas por rubro
   ========================================================= */
.work { position: relative; background: var(--night-2); padding: clamp(100px, 12vw, 170px) 0 clamp(90px, 11vw, 150px); overflow: hidden; }
/* siempre en 3 líneas («Empresas que ya / muestran su / verdadero nivel.»): el ancho va en em, así acompaña al tamaño de letra */
.work .h2 { color: #fff; font-size: clamp(36px, 5.4vw, 84px); max-width: 7.4em; }
/* el encabezado usa las mismas columnas que los casos: la bajada arranca a la altura del título y alineada con el texto de los casos */
.work .sec-head--row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.work__lead { color: var(--mute-d); max-width: 40ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; margin-top: 44px; }
.cases { display: grid; gap: clamp(80px, 10vw, 150px); margin-bottom: clamp(100px, 11vw, 160px); }
.case { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.case--rev { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); }   /* la foto ocupa siempre la columna grande */
.case--rev .case__media { order: 2; }
.case__media { position: relative; display: block; aspect-ratio: 2878 / 1999; perspective: 1100px; background: radial-gradient(55% 55% at 50% 55%, rgba(74, 68, 112, .45) 0%, rgba(29, 26, 51, 0) 72%); }
.case__media img { width: 100%; height: 100%; object-fit: contain; transition: filter .6s var(--ease); will-change: transform; }
.case__media:hover img { filter: brightness(1.08) drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
.case__copy { position: relative; display: grid; gap: 14px; align-content: start; justify-items: start; }
.case__n { font-size: clamp(84px, 9vw, 150px); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .2); line-height: .8; margin-bottom: 8px; }
/* el sector manda: «un caso de cada sector» */
.case__sector { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--red); color: #fff; font-stretch: 85%; font-weight: 600; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; }
.case__sector::before { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); transform: translateY(1px); }
.case__t { font-size: clamp(46px, 5.2vw, 80px); color: #fff; }
.case__dl { display: grid; gap: 18px; margin: 8px 0 4px; padding-top: 22px; border-top: 1px solid var(--line-d); width: 100%; }
.case__dl dt { color: var(--mute-d); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.case__dl dd { margin: 0; color: var(--ink-d); font-size: 17px; line-height: 1.5; max-width: 42ch; }
.case__link { color: #fff; }

.pf { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-d); }
.pf__head { display: flex; justify-content: space-between; align-items: end; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.pf__title { font-size: clamp(34px, 3.6vw, 56px); color: #fff; }
.tabs { position: relative; display: flex; gap: 2px; flex-wrap: wrap; }
.tabs__ind {
  position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 0; pointer-events: none;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease);
}
.tabs__ind::before { content: ""; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); transition: opacity .3s; }
.tabs:has(.tab--destacada[aria-selected="true"]) .tabs__ind::before { opacity: 0; }
.tab { position: relative; z-index: 1; flex: none; padding: 11px 16px; font-size: 15px; font-weight: 500; color: var(--mute-d); white-space: nowrap; transition: color .3s; }
.tab:hover, .tab[aria-selected="true"] { color: #fff; }
.tab b { margin-left: 7px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; color: var(--faint-d); vertical-align: 1px; }
.tab[aria-selected="true"] b { color: var(--red); }
/* «Minería e industria»: la pestaña destacada (en verde, contador en verde y un brillo que la cruza cada tanto) */
.tab--destacada { --verde: #1fa35a; --verde-hot: #188a4b; color: #fff; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(31, 163, 90, .8); background: rgba(31, 163, 90, .16); }
.tab--destacada::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(-120%); animation: tab-brillo 5s var(--ease-in-out) 1.5s infinite; }
.tab--destacada b { background: var(--verde); color: #fff; padding: 2px 5px; }
.tab--destacada[aria-selected="true"] { background: var(--verde); box-shadow: none; }
.tab--destacada[aria-selected="true"] b { background: #fff; color: var(--verde-hot); }
.tab--destacada:hover { background: rgba(31, 163, 90, .32); }
.tab--destacada[aria-selected="true"]:hover { background: var(--verde-hot); }
@keyframes tab-brillo { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
.pf__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 36px) clamp(14px, 1.6vw, 24px); }
.pf-card[hidden] { display: none; }
.pf-card a { display: grid; gap: 14px; }
.pf-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); box-shadow: 0 0 0 1px var(--line-d); }
.pf-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.9) brightness(.92); }
.pf-card__img::before { content: ""; position: absolute; z-index: 2; left: 10px; top: 10px; width: 22px; height: 22px; border-top: 3px solid var(--red); border-left: 3px solid var(--red); transform: translate(6px, 6px); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.pf-card a:hover .pf-card__img img { transform: scale(1.05); filter: none; }
.pf-card a:hover .pf-card__img::before { transform: none; opacity: 1; }
.pf-card__meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; }
.pf-card h4 { margin: 0; font-stretch: 80%; font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.15; color: #fff; }
.pf-card .mono { grid-column: 1; color: var(--mute-d); font-size: 10.5px; line-height: 1.4; }
.pf-card__arrow { grid-column: 2; grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-d); transition: transform .6s var(--ease), border-color .4s, background-color .4s; }
.pf-card__arrow svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.6; }
.pf-card a:hover .pf-card__arrow { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.pf__more { display: flex; align-items: center; gap: 16px 30px; flex-wrap: wrap; margin-top: clamp(36px, 4vw, 52px); color: var(--mute-d); }
.pf__more .btn[hidden] { display: none; }

/* =========================================================
   4a · FRANJA MINOX (17/11/2026): franja chica entre Proyectos y Marcas que lleva a /minox/.
   Logo, título y botón en una fila, con los colores de MINOX (turquesa profundo y lima, los de su
   marca). Abajo, una cinta con lo que hacemos (Brochure · Logotipo · Sitio web · Google · Instagram ·
   LinkedIn) que pasa sola y se frena al pasar el mouse. Con movimiento reducido queda quieta.
   ========================================================= */
.minox {
  --mx-bg: #0C4651; --mx-bg-2: #08343C; --mx-lima: #E6FE2A;
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse 45% 120% at 92% 0%, rgba(230, 254, 42, .08), transparent 70%),
    linear-gradient(160deg, var(--mx-bg) 0%, var(--mx-bg-2) 100%);
}
.minox__wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 3.4vw, 56px); align-items: center; padding-block: clamp(40px, 4.6vw, 64px); }
.minox__logo-link { display: block; transition: transform .5s var(--ease); }
.minox__logo-link:hover { transform: translateY(-3px); }
.minox__logo { display: block; width: clamp(104px, 9vw, 136px); height: auto; }
.minox__t { font-size: clamp(28px, 3vw, 44px); color: #fff; max-width: 32ch; }
.minox__t em { color: var(--mx-lima); }
.btn--minox { --btn-bg: var(--mx-lima); --btn-hover: #fff; --btn-fg: var(--mx-bg); --btn-corner: var(--mx-lima); }
.btn--minox .btn__icon { border-color: rgba(12, 70, 81, .18); }

/* Cinta: el texto se repite y se corre la mitad, así el giro no se nota */
.minox__cinta { overflow: hidden; background: rgba(0, 0, 0, .22); border-top: 1px solid rgba(255, 255, 255, .1); padding: 13px 0; }
.minox__pista { display: flex; width: max-content; animation: minox-cinta 36s linear infinite; }
.minox__pista span { display: inline-flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); padding-right: clamp(20px, 2.4vw, 36px); font-stretch: 68%; font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .9); }
.minox__pista span::after { content: ""; width: 8px; height: 8px; background: var(--mx-lima); transform: rotate(45deg) translateY(-2px); }
.minox:hover .minox__pista { animation-play-state: paused; }
@keyframes minox-cinta { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .minox__wrap { grid-template-columns: auto minmax(0, 1fr); }
  .minox__btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .minox__wrap { grid-template-columns: 1fr; gap: 20px; }
  .minox__logo { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .minox__pista { animation: none; }
}

/* =========================================================
   4b · MARCAS QUE NOS ELIGEN (como en la web actual)
   ========================================================= */
.brands { background: #fff; color: var(--ink); padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px); }
.brands__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 70px); }
.brands__title { position: relative; padding-left: 20px; font-stretch: 80%; font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; color: var(--ink); }
.brands__title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 6px; background: var(--red); }
.brands__title em { color: var(--red); }
.btn--line { --btn-bg: transparent; --btn-hover: var(--paper); --btn-fg: var(--ink); --btn-corner: var(--red); box-shadow: inset 0 0 0 1px var(--line); }
.brands .btn--line { box-shadow: inset 0 0 0 1.5px var(--red); }
.brands__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px) clamp(16px, 2vw, 32px); }
.brands__grid li { height: clamp(96px, 9vw, 130px); display: grid; place-items: center; }
/* --s (en el HTML) compensa la proporción: los logos anchos no quedan enormes ni los cuadrados diminutos */
.brands__grid img { width: min(90%, calc(var(--s) * clamp(42px, 4.6vw, 66px))); height: auto; max-height: 82%; object-fit: contain; opacity: .78; transition: opacity .4s, transform .6s var(--ease); }
.brands__grid li:hover img { opacity: 1; transform: scale(1.04); }

/* =========================================================
   5 · RESEÑAS: réplica del widget de Google (Trustindex) de la web actual
   ========================================================= */
.reviews { background: #F4F4F6; color: #000; padding: clamp(80px, 9vw, 130px) 0; }
.reviews__head { display: flex; justify-content: center; margin-bottom: 36px; }
.gw { --gw-font: "Poppins", "Segoe UI", Roboto, Arial, sans-serif; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; font-family: var(--gw-font); font-stretch: 100%; }
.gw__summary { display: grid; justify-items: center; gap: 4px; text-align: center; }
.gw__label { font-size: 20px; font-weight: 700; letter-spacing: .02em; color: #000; }
.gw-stars { color: #F6BB06; letter-spacing: 1px; font-size: 17px; line-height: 1; }
.gw-stars--lg { font-size: 30px; letter-spacing: 2px; }
.gw__count { font-size: 14px; color: #000; }
.gw__google { font-family: "Product Sans", Arial, sans-serif; font-size: 34px; font-weight: 500; letter-spacing: -.5px; line-height: 1.1; margin-top: 2px; }
.gw__google { display: inline-flex; flex-wrap: wrap; justify-content: center; color: inherit; text-decoration: none; transition: transform .4s var(--ease); }
a.gw__google:hover { transform: translateY(-2px); }
.gw__ver { flex-basis: 100%; text-align: center; font-family: var(--gw-font); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: #1A73E8; line-height: 1.4; }
a.gw__google:hover .gw__ver { text-decoration: underline; }
.gw__google i { font-style: normal; }
.gw__google i:nth-child(1), .gw__google i:nth-child(4) { color: #4285F4; }
.gw__google i:nth-child(2), .gw__google i:nth-child(6) { color: #EA4335; }
.gw__google i:nth-child(3) { color: #FBBC05; }
.gw__google i:nth-child(5) { color: #34A853; }
.gw__viewport { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; }
.gw__track { scroll-padding-inline: 2px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px; flex: 1; min-width: 0; }
.gw__track::-webkit-scrollbar { display: none; }
.gw__arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #555; transition: background-color .2s; }
.gw__arrow:hover { background: rgba(0, 0, 0, .06); }
.gw__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.gw-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); display: grid; align-content: start; gap: 10px; }
@media (max-width: 1200px) { .gw-card { flex-basis: calc((100% - 16px) / 2); } }
.gw-card__head { display: grid; grid-template-columns: 40px 1fr 20px; gap: 12px; align-items: center; }
.gw-av { width: 40px; height: 40px; border-radius: 50%; background: var(--av); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 500; }
.gw-name { font-size: 15px; font-weight: 600; color: #000; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-g { width: 20px; height: 20px; align-self: start; }
.gw-rate { display: flex; align-items: center; gap: 6px; }
.gw-verif { width: 15px; height: 15px; }
.gw-text { font-size: 14.5px; line-height: 1.55; color: #000; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gw-card.is-open .gw-text { -webkit-line-clamp: unset; display: block; }
.gw-more { justify-self: start; font-size: 13px; color: rgba(0, 0, 0, .5); }
.gw-more:hover { text-decoration: underline; }
.gw-more[hidden] { display: none; }

/* =========================================================
   7 · NOTAS (claro)
   ========================================================= */
.blog { background: #fff; color: var(--ink); padding: clamp(100px, 12vw, 170px) 0; }
.blog .h2 { color: var(--ink); font-size: clamp(36px, 4.4vw, 68px); }
.blog .sec-head--row > .ulink { color: var(--mute); }
/* Notas «Portada»: una destacada y, al costado, las que entren a su altura (3 a 6; lo calcula main.js) */
.blog__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.nota__cat { color: var(--red); font-weight: 500; }
.nota__meta { color: var(--mute); font-size: 13px; font-weight: 400; }
.nota__meta i { font-style: normal; opacity: .5; margin-inline: 8px; }
.nota__ttl { font-stretch: 82%; font-weight: 600; line-height: 1.15; letter-spacing: -.005em; text-wrap: pretty; }
.nota__ttl span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.blog__grid a:hover .nota__ttl span { background-size: 100% 1px; }
.nota__img { overflow: hidden; background: var(--paper); }
.nota__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.blog__grid a:hover .nota__img img { scale: 1.04; }
.nota-main a { display: grid; gap: 16px; }
.nota-main .nota__img { aspect-ratio: 16 / 10; margin-bottom: 4px; }
.nota-main .nota__ttl { font-size: clamp(26px, 2.3vw, 36px); }
.nota-main p { color: var(--mute); max-width: 60ch; }
.notas__lista { position: relative; border-top: 1px solid var(--ink); }
.nota-item a { display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 9vw, 120px); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.nota__txt { display: grid; gap: 8px; align-content: start; }
.nota-item .nota__ttl { font-size: clamp(18px, 1.45vw, 22px); }
.nota-item .nota__img { aspect-ratio: 1; }
.nota-item.is-extra { display: none; }
.nota-item.is-extra.is-on { display: block; }

/* =========================================================
   8 · PREGUNTAS: como la web actual (generales en blanco, servicios en rojo)
   ========================================================= */
.faq { background: #E9E9EE; color: var(--ink); padding: clamp(90px, 11vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq__title { position: relative; padding-left: 20px; margin-bottom: 26px; font-stretch: 80%; font-weight: 700; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; color: var(--ink); }
.faq__title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 6px; background: var(--red); }
.faq__title--sm { padding-left: 0; font-size: clamp(24px, 2.2vw, 30px); margin-top: 14px; }
.faq__title--sm::before { display: none; }
.faq__list { display: grid; gap: 12px; }
.acc { background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(21, 19, 42, .06); transition: box-shadow .4s var(--ease); }
.acc:hover { box-shadow: 0 10px 30px -14px rgba(21, 19, 42, .3); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.acc summary::-webkit-details-marker { display: none; }
.acc__plus { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--red); transition: transform .6s var(--ease), background-color .3s; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: #fff; transform: translate(-50%, -50%); transition: transform .5s var(--ease), background-color .3s; }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__plus { transform: rotate(180deg); }
.acc[open] .acc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 22px 22px; color: var(--mute); font-size: 15.5px; line-height: 1.6; }
.acc__body a { color: var(--red); }
.faq__list--red .acc { background: #B62D2E; color: #fff; }
.faq__list--red .acc__plus { background: #fff; }
.faq__list--red .acc__plus::before, .faq__list--red .acc__plus::after { background: #B62D2E; }
.faq__list--red .acc__body p { color: rgba(255, 255, 255, .9); }
.faq__more { margin-top: 22px; color: var(--mute); font-size: 15px; }
/* Inicio (16/11/2026): solo las preguntas fundamentales y un botón a /preguntas-frecuentes/ */
.faq--inicio .faq__todas { margin-top: 2px; }
.faq--inicio .faq__more { margin-top: 18px; }
.faq__more a { color: var(--ink); font-weight: 600; }

/* FAQ con buscador y temas (15/11/2026): a la izquierda título, buscador y temas (fijos al bajar); a la derecha la lista */
.faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.faq__side { position: sticky; top: 96px; }
.faq__lead { margin: -8px 0 26px; max-width: 34ch; color: var(--mute); font-size: 16px; line-height: 1.55; }
.no-js .faq__tools { display: none; }
.faq__search { position: relative; display: flex; align-items: center; background: #fff; border-radius: 6px; box-shadow: 0 1px 2px rgba(21, 19, 42, .06), inset 0 0 0 1px var(--line); transition: box-shadow .3s var(--ease); }
.faq__search:focus-within { box-shadow: 0 12px 30px -16px rgba(21, 19, 42, .35), inset 0 0 0 2px var(--ink); }
.faq__search > svg { position: absolute; left: 18px; width: 20px; height: 20px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.faq__search input { flex: 1; min-width: 0; height: 58px; padding: 0 52px 0 50px; border: 0; background: transparent; font: inherit; font-size: 16.5px; color: var(--ink); outline: none; }
.faq__search input::placeholder { color: #8A869A; }
.faq__search input::-webkit-search-cancel-button { display: none; }
.faq__clear { position: absolute; right: 8px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.faq__clear:hover { background: #F0EFF4; }
.faq__clear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.faq__clear[hidden] { display: none; }
.faq__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.faq__cat { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid #CFCBDA; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.faq__cat span { font-size: 11px; font-weight: 500; color: var(--mute); transition: color .25s; }
.faq__cat:hover { border-color: var(--ink); }
.faq__cat.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq__cat.is-on span { color: rgba(255, 255, 255, .7); }
.faq__cat:disabled { opacity: .4; cursor: default; border-color: #CFCBDA; }
.faq__count { margin-bottom: 14px; font-size: 15px; font-weight: 500; color: var(--mute); }
.faq__count[hidden] { display: none; }
.acc__q { display: grid; gap: 6px; }
.acc__cat { font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #8A869A; }
.acc[hidden] { display: none; }
.acc mark { background: rgba(208, 23, 44, .14); color: inherit; border-radius: 2px; padding: 0 1px; }
.faq__empty { padding: 34px 30px; background: #fff; border-radius: 6px; }
.faq__empty .display { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.faq__empty p:not(.display) { color: var(--mute); margin-bottom: 18px; }
.faq__empty[hidden] { display: none; }
@media (min-width: 1101px) { .faq__main { min-height: 560px; } }   /* al filtrar, la página no salta */
@media (max-width: 1100px) { .faq__side { position: static; } }

/* =========================================================
   9 · CIERRE + PIE sobre la foto de Gio (como el pie actual)
   ========================================================= */
.footer { position: relative; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
/* ancho completo siempre: el alto sigue la proporción de la foto pero sin pasar el alto del pie (con aspect-ratio + max-height el navegador achicaba el ancho) */
.footer__media { position: absolute; left: 0; right: 0; top: 0; z-index: -2; overflow: hidden; height: min(100%, calc(100vw * 916 / 1717)); min-height: 74%; }
.footer__media img { width: 100%; height: 100%; object-fit: cover; object-position: 84% 25%; }
.footer__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(21, 19, 42, .96) 0%, rgba(21, 19, 42, .82) 34%, rgba(21, 19, 42, .2) 62%, rgba(21, 19, 42, 0) 80%),
  linear-gradient(0deg, var(--night) 0%, var(--night) 26%, rgba(21, 19, 42, .5) 40%, rgba(21, 19, 42, 0) 58%); }
.footer .grain { z-index: 0; opacity: .06; }
.footer__cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: start; padding-top: clamp(110px, 13vw, 190px); padding-bottom: clamp(70px, 8vw, 110px); max-width: var(--max); }
.footer__cta > * { max-width: min(600px, 100%); }
.footer__corner { position: absolute; left: calc(var(--gutter) - 22px); top: calc(clamp(110px, 13vw, 190px) - 30px); width: 64px; height: 64px; border-top: 8px solid var(--red); border-left: 8px solid var(--red); }
/* mapa de la ubicación (donde antes iba el texto del cierre) */
.footer__mapa > * { max-width: min(640px, 100%); }
.mapa { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--night-2); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12); }
.mapa__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) brightness(.92); transition: filter .6s var(--ease); }
.mapa:hover .mapa__frame { filter: none; }
.mapa__link { position: absolute; right: 0; bottom: -34px; color: #fff; }
.mapa__link:hover { color: var(--red-hot); }

/* =========================================================
   8b · AGENDÁ UNA REUNIÓN (Agenda de citas de Google Calendar)
   ========================================================= */
.agenda { position: relative; background: var(--night); padding: clamp(100px, 12vw, 170px) 0; }
/* todo centrado: título y texto arriba, la reserva ancha debajo (sin columna vacía) */
.agenda__intro { display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 780px; margin-inline: auto; }
.agenda .h2 { color: #fff; font-size: clamp(44px, 5.6vw, 88px); }
/* más ancho: en escritorio entra en dos renglones parejos */
.agenda__lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-d); max-width: 66ch; text-wrap: balance; }
.agenda__app { position: relative; max-width: 1120px; margin: clamp(40px, 5vw, 64px) auto 0; }
.agenda__app.is-frame { background: #fff; color: var(--ink); min-height: 640px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.agenda__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.agenda__vacio { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; justify-items: center; text-align: center; padding: clamp(32px, 4vw, 52px); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-d); }
.agenda__vacio .display { font-size: clamp(34px, 3.4vw, 52px); color: #fff; }
.agenda__vacio p:not(.display) { color: var(--mute-d); font-size: 16px; max-width: 46ch; }

/* ---------- Reserva propia (js/reserva.js) ---------- */
.rv { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--line-d), 0 50px 100px -60px #000; padding: clamp(20px, 3vw, 40px); display: grid; gap: clamp(20px, 2.6vw, 32px); text-align: left; }
.rv__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.rv__pasos { position: relative; display: flex; gap: clamp(14px, 3vw, 36px); padding-bottom: 12px; }
.rv__pasos li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--faint-d); transition: color .4s; }
.rv__pasos li b { display: grid; place-items: center; width: 26px; height: 26px; font: 500 12px var(--f-mono); box-shadow: inset 0 0 0 1px var(--line-d); transition: background-color .4s, box-shadow .4s, color .4s; }
.rv__pasos li.is-on { color: #fff; }
.rv__pasos li.is-on b { background: var(--red); box-shadow: none; color: #fff; }
.rv__pasos::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line-d); }
.rv__barra { position: absolute; z-index: 1; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); }
.rv__tz { color: var(--mute-d); }
.rv__demo { color: #E9A23B; }

.rv__tira[hidden] { display: none; }
.rv__tira { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.rv__dias { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 10px; perspective: 900px; }
.rv__dias::-webkit-scrollbar { display: none; }
.rv__dia { flex: 0 0 clamp(104px, 12vw, 128px); scroll-snap-align: start; display: grid; gap: 2px; justify-items: center; padding: 16px 8px 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-d); color: var(--ink-d); transition: background-color .35s, box-shadow .35s, transform .35s var(--ease); }
.rv__dia:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.rv__dia .mono { color: var(--mute-d); font-size: 11px; }
.rv__dia b { font-family: var(--f-display); font-stretch: 68%; font-weight: 600; font-size: 46px; line-height: 1; color: #fff; }
.rv__dia span:not(.mono) { font-size: 14px; color: var(--mute-d); }
.rv__dia i { font-style: normal; font-size: 12px; color: var(--faint-d); margin-top: 6px; }
.rv__dia[aria-selected="true"] { background: var(--red); box-shadow: none; }
.rv__dia[aria-selected="true"] .mono, .rv__dia[aria-selected="true"] span, .rv__dia[aria-selected="true"] i { color: #fff; }
.rv__dia--carga { flex: 0 0 clamp(104px, 12vw, 128px); height: 126px; background: linear-gradient(100deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .04) 70%) 0 0 / 300% 100%; animation: rv-carga 1.3s linear infinite; }
@keyframes rv-carga { to { background-position: -150% 0; } }
.rv__flecha { display: grid; place-items: center; width: 44px; height: 44px; box-shadow: inset 0 0 0 1px var(--line-d); transition: background-color .3s, opacity .3s; }
.rv__flecha:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }
.rv__flecha:disabled { opacity: .25; }
.rv__flecha svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; }

.rv__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.rv__horas { display: grid; gap: 18px; align-content: start; }
.rv__dia-largo { font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: clamp(22px, 2vw, 28px); color: #fff; }
.rv__dia-largo::first-letter { text-transform: uppercase; }
.rv__grupo { display: grid; gap: 10px; }
.rv__grupo .mono { color: var(--mute-d); }
.rv__chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.rv__hora { height: 48px; font: 500 16px var(--f-mono); color: #fff; box-shadow: inset 0 0 0 1px var(--line-d); background: rgba(255, 255, 255, .03); transition: background-color .3s, box-shadow .3s; }
.rv__hora:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.rv__hora[aria-pressed="true"] { background: var(--red); box-shadow: none; }

.rv__form { display: grid; gap: 18px; padding: clamp(18px, 2vw, 26px); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-d); transition: opacity .4s; }
.rv__form.is-off { opacity: .45; pointer-events: none; }
.rv__resumen { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line-d); }
.rv__resumen .mono { color: var(--mute-d); }
.rv__cuando { font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); color: #fff; line-height: 1.2; }
.rv__cuando::first-letter { text-transform: uppercase; }
.rv__que { color: var(--mute-d); font-size: 14px; }
.rv__campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rv__campo { display: grid; gap: 6px; font-size: 14px; color: var(--mute-d); }
.rv__campo--ancho { grid-column: 1 / -1; }
.rv__campo em { font-style: normal; color: var(--faint-d); }
.rv__campo input, .rv__campo textarea { width: 100%; padding: 12px 13px; font: inherit; font-size: 16px; color: #fff; background: rgba(0, 0, 0, .22); border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-d); transition: box-shadow .3s; resize: vertical; }
.rv__campo input:focus, .rv__campo textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--red); }
.rv__ok { justify-self: start; }
.rv__ok:disabled { opacity: .45; }
.rv__ok.is-cargando .btn__icon { animation: rv-gira .9s linear infinite; }
@keyframes rv-gira { to { transform: rotate(360deg); } }
.rv__nota { color: var(--faint-d); font-size: 13px; }
.rv__error { color: #FFB3BC; font-size: 14.5px; }
.rv__error a { color: #fff; text-decoration: underline; }

.rv__exito, .rv__aviso { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(16px, 3vw, 40px) 0; }
.rv__exito .display, .rv__aviso .display { font-size: clamp(38px, 4.4vw, 64px); color: #fff; }
.rv__exito p:not(.display), .rv__aviso p:not(.display) { color: var(--ink-d); max-width: 48ch; }
.rv__exito-cuando { font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: 22px; color: #fff !important; }
.rv__exito-cuando::first-letter { text-transform: uppercase; }
.rv__tilde { width: 96px; height: 96px; }
.rv__tilde circle { fill: var(--red); stroke: #fff; stroke-width: 4; }
.rv__tilde path { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: square; }
.rv__papel { position: fixed; z-index: 400; left: 0; top: 0; width: 9px; height: 9px; pointer-events: none; }
.footer__info { position: relative; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; padding-block: 30px 34px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer__item { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.35; font-weight: 500; }
.footer__item svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linejoin: round; }
.footer__redes { position: relative; margin-left: auto; display: flex; align-items: center; }
.footer__social { display: flex; gap: 10px; }
/* burbuja «¡Seguinos!» junto a los íconos, con su colita */
.footer__follow { position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; white-space: nowrap; padding: 8px 14px; background: #fff; color: var(--ink); font-stretch: 85%; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transform-origin: 100% 50%; }
.footer__follow::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: #fff; transform: rotate(45deg); }
.js .footer__follow { opacity: 0; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .5s var(--ease), background-color .3s; }
.footer__social a:hover { transform: translateY(-3px); background: var(--red-hot); }
.footer__social li:last-child a { background: #25D366; }
.footer__social svg { width: 18px; height: 18px; fill: #fff; }
.footer__bottom { background: rgba(10, 9, 22, .92); }
.footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 18px; color: var(--mute-d); font-size: 11px; }
.footer__bottom nav { display: flex; gap: 22px; }
.footer__logo img { width: 110px; height: auto; }

/* CTA fijo en celular */
.sticky-cta { display: none; }

/* =========================================================
   Estados iniciales (solo con JS: sin JS se ve todo)
   ========================================================= */
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(28px); }
.js [data-hero-fade] { opacity: 0; }
.js .hero__title { visibility: hidden; }
.js .hero__corner { opacity: 0; }
.js .img-reveal { clip-path: inset(0 100% 100% 0); }
.split-line { will-change: transform; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; margin-left: 0; }
  .sound--hd { margin-left: auto; }
  .svc > .svc__row { grid-template-columns: minmax(0, 1fr) 48px; }
  .svc__items { grid-column: 2 / 3; grid-row: 2; }
  .svc__arrow { grid-column: 3; grid-row: 1; width: 48px; height: 48px; }
  .pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .case { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .case--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (max-width: 860px) {
  :root { --hd: 64px; }
  body { font-size: 16px; }
  .header__logo img { width: 128px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }

  .hero { padding-top: calc(var(--hd) + 24px); min-height: 100svh; }
  /* en celular la foto vertical ocupa la parte de arriba (la cara de Gio queda libre) y el texto va abajo */
  .hero__bg { bottom: auto; height: 68svh; }
  .hero__bg img { object-position: 55% 30%; }
  .hero__shade { bottom: auto; height: 68svh; background: linear-gradient(180deg, rgba(21, 19, 42, .5) 0%, rgba(21, 19, 42, 0) 18%, rgba(21, 19, 42, 0) 52%, rgba(21, 19, 42, .85) 80%, var(--night) 100%); }
  .hero__wrap { align-items: flex-end; }
  /* celular (16/11/2026): el texto sube y entra con margen a la izquierda; la esquina roja lo enmarca arriba a la izquierda */
  .hero__content { gap: 16px; padding-top: 33svh; padding-left: 24px; }
  .hero__corner { left: 0; top: calc(33svh - 12px); width: 34px; height: 38px; border-width: 7px; }
  .hero__kicker { font-size: 15px; }
  .hero__title { font-size: clamp(30px, 9.4vw, 60px); }
  .hero__lead { font-size: 16px; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .btn .btn__label { flex: 1; }
  .hero__bottom { flex-direction: column; align-items: stretch; margin-top: 28px; padding-top: 20px; }
  /* celular: dos por fila, la cifra arriba y el texto abajo, siempre en un renglón */
  .proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .proof li, .proof li:first-child { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 0 0 12px; border-left: 1px solid rgba(255, 255, 255, .16); }
  .proof b { font-size: 28px; }
  .proof span { font-size: 14px; }
  .scroll-cue { display: none; }

  .diag__grid, .faq__grid { grid-template-columns: 1fr; }
  .gw { grid-template-columns: 1fr; }
  .gw-card { flex-basis: 86%; }
  .gw__arrow { display: none; }
  .sound--hd .sound__txt { display: none; }
  .sound--hd { padding: 9px 10px; margin-left: auto; }
  .burger { margin-left: 4px; }

  .svc > .svc__row { grid-template-columns: 1fr 44px; gap: 14px; padding: 28px 0; }
  .svc__n { grid-column: 1 / -1; }
  .svc__head { grid-column: 1; grid-row: 2; }
  .svc__arrow { grid-column: 2; grid-row: 2; width: 44px; height: 44px; align-self: start; }
  .svc__items { grid-column: 1 / -1; grid-row: 3; font-size: 19px; gap: 10px; }
  .svc:hover .svc__head { transform: none; }
  .svc-panel__box { padding-top: 76px; }
  .svc-d__list dd { margin-left: 0; }
  .svc-d__cta .btn { width: 100%; }
  .svc-d__cta .btn .btn__label { flex: 1; }

  .case, .case--rev { grid-template-columns: 1fr; gap: 26px; }
  .work .sec-head--row { grid-template-columns: 1fr; gap: 22px; }
  .work__lead { margin-top: 0; }
  .case--rev .case__media { order: 0; }
  .case__n { font-size: 72px; margin-bottom: 0; }
  .pf__head { flex-direction: column; align-items: stretch; }
  /* pestañas deslizables (16/11/2026): el ancho se limita a la pantalla (antes se estiraba con las pestañas y no había nada que deslizar)
     y el borde derecho se desvanece para mostrar que hay más */
  .pf__head { min-width: 0; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    width: 100vw; max-width: 100vw; min-width: 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .tabs.is-fin { -webkit-mask-image: none; mask-image: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .pf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .pf-card__arrow { display: none; }
  .pf-card__meta { grid-template-columns: 1fr; }
  .brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; }
  .brands__grid li { height: 78px; }
  .brands__grid img { width: min(94%, calc(var(--s) * 36px)); }
  .blog__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nota-item.is-extra.is-on { display: none; }
  .nota-item a { gap: 14px; padding: 18px 0; }
  .footer__media { bottom: auto; height: 96vw; min-height: 0; aspect-ratio: auto; }
  .footer__media img { object-position: 78% 20%; }
  .footer__shade { background: linear-gradient(180deg, rgba(21, 19, 42, .35) 0%, rgba(21, 19, 42, 0) 18vw, rgba(21, 19, 42, 0) 52vw, var(--night) 92vw); }
  .footer__cta { padding-top: 78vw; }
  .footer__corner { top: calc(78vw - 30px); left: calc(var(--gutter) - 8px); width: 44px; height: 44px; border-width: 6px; }
  .agenda__app.is-frame { min-height: 560px; }
  .rv__tira { grid-template-columns: minmax(0, 1fr); }
  .rv__flecha { display: none; }
  .rv__dia { flex-basis: 92px; padding: 12px 6px; }
  .rv__dia b { font-size: 38px; }
  .rv__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .rv__campos { grid-template-columns: minmax(0, 1fr); }
  .rv__ok { justify-self: stretch; }
  .rv__pasos li { font-size: 13px; }
  .agenda__vacio .btn, .rv__aviso .btn { width: 100%; }
  .agenda__vacio .btn .btn__label, .rv__aviso .btn .btn__label, .rv__ok .btn__label { flex: 1; }
  .mapa { aspect-ratio: 4 / 3; }
  .footer__info { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__redes { margin-left: 0; margin-top: 46px; }
  .footer__follow { right: auto; left: 0; top: auto; bottom: calc(100% + 12px); translate: none; transform-origin: 0 100%; }
  .footer__follow::after { right: auto; left: 18px; top: auto; bottom: -6px; margin-top: 0; }
  .gate__btns .btn { min-width: 120px; }

  .sticky-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 130;
    justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px;
    background: var(--red); color: #fff; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
    transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .sticky-cta b { font-stretch: 80%; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
  .sticky-cta.is-on { transform: none; }
  .menu-open .sticky-cta { transform: translateY(150%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-group] > *, .js [data-hero-fade] { opacity: 1 !important; transform: none !important; }
  .js .hero__title { visibility: visible; }
  .js .hero__corner, .js .img-reveal { transform: none !important; opacity: 1 !important; clip-path: none !important; }
}

/* =========================================================
   IDIOMA: banderitas en el header y en el menú del celular (15/11/2026)
   Por ahora solo español; portugués e inglés dicen «próximamente».
   ========================================================= */
.lang { display: flex; align-items: center; gap: 6px; }
.lang__f { position: relative; display: block; width: 24px; height: 16px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); transition: opacity .3s, transform .3s var(--ease); }
.lang__f svg { display: block; width: 100%; height: 100%; }
.lang__f.is-on { box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(255, 255, 255, .18); }
.lang__f.is-soon { opacity: .45; filter: saturate(.6); cursor: default; }
.lang__f.is-soon:hover { opacity: .8; }
.lang--menu { margin-bottom: 10px; gap: 10px; }
.lang--menu .lang__f { width: 30px; height: 20px; }
.svc-d__mas { display: block; width: fit-content; margin-top: 16px; color: #fff; font-weight: 600; font-size: 15px; }
.footer__bottom nav { flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 1100px) { .header .lang { display: none; } }
.lang--menu .lang__f.is-soon { opacity: .75; filter: none; }

/* =========================================================
   PIE: enlaces a servicios, rubros y zonas (los arma tools/armar-landings.py, 16/11/2026)
   ========================================================= */
.footer__enlaces { position: relative; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 28px clamp(24px, 4vw, 64px); padding-block: 34px 38px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fe__t { font-size: 15px; font-weight: 650; color: #fff; margin-bottom: 14px; }
.fe__col ul { display: grid; gap: 9px; }
.fe__col:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }   /* 2 columnas: «Diseño web en …» no entra en 3 */
.fe__col a { font-size: 14.5px; color: var(--mute-d); transition: color .25s; }
.fe__col a:hover { color: #fff; }
@media (max-width: 860px) {
  .footer__enlaces { grid-template-columns: 1fr 1fr; }
  .fe__col:last-child { grid-column: 1 / -1; }
  .fe__col:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Pestañas deslizables en celular: flecha «más rubros» a la derecha (main.js, 16/11/2026) */
.tabs__mas { display: none; }
@media (max-width: 860px) {
  .tabs-caja { position: relative; }
  .tabs__mas { position: absolute; right: calc(var(--gutter) * -1 + 6px); bottom: 4px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6); animation: tabs-mas 1.6s var(--ease-in-out) infinite; }
  .tabs__mas[hidden] { display: none; }
  .tabs__mas svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  @keyframes tabs-mas { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
}
@media (prefers-reduced-motion: reduce) { .tabs__mas { animation: none; } }
