/* ============================================================
   POLLOCELL — hoja de estilos principal
   Negro profundo + amarillo de marca (#ffca00, tomado del logo)
   ============================================================ */

/* ---------- tipografías (self-hosted, variables) ---------- */
@font-face {
  font-family: 'Sora';
  src: url('../assets/fonts/sora-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'InterVar';
  src: url('../assets/fonts/inter-var.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --background: #050505;
  --background-soft: #0a0a0a;
  --surface: #101010;
  --surface-elevated: #171717;
  --primary: #ffca00;
  --primary-hover: #ffd633;
  --primary-soft: rgba(255, 202, 0, .12);
  --primary-border: rgba(255, 202, 0, .3);
  --text: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #777777;
  --border: rgba(255, 255, 255, .08);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  --shadow-glow: 0 18px 44px rgba(255, 202, 0, .14);
  --ease: cubic-bezier(.22, .68, .36, 1);
  --container: 1200px;
  --font-title: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'InterVar', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.65rem); }
h3 { font-size: clamp(1.06rem, 1.6vw, 1.24rem); }
p { margin: 0 0 1rem; color: var(--text-secondary); }
strong { color: var(--text); font-weight: 600; }
.hl { color: var(--primary); }

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

::selection { background: var(--primary); color: #000; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0b0b; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

/* los hijos de una cuadrícula no deben crecer por su contenido mínimo */
.grid > *, .split > *, .hero-grid > *, .product-grid > *,
.works-grid > *, .brand-grid > *, .stats > *, .reviews > *,
.form-wrap > *, .timeline > * { min-width: 0; }

.section { padding: clamp(60px, 8vw, 108px) 0; position: relative; }

/* el navegador aplaza el cálculo de estilo de lo que aún no se ve */
.section:not(#beneficios) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
.section--soft { background: var(--background-soft); }
.section--line { border-top: 1px solid var(--border); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--primary);
  color: #000;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- encabezados de sección ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 54px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.02rem; margin-bottom: 0; }

/* ---------- botones ---------- */
.btn {
  --btn-bg: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #0a0a0a;
  font-weight: 600;
  font-size: .96rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .22s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 202, 0, .26); }
.btn:active { transform: translateY(0); }
.btn::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}
.btn:hover::after { animation: sheen .7s var(--ease); }
@keyframes sheen {
  from { left: -60%; opacity: .8; }
  to { left: 120%; opacity: 0; }
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, .18);
}
.btn--ghost:hover {
  background: var(--primary-soft);
  border-color: var(--primary-border);
  color: var(--text);
  box-shadow: none;
}
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #131005 0%, #050505 62%);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; padding: 24px; max-width: 460px; }
.loader-logo {
  width: min(320px, 74vw);
  margin: 0 auto 22px;
  will-change: transform;
  animation: floatY 4.5s ease-in-out infinite;
}
.loader-tagline {
  font-family: var(--font-title);
  font-size: clamp(.92rem, 2.4vw, 1.06rem);
  color: var(--text-secondary);
  margin-bottom: 26px;
  letter-spacing: .01em;
}
.loader-bar {
  width: min(280px, 70vw);
  height: 3px;
  margin: 0 auto 26px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
  position: relative;
}
.loader-bar span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-100%);
  will-change: transform;
  animation: scan 1.25s var(--ease) infinite;
}
@keyframes scan { to { transform: translateX(100%); } }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.loader-enter { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.loader-enter.is-ready { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(6, 6, 6, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; min-height: 46px; }
.brand img { width: auto; height: 38px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: .92rem;
  color: var(--text-secondary);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a.is-active { color: var(--primary); }
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
.header .btn { flex: none; }
.header-cta { margin-left: 8px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  padding: 0;
  place-items: center;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 4, 4, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: calc(var(--header-h) + 20px) 24px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-family: var(--font-title);
  font-size: 1.16rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
}
.mobile-menu.is-open a.m-link { animation: mIn .42s var(--ease) forwards; }
@keyframes mIn { to { opacity: 1; transform: none; } }
.mobile-menu a.m-link::after { content: '›'; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.mobile-menu .m-foot { margin-top: auto; padding-top: 26px; }
.mobile-menu .btn { width: 100%; }
.m-social { display: flex; gap: 10px; margin-top: 14px; }
.m-social a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: .88rem;
  color: var(--text-secondary);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.m-social a:hover { border-color: var(--primary-border); color: var(--primary); background: var(--primary-soft); }
.m-social svg { width: 17px; height: 17px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(42px, 7vw, 84px)) 0 clamp(52px, 7vw, 90px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 780px; height: 780px;
  right: -220px; top: -300px;
  background: radial-gradient(circle, rgba(255, 202, 0, .16), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero-lead { font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li {
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem;
  color: var(--text-secondary);
}
.hero-points svg { width: 17px; height: 17px; color: var(--primary); flex: none; }

/* visual del hero */
.hero-visual { position: relative; }
.hero-stage {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 202, 0, .14), transparent 55%),
    linear-gradient(160deg, #131313, #080808);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-stage::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 202, 0, .5), transparent 42%, transparent 62%, rgba(255, 202, 0, .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-stage svg { width: 100%; height: auto; }
.hero-tag {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, .88);
  border: 1px solid var(--primary-border);
  backdrop-filter: blur(6px);
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
  will-change: transform;
  animation: floatY 5s ease-in-out infinite;
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }
.hero-tag--1 { top: 12%; left: -14px; }
.hero-tag--2 { top: 46%; right: -10px; animation-delay: .8s; }
.hero-tag--3 { bottom: 9%; left: 4%; animation-delay: 1.6s; }

/* ---------- tarjetas ---------- */
.grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 26px);
  transition: transform .26s var(--ease), border-color .26s var(--ease), background .26s var(--ease), box-shadow .26s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  background: var(--surface-elevated);
  box-shadow: var(--shadow-glow);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; margin-bottom: 0; }

.icon-box {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
  transition: background .26s var(--ease), transform .26s var(--ease);
}
.icon-box svg { width: 22px; height: 22px; }
.card:hover .icon-box { background: rgba(255, 202, 0, .2); transform: scale(1.06); }

/* variante beneficios: numerada, más compacta */
.card--benefit { padding-top: 26px; }
.card--benefit::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
  transform: scaleX(.35);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card--benefit:hover::before { transform: scaleX(1); }

/* variante servicio: con acción al pie */
.card--service { display: flex; flex-direction: column; }
.card--service p { flex: 1; }
.card--service .card-action {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px;
  font-size: .89rem;
  font-weight: 600;
  color: var(--primary);
  min-height: 44px;
  align-self: flex-start;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.card--service .card-action svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.card--service:hover .card-action svg { transform: translateX(4px); }

/* ---------- catálogo ---------- */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}
.search-field { position: relative; flex: 1 1 260px; min-width: 200px; }
.search-field svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text-muted); pointer-events: none;
}
.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px 12px 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.search-field input::placeholder { color: var(--text-muted); }
.search-field input:focus { border-color: var(--primary-border); background: var(--surface-elevated); outline: none; }
.search-field input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.select-field {
  min-height: 48px;
  padding: 12px 40px 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center/16px;
  color: var(--text);
  font-family: inherit;
  font-size: .93rem;
  appearance: none;
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.select-field:hover { border-color: var(--primary-border); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.chip {
  padding: 9px 17px;
  min-height: 42px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--primary-border); color: var(--text); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #0a0a0a; font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }

.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}
.product:hover { transform: translateY(-4px); border-color: var(--primary-border); box-shadow: var(--shadow-glow); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #141414, #0b0b0b);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product:hover .product-media img { transform: scale(1.05); }
.product-media .ph { width: 100%; height: 100%; display: grid; place-items: center; color: #2e2e2e; }
.product-media .ph svg { width: 54px; height: 54px; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary);
  color: #0a0a0a;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.product-state {
  position: absolute; top: 12px; right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 6, 6, .85);
  border: 1px solid var(--border);
  font-size: .7rem;
  color: var(--text-secondary);
}
.product-body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.product-name { font-family: var(--font-title); font-size: 1rem; font-weight: 600; margin: 0 0 6px; line-height: 1.3; }
.product-desc { font-size: .86rem; color: var(--text-muted); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-family: var(--font-title); font-weight: 700; color: var(--primary); font-size: 1.02rem; }
.product-price.is-ask { font-size: .88rem; color: var(--text-secondary); font-weight: 500; }
.product-prev { font-size: .8rem; color: var(--text-muted); text-decoration: line-through; margin-left: 7px; font-weight: 400; }

/* reserva el espacio del catálogo mientras llega content.json: evita saltos de contenido */
#cResults { min-height: 440px; }
#featuredWrap { min-height: 320px; }

.empty-state {
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  background: var(--background-soft);
}
.empty-state svg { width: 46px; height: 46px; color: var(--primary); margin: 0 auto 16px; }
.empty-state h2, .empty-state h3 { margin-bottom: 8px; font-size: clamp(1.06rem, 1.6vw, 1.24rem); }
.empty-state p { max-width: 54ch; margin-inline: auto; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }

/* modal producto */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box {
  width: min(920px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: translateY(14px) scale(.985);
  transition: transform .3s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.modal.is-open .modal-box { transform: none; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, .9);
  cursor: pointer;
  z-index: 3;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.modal-close:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.modal-close svg { width: 20px; height: 20px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-gallery { background: #0b0b0b; padding: 20px; }
.modal-main {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #151515, #0a0a0a);
  display: grid; place-items: center;
}
.modal-main img { width: 100%; height: 100%; object-fit: contain; }
.modal-main .ph svg { width: 70px; height: 70px; color: #2e2e2e; }
.modal-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.modal-thumbs button {
  width: 62px; height: 62px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  cursor: pointer;
  padding: 0;
  transition: border-color .2s var(--ease);
}
.modal-thumbs button.is-active { border-color: var(--primary); }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.modal-info h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
.spec-list { margin: 18px 0; border-top: 1px solid var(--border); }
.spec-list div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .89rem;
}
.spec-list dt { color: var(--text-muted); }
.spec-list dd { margin: 0; color: var(--text); text-align: right; font-weight: 500; }
.modal-price { font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; color: var(--primary); margin: 6px 0 4px; }
.modal-price.is-ask { font-size: 1.05rem; color: var(--text-secondary); font-weight: 500; }

/* ---------- marcas ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.brand-card {
  display: flex; align-items: center; justify-content: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-muted);
  letter-spacing: -.01em;
  text-align: center;
  transition: all .24s var(--ease);
}
.brand-card:hover {
  color: var(--primary);
  border-color: var(--primary-border);
  background: var(--surface-elevated);
  transform: translateY(-3px);
}
.note {
  margin-top: 20px;
  font-size: .87rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- por qué (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #131313, #070707);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.split-visual img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.check-list { margin: 22px 0 26px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--text-secondary); }
.check-list .tick {
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  margin-top: 2px;
}
.check-list .tick svg { width: 13px; height: 13px; }

/* ---------- proceso ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.timeline::before {
  content: '';
  position: absolute;
  top: 27px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-border), rgba(255, 202, 0, .55), var(--primary-border));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}
.timeline.is-visible::before { transform: scaleX(1); }
.step { text-align: center; position: relative; }
.step-dot {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.16rem;
  position: relative;
  z-index: 2;
  transition: background .26s var(--ease), transform .26s var(--ease), box-shadow .26s var(--ease);
}
.step:hover .step-dot { background: var(--primary); color: #0a0a0a; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255, 202, 0, .1); }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .87rem; margin: 0; }

/* ---------- trabajos ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: transform .26s var(--ease), border-color .26s var(--ease);
}
.work:hover { transform: translateY(-4px); border-color: var(--primary-border); }
.work-media { aspect-ratio: 4 / 3; overflow: hidden; background: #0d0d0d; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.work:hover .work-media img { transform: scale(1.05); }
.work-body { padding: 15px 16px 17px; }
.work-body h3 { font-size: .98rem; margin-bottom: 4px; }
.work-body p { font-size: .84rem; color: var(--text-muted); margin: 0; }
.work-flag {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(6, 6, 6, .85);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: .7rem; font-weight: 600;
}

/* comparador antes/después */
.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: #0d0d0d;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 50%); }
.compare-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--primary);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare-handle {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
  cursor: ew-resize;
  border: 0;
  padding: 0;
}
.compare-handle svg { width: 20px; height: 20px; }
.compare-tag {
  position: absolute; bottom: 12px;
  padding: 4px 11px; border-radius: 999px;
  background: rgba(6, 6, 6, .82);
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-secondary);
}
.compare-tag.l { left: 12px; }
.compare-tag.r { right: 12px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(0, 0, 0, .93);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 84vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(20, 20, 20, .9);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lightbox-nav:hover { background: var(--primary); color: #000; }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav.prev { left: 18px; }
.lightbox-nav.next { right: 18px; }
.lightbox-cap {
  position: absolute; bottom: 24px; left: 0; right: 0;
  text-align: center; font-size: .9rem; color: var(--text-secondary);
}

/* tiktok fallback */
.social-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 202, 0, .1), transparent 58%),
    var(--surface);
}
.social-cta .ic {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}
.social-cta .ic svg { width: 30px; height: 30px; }
.social-cta h3 { margin-bottom: 4px; }
.social-cta p { margin: 0; font-size: .94rem; }

/* ---------- estadísticas ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.stat {
  text-align: center;
  padding: clamp(20px, 2.6vw, 28px) 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat-num { font-family: var(--font-title); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--primary); line-height: 1; }
.stat-lab { font-size: .86rem; color: var(--text-muted); margin-top: 8px; }

/* ---------- testimonios ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.review { display: flex; flex-direction: column; gap: 12px; }
.review-stars { display: flex; gap: 3px; color: var(--primary); }
.review-stars svg { width: 16px; height: 16px; }
.review-text { font-size: .94rem; color: var(--text-secondary); flex: 1; margin: 0; }
.review-foot { display: flex; align-items: center; gap: 11px; padding-top: 12px; border-top: 1px solid var(--border); }
.review-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-soft); border: 1px solid var(--primary-border);
  display: grid; place-items: center;
  color: var(--primary); font-weight: 700; font-family: var(--font-title);
  flex: none; overflow: hidden;
}
.review-av img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-weight: 600; font-size: .93rem; }
.review-src { font-size: .78rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .24s var(--ease); }
.faq-item.is-open { border-color: var(--primary-border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  min-height: 58px;
  background: none; border: 0;
  font-family: var(--font-title);
  font-size: clamp(.96rem, 1.5vw, 1.05rem);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q .plus {
  width: 28px; height: 28px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--primary-border);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .24s var(--ease);
}
.faq-q .plus svg { width: 14px; height: 14px; }
.faq-item.is-open .plus { transform: rotate(45deg); background: var(--primary); color: #0a0a0a; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; margin: 0; font-size: .94rem; }

/* ---------- formulario ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 3.6vw, 48px);
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .87rem; font-weight: 500; margin-bottom: 7px; color: var(--text-secondary); }
.field .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #0c0c0c;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary-border); background: #101010; outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff6b5e; }
.field-error { display: none; font-size: .81rem; color: #ff8b80; margin-top: 6px; }
.field-error::before { content: '⚠ '; }
.field.has-error .field-error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .82rem; color: var(--text-muted); margin: 14px 0 0; }
.form-ok {
  display: none;
  align-items: flex-start; gap: 11px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  font-size: .9rem;
  color: var(--text);
}
.form-ok.is-visible { display: flex; }
.form-ok svg { width: 19px; height: 19px; color: var(--primary); flex: none; margin-top: 2px; }

.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .22s var(--ease), background .22s var(--ease);
}
.contact-item:hover { border-color: var(--primary-border); background: var(--surface-elevated); }
.contact-item .ic {
  width: 40px; height: 40px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}
.contact-item .ic svg { width: 19px; height: 19px; }
.contact-item h3 { font-size: .84rem; font-weight: 500; color: var(--text-muted); margin: 0 0 3px; font-family: var(--font-body); letter-spacing: 0; }
.contact-item p { margin: 0; color: var(--text); font-size: .96rem; font-weight: 500; }

/* ---------- ubicación ---------- */
.map-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.map-panel {
  position: relative;
  width: 100%;          /* sin esto, aspect-ratio + min-height fuerza un ancho mínimo de 544px */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 340px;
  aspect-ratio: 16 / 10;
}
.map-panel iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 26px;
  text-align: center;
  background: linear-gradient(160deg, #131313, #080808);
}
.map-placeholder svg { width: 44px; height: 44px; color: var(--primary); margin: 0 auto 14px; }
.map-placeholder p { margin: 0; }
.map-panel[hidden] { display: none; }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--primary-border);
  padding: clamp(34px, 5.5vw, 68px) clamp(24px, 4vw, 56px);
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 202, 0, .22), transparent 55%),
    linear-gradient(150deg, #141105, #060606 62%);
  text-align: center;
}
.final-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%);
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 { margin-bottom: 12px; }
.final-cta p { max-width: 52ch; margin-inline: auto; font-size: 1.02rem; }
.final-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: #030303; padding: clamp(44px, 5vw, 66px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 3vw, 40px); }
.footer img.f-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer p { font-size: .9rem; }
.footer h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-body); font-weight: 600; margin-bottom: 14px; }
.footer-links { display: grid; gap: 2px; }
.footer-links a {
  display: flex; align-items: center;
  min-height: 44px;
  font-size: .92rem;
  color: var(--text-secondary);
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.f-contact { display: grid; gap: 11px; font-size: .92rem; color: var(--text-secondary); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.f-contact svg { width: 17px; height: 17px; color: var(--primary); flex: none; margin-top: 3px; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-secondary);
  transition: all .22s var(--ease);
}
.f-social a:hover { color: var(--primary); border-color: var(--primary-border); background: var(--primary-soft); transform: translateY(-2px); }
.f-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(30px, 4vw, 48px);
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  font-size: .84rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--primary); }
.f-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.f-tools > *, .footer-bottom > span { display: inline-flex; align-items: center; min-height: 44px; }
.f-tools button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: var(--text-muted); font-size: .84rem;
  transition: color .2s var(--ease);
}
.f-tools button:hover, .f-tools a:hover { color: var(--primary); }

/* ---------- flotantes ---------- */
.fab-wa {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .34);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.fab-wa:hover { transform: scale(1.07); box-shadow: 0 14px 32px rgba(37, 211, 102, .45); }
/* se aparta cuando el formulario está en pantalla para no tapar los campos */
.fab-wa.is-away { opacity: 0; visibility: hidden; transform: scale(.6) translateY(12px); }
.fab-wa svg { width: 29px; height: 29px; }
.fab-wa::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .5);
  will-change: transform, opacity;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 79;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(20, 20, 20, .92);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .26s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--primary); border-color: var(--primary-border); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .62s var(--ease), transform .62s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .34s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .46s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-tag--1 { left: 6px; }
  .hero-tag--2 { right: 6px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
  .form-wrap { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .modal-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .timeline::before {
    top: 0; bottom: 0; left: 27px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--primary-border), rgba(255, 202, 0, .55), transparent);
    transform: scaleY(0); transform-origin: top;
  }
  .timeline.is-visible::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 16px; text-align: left; padding-bottom: 26px; }
  .step-dot { margin: 0; }
  .social-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .select-field { width: 100%; }
  .fab-wa { width: 52px; height: 52px; right: 14px; }
  .to-top { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
  .modal { padding: 12px; }
  .final-cta .btns .btn { flex: 1 1 100%; }
}

@media (max-width: 400px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .timeline::before { transform: none !important; }
}

/* ---------- impresión ---------- */
@media print {
  .header, .fab-wa, .to-top, #loader, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
