/* =============================================================
   REMEDIA — styles.css
   Oscuro · tecnológico · tipografía sans de precisión
   Acento de marca: vino → carmesí → rosa (degradados vivos)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #000000;
  --bg-1: #0A0A0B;
  --bg-2: #111113;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.18);
  --fg: #F5F5F7;
  --mute: #A1A1A6;            /* contraste ≈ 8:1 sobre negro */
  --mute-2: #86868B;          /* contraste ≈ 5.6:1 sobre negro */

  --wine: #5B0F18;            /* color de marca */
  --wine-2: #7A1424;
  --crimson: #E0485A;         /* versión luminosa para fondo negro */
  --rose: #F2A7B0;
  --ember: #FF7A59;
  --error: #FF8A8A;
  --ok: #8BE3B0;

  --grad: linear-gradient(100deg, #F5F5F7 0%, #F2A7B0 28%, #E0485A 55%, #FF7A59 78%, #F5F5F7 100%);
  --grad-btn: linear-gradient(120deg, #7A1424 0%, #B3263A 45%, #E0485A 100%);

  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --nav-h: 64px;
  --section-y: clamp(88px, 10vw, 150px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--bg);
  color-scheme: dark;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
em { font-style: normal; }
::selection { background: var(--crimson); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1000;
  background: var(--fg); color: #000; padding: 10px 16px; font-size: 14px; border-radius: 999px;
}
.skip-link:focus { top: 16px; }

/* Logo: el PNG original convertido en máscara, se tiñe con currentColor */
.logo-word, .logo-full {
  display: block; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: left center; mask-position: left center;
}
.logo-word {
  width: 108px; aspect-ratio: 6 / 1;
  -webkit-mask-image: url("assets/img/logo-wordmark.webp?v=20261028b"); mask-image: url("assets/img/logo-wordmark.webp?v=20261028b");
}
.logo-full {
  width: 200px; aspect-ratio: 900 / 617;
  -webkit-mask-image: url("assets/img/logo-remedia.webp?v=20261028b"); mask-image: url("assets/img/logo-remedia.webp?v=20261028b");
}

/* Texto en degradado vivo (cambio de color continuo) */
.hero__title em, .section-title em, .value__title em, .contact__title em, .legal h1 em, .manifesto__text em, .nf h1 em {
  background: var(--grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 9s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--mute);
}
.eyebrow {
  padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); flex: none;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224,72,90,.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(224,72,90,0); } }
.section-label span { color: var(--crimson); }
.section-label span::after { content: " /"; color: var(--mute-2); }

.section-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 1.0; letter-spacing: -0.045em;
  margin-top: 20px; max-width: 15ch;
}

.fig-caption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--mute-2); }

/* =============================================================
   5. Components
   ============================================================= */
/* Botones tipo píldora con destello */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  color: var(--fg); border: 1px solid var(--line-2); background: transparent;
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s, box-shadow .5s var(--ease-out);
}
.btn::after { /* destello que barre el botón */
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn:hover::after { transition: transform .9s var(--ease-out); transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn__arrow { display: inline-block; transition: transform .5s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--wine {
  border-color: transparent; color: #fff;
  background: var(--grad-btn); background-size: 160% 100%; background-position: 0% 50%;
  box-shadow: 0 10px 40px -12px rgba(224,72,90,.55), inset 0 1px 0 rgba(255,255,255,.18);
  transition: background-position .8s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.btn--wine:hover { background-position: 100% 50%; box-shadow: 0 16px 50px -12px rgba(224,72,90,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--wine::after { animation: sheen 7s var(--ease-soft) 2s infinite; }
@keyframes sheen { 0%, 78% { transform: translateX(-120%); } 92%, 100% { transform: translateX(120%); } }
.btn--wine:hover::after { animation: none; }
.btn--ink { background: var(--fg); color: #000; border-color: var(--fg); }
.btn--ink:hover { background: #fff; }
.btn--ghost { background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--ghost:hover { border-color: var(--fg); background: var(--glass-2); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--rose);
  transition: gap .4s var(--ease-out), color .3s;
}
.link-arrow:hover { gap: 14px; color: #fff; }
.link-more { display: inline-block; margin-left: 18px; font-size: 14px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .3s; }
.link-more:hover { color: var(--fg); }
.link-underline {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: var(--crimson); transition: color .3s;
}
.link-underline:hover { color: var(--rose); }

.badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--rose); border: 1px solid rgba(224,72,90,.45); padding: 6px 12px; border-radius: 999px;
  background: rgba(224,72,90,.08);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 10px var(--crimson); }

.ticks { display: grid; gap: 12px; margin: 28px 0 32px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: var(--mute); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(224,72,90,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23F2A7B0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Tarjeta con luz que sigue al cursor (.spot la añade el JS) */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.spot::before { /* resplandor interior */
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(224,72,90,.13), transparent 45%);
}
.spot::after { /* borde iluminado */
  z-index: 3; padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(242,167,176,.75), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* Órbita (del logo), con estela luminosa que la recorre */
.orbit { position: absolute; pointer-events: none; overflow: visible; }
.orbit__path { fill: none; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 44 4 47 5; }
.orbit__trail {
  fill: none; stroke: #FFD3D9; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 9 91; stroke-dashoffset: 109;
  filter: drop-shadow(0 0 6px rgba(224,72,90,.9)) drop-shadow(0 0 16px rgba(224,72,90,.6));
  animation: trail var(--dur, 12s) linear infinite;
}
@keyframes trail { to { stroke-dashoffset: 9; } }
.orbit__dot { fill: #fff; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px rgba(224,72,90,.95)); }

/* ---------- Mockups de interfaz (oscuros) ---------- */
.mock {
  background: linear-gradient(180deg, #151517, #0D0D0F); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 40px 80px -30px rgba(0,0,0,.9);
}
.mock__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #3A3A3E; }
.mock__bar i:first-child { background: #E0485A; }
.mock__url {
  margin: 0 auto; font-family: var(--mono); font-size: 9.5px; color: var(--mute-2);
  background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 2px 14px; border-radius: 999px;
}
.mock__body { padding: 16px; }
.mk-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.mk-logo { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--fg); margin-right: auto; position: relative; }
.mk-logo::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--crimson); top: -3px; right: -3px; box-shadow: 0 0 6px var(--crimson); }
.mk-line { display: block; height: 5px; background: #2A2A2E; border-radius: 3px; margin: 7px 0; }
.mk-nav .mk-line { margin: 0; height: 4px; }
.mk-line.dark { background: var(--fg); height: 7px; }
.w14 { width: 14%; } .w16 { width: 16%; } .w20 { width: 20%; } .w40 { width: 40%; } .w50 { width: 50%; }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 22px; padding: 0 12px; margin-top: 10px; border-radius: 999px;
  background: var(--grad-btn); color: #fff; font-size: 9px; font-weight: 500; white-space: nowrap;
}
.mk-btn--xs { min-height: 10px; width: 34px; padding: 0; margin: 0; }
.mk-btn--block { display: flex; width: 100%; }
.mk-field { display: block; height: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); margin-bottom: 6px; border-radius: 5px; }
.mk-field--tall { height: 30px; }
.mk-kicker { font-family: var(--mono); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; color: var(--rose); }
.mk-title { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.02; margin: 6px 0 10px; letter-spacing: -.035em; }

/* Anuncio de búsqueda (vidrio) */
.hv-ad {
  background: rgba(22,22,24,.8); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px 16px;
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.hv-ad__meta { font-size: 10.5px; color: var(--mute-2); }
.hv-ad__meta b { color: var(--fg); font-weight: 600; }
.hv-ad__title { font-size: 14px; font-weight: 500; color: var(--rose); line-height: 1.3; margin: 4px 0; }
.hv-ad__text { font-size: 11.5px; color: var(--mute); line-height: 1.45; }

/* Campos de formulario */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 13px; font-weight: 500; color: var(--fg); }
.req { color: var(--crimson); }
.opt { color: var(--mute-2); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 16px; line-height: 1.4; color: var(--fg);
  transition: border-color .25s, box-shadow .35s var(--ease-out), background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select option { background: var(--bg-2); color: var(--fg); }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #7C7C82; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.34); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crimson); background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(224,72,90,.18), 0 0 30px -6px rgba(224,72,90,.45);
}
.field [aria-invalid="true"] { border-color: var(--error); background: rgba(255,138,138,.06); }
.field__error { font-size: 13px; color: var(--error); }
.field__error:empty { display: none; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--crimson); cursor: pointer; }
.field--check label { font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--mute); }
.field--check .field__error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Navegación (vidrio) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-soft), border-color .4s;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, .66); border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__logo { color: var(--fg); padding: 8px 0; }
.nav__links { display: none; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font-size: 13.5px; color: var(--mute); padding: 6px 0; transition: color .3s; }
.nav__links a:hover { color: var(--fg); }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--crimson); box-shadow: 0 0 8px var(--crimson); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease-out);
}
.nav__links a.is-active { color: var(--fg); }
.nav__links a.is-active::after { transform: translateX(-50%) scale(1); }
.nav__cta { display: none; }
.nav__toggle { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.nav__toggle-bar { display: block; width: 22px; height: 1.5px; background: var(--fg); border-radius: 2px; transition: transform .4s var(--ease-out); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-of-type { transform: translateY(4.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-of-type { transform: translateY(-4.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; overflow-y: auto; border-top: 1px solid var(--line);
  background: rgba(0,0,0,.92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.menu__inner { padding-top: 28px; padding-bottom: 48px; display: grid; gap: 40px; }
.menu__list li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px); animation: menuIn .6s var(--ease-out) forwards; }
.menu__list li:nth-child(2) { animation-delay: .05s; } .menu__list li:nth-child(3) { animation-delay: .1s; }
.menu__list li:nth-child(4) { animation-delay: .15s; } .menu__list li:nth-child(5) { animation-delay: .2s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  font-family: var(--display); font-weight: 600; letter-spacing: -.04em; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.05;
}
.menu__list a span { font-family: var(--mono); font-size: 12px; color: var(--crimson); letter-spacing: 0; font-weight: 400; }
.menu__cta { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 9vw, 120px)); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.aurora { position: absolute; inset: -10% -10% 30% -10%; filter: blur(70px) saturate(1.2); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: 8%; top: -18%; background: radial-gradient(circle, rgba(122,20,36,.95), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; right: 4%; top: -8%; background: radial-gradient(circle, rgba(224,72,90,.55), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: 38%; top: 12%; background: radial-gradient(circle, rgba(255,122,89,.32), transparent 65%); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, 12vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-8vw, -6vh) scale(1.25) rotate(40deg); } }
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero__cursor {
  position: absolute; width: 640px; height: 640px; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,167,176,.14), transparent 60%);
  transform: translate(calc(var(--cx, 50vw) - 320px), calc(var(--cy, 30vh) - 320px));
  opacity: 0; transition: opacity .6s;
}
.hero.is-pointer .hero__cursor { opacity: 1; }
.hero::after { /* fundido inferior hacia negro */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 0; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid { display: grid; gap: clamp(56px, 8vw, 96px); justify-items: center; text-align: center; }
.hero__copy { display: grid; justify-items: center; max-width: 1100px; }
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.9rem, 6.4vw, 6.2rem); line-height: .96; letter-spacing: -0.04em;
  margin: 28px 0 28px;
}
.hero__title em { display: block; padding-bottom: .06em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 34em; color: var(--mute); letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__for { margin-top: 36px; font-size: 14px; color: var(--mute-2); max-width: 44em; line-height: 1.55; }
.hero__for-label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--rose); margin-right: 8px; }

/* Reparto palabra por palabra (el JS envuelve cada palabra en .w) */
[data-split] .w { display: inline-block; white-space: pre; }
.js [data-split] .w { opacity: 0; transform: translateY(.45em); filter: blur(12px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 120ms); }
.js [data-split].is-in .w { opacity: 1; transform: none; filter: none; }
.js [data-split] em { clip-path: inset(-20% 100% -20% 0); transition: clip-path 1.4s var(--ease-out) .55s; }
.js [data-split].is-in em { clip-path: inset(-20% -2% -20% 0); }

/* Escenario del hero */
.hero__visual { position: relative; width: 100%; max-width: 1080px; display: grid; padding: 8px 0 44px; text-align: left; perspective: 1400px; }
.orbit--hero { left: -12%; top: 2%; width: 124%; }
.hv-search {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 10px; width: min(92%, 380px);
  background: rgba(22,22,24,.82); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 12px 18px; font-size: 13px; color: var(--fg);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.9), 0 0 0 4px rgba(224,72,90,.06);
}
.hv-search__icon { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--mute); stroke-width: 1.6; }
.hv-caret { width: 1.5px; height: 15px; background: var(--crimson); margin-left: -6px; flex: none; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__visual > .hv-ad { position: relative; z-index: 3; width: min(88%, 360px); margin: 14px 0 0 10%; }
.mock--hero { position: relative; z-index: 2; width: 100%; margin-top: -26px; transform-origin: 50% 100%; transform: rotateX(var(--tilt, 0deg)); }
.mock--hero .mk-nav { margin-bottom: 28px; }
.mk-hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; align-items: end; }
.mk-form { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mk-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mk-row3 span { height: 44px; border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line); }
.mk-row3 span:nth-child(2) { background: linear-gradient(160deg, rgba(224,72,90,.35), rgba(91,15,24,.25)); border-color: rgba(224,72,90,.35); }
.hero__visual > .fig-caption { position: absolute; left: 0; bottom: 0; }

/* Entrada escalonada del escenario */
.js .hero__visual > .hv-search, .js .hero__visual > .hv-ad, .js .hero__visual > .mock--hero {
  opacity: 0; transition: opacity 1.1s var(--ease-out), translate 1.3s var(--ease-out);
}
.js .hero__visual > .hv-search { translate: -30px 0; transition-delay: .9s; }
.js .hero__visual > .hv-ad { translate: 0 24px; transition-delay: 1.15s; }
.js .hero__visual > .mock--hero { translate: 0 60px; transition-delay: .7s; }
.js .hero__visual.is-in > * { opacity: 1; translate: 0 0; }

.index-strip {
  display: grid; margin-top: clamp(72px, 10vw, 128px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--glass); overflow: hidden;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.index-strip li + li { border-top: 1px solid var(--line); }
.index-strip a {
  display: flex; align-items: center; gap: 14px; padding: 22px 26px;
  font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.1;
  transition: color .3s, background-color .4s;
}
.index-strip a::after { content: "→"; margin-left: auto; font-family: var(--sans); color: var(--mute-2); transition: transform .5s var(--ease-out), color .3s; }
.index-strip a:hover { background: var(--glass-2); }
.index-strip a:hover::after { transform: translateX(5px); color: var(--rose); }
.index-strip__n { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--crimson); letter-spacing: 0; }

/* Cinta de búsquedas */
.mq { position: relative; z-index: 1; margin-top: clamp(64px, 8vw, 104px); }
.mq__label { text-align: center; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute-2); margin-bottom: 22px; padding-inline: var(--gutter); }
.mq__track {
  display: flex; overflow: hidden; gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq__list { display: flex; gap: 12px; flex: none; animation: marquee 48s linear infinite; }
.mq:hover .mq__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 12px)); } }
.mq__list li {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass);
  font-size: 14px; color: var(--mute);
}
.mq__icon { width: 12px; height: 12px; border: 1.5px solid var(--mute-2); border-radius: 50%; position: relative; flex: none; }
.mq__icon::after { content: ""; position: absolute; width: 5px; height: 1.5px; background: var(--mute-2); right: -5px; bottom: -2px; transform: rotate(45deg); }

/* ---------- Secciones genéricas ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { margin-bottom: clamp(56px, 8vw, 104px); }
.section-head--split { display: grid; gap: 32px; align-items: end; }

/* Barrido de titulares: se revelan de izquierda a derecha con un filo de luz */
.js .section-title.reveal, .js .value__title.reveal, .js .contact__title.reveal {
  opacity: 1; transform: none; filter: none; position: relative;
  clip-path: inset(-20% 100% -25% 0); transition: clip-path 1.5s var(--ease-out);
}
.js .section-title.reveal.is-in, .js .value__title.reveal.is-in, .js .contact__title.reveal.is-in { clip-path: inset(-20% -4% -25% 0); }
.section-title.reveal::after, .value__title.reveal::after, .contact__title.reveal::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 3px; border-radius: 3px; pointer-events: none;
  background: linear-gradient(transparent, #fff, var(--crimson), transparent);
  box-shadow: 0 0 24px 6px rgba(224,72,90,.6); opacity: 0;
}
.js .reveal.is-in.section-title::after, .js .reveal.is-in.value__title::after, .js .reveal.is-in.contact__title::after { animation: sweepEdge 1.5s var(--ease-out) forwards; }
@keyframes sweepEdge { 0% { left: 0; opacity: 1; } 85% { opacity: .9; } 100% { left: 100%; opacity: 0; } }

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: clamp(96px, 12vw, 180px); }
.manifesto__inner { display: grid; justify-items: center; text-align: center; gap: 32px; }
.manifesto__text {
  font-family: var(--display); font-weight: 600; letter-spacing: -.04em; line-height: 1.1;
  font-size: clamp(1.9rem, 4.6vw, 4.1rem); max-width: 21ch;
}
.js .manifesto__text em .w { color: #3A3A3E; }
.js .manifesto__text em .w.on { color: transparent; }
.manifesto__sign { font-family: var(--mono); font-size: 13px; color: var(--mute); letter-spacing: .02em; }

/* ---------- Servicios ---------- */
.services { padding-top: clamp(80px, 10vw, 140px); }
.service {
  display: grid; gap: 32px; padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.service + .service { margin-top: 20px; }
.service__head { display: flex; align-items: baseline; gap: 16px; }
.service__n { font-family: var(--mono); font-size: 13px; color: var(--crimson); flex: none; }
.service__title { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.02; letter-spacing: -0.045em; }
.service__desc { font-size: 18px; line-height: 1.55; color: var(--fg); max-width: 30em; letter-spacing: -.01em; }

.service__viz { position: relative; }
.viz {
  position: relative; overflow: hidden; display: grid; place-items: center; min-height: 290px;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-md); border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 80% 0%, rgba(122,20,36,.45), transparent 60%), #0B0B0D;
}
.viz::before {
  content: ""; position: absolute; width: 140%; aspect-ratio: 1.7; left: -20%; top: 18%;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%; transform: rotate(-18deg);
}
.viz::after { /* barrido de luz periódico */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.07) 50%, transparent 60%);
  background-size: 250% 100%; animation: vizSweep 6s var(--ease-soft) infinite;
}
@keyframes vizSweep { 0%, 50% { background-position: 150% 0; } 100% { background-position: -100% 0; } }
.viz > * { position: relative; z-index: 1; }
.mock--sm { width: min(100%, 340px); }
.vw__hero { padding: 14px; background: rgba(255,255,255,.04); border-radius: 8px; margin-bottom: 10px; }
.vw__hero .mk-btn--xs { margin-top: 8px; display: block; width: 40px; height: 12px; }
.vw__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.vw__cols span { height: 46px; border: 1px solid var(--line); border-radius: 8px; }
.vw__band { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; background: linear-gradient(120deg, #2A0A10, #12060A); border-radius: 8px; }
.vw__band .mk-line { background: #3A2A2E; margin: 0; }
.vw__band .mk-btn--xs { width: 40px; height: 12px; }
.viz__note {
  position: absolute !important; z-index: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--rose);
  display: flex; align-items: center; gap: 8px;
}
.viz__note::before { content: ""; width: 24px; height: 1px; background: var(--crimson); box-shadow: 0 0 8px var(--crimson); }
.viz__note--a { top: 18px; right: 18px; }
.viz__note--b { bottom: 18px; left: 18px; }

.viz--ads { gap: 14px; align-content: center; }
.kw { width: min(100%, 360px); background: rgba(20,20,22,.92); border: 1px solid var(--line-2); border-radius: 12px; font-size: 12px; overflow: hidden; }
.kw p { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--fg); }
.kw p:last-child { border-bottom: 0; }
.kw b { font-family: var(--mono); font-weight: 400; color: var(--mute-2); font-size: 10.5px; }
.kw b.hi { color: var(--ok); }
.kw .kw__head { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--mute-2); background: rgba(255,255,255,.03); }
.kw__neg span { text-decoration: line-through; color: var(--mute-2); }
.kw .kw__neg b { color: var(--error); }
.hv-ad--inline { width: min(100%, 360px); padding: 12px 14px; }

.viz--cro { grid-template-columns: 1fr 1fr; gap: 14px; place-items: end stretch; }
.cro { background: rgba(20,20,22,.92); border: 1px solid var(--line-2); border-radius: 12px; padding: 30px 12px 12px; position: relative; }
.cro__tag { position: absolute; top: 9px; left: 12px; font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; color: var(--mute-2); }
.cro--after .cro__tag { color: var(--ok); }
.cro--before .mk-field { height: 11px; margin-bottom: 5px; }
.cro__btn-muted { display: block; width: fit-content; padding: 3px 10px; margin-top: 8px; font-size: 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--mute-2); }
.cro--after { box-shadow: 0 30px 60px -24px rgba(224,72,90,.5); border-color: rgba(224,72,90,.5); }
.cro--after .mk-btn { min-height: 28px; }

/* ---------- Propuesta de valor ---------- */
.value { background: var(--bg); overflow: hidden; }
.value::before { /* resplandor que cambia de color lentamente */
  content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; left: 50%; top: 6%;
  transform: translateX(-50%); border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .45;
  background: conic-gradient(from var(--ang), #5B0F18, #E0485A, #FF7A59, #7A1424, #5B0F18);
  animation: spin 24s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 65%); mask-image: radial-gradient(circle, #000 0%, transparent 65%);
}
@keyframes spin { to { --ang: 360deg; } }
.orbit--value { width: 70%; right: -22%; top: -4%; }
.value > .container { position: relative; z-index: 1; }
.value__top { text-align: center; display: grid; justify-items: center; }
.value__title {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -0.05em;
  margin-top: 22px; max-width: 17ch;
}
.value__title em { display: block; }
.value__grid { display: grid; gap: 48px; margin-top: clamp(64px, 8vw, 112px); align-items: center; }
.value__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.value__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.82); transform: scale(1.08); transition: transform 2.2s var(--ease-out); }
.value__photo::after { /* velo de color de marca */
  content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none;
  background: linear-gradient(140deg, rgba(224,72,90,.85) 0%, rgba(122,20,36,.35) 45%, rgba(255,255,255,0) 70%, rgba(255,122,89,.55) 100%);
}
.value__copy p { color: var(--mute); font-size: 17px; line-height: 1.7; max-width: 34em; }
.value__copy p + p { margin-top: 18px; }
.value__copy .value__lead {
  font-family: var(--display); font-weight: 600; letter-spacing: -.035em;
  font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.12; color: var(--fg); margin-bottom: 28px;
}
/* Palabras que se encienden al hacer scroll */
[data-scrub] .w { transition: color .3s linear; }
.js [data-scrub] .w { color: #3A3A3E; }
.js [data-scrub] .w.on { color: var(--fg); }

.flow { display: grid; gap: 16px; margin-top: clamp(64px, 8vw, 112px); position: relative; }
.flow__step {
  position: relative; padding: 28px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.flow__n { font-family: var(--mono); font-size: 12px; color: var(--crimson); }
.flow__step h3 { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.035em; line-height: 1.1; margin: 10px 0 8px; }
.flow__step p { font-size: 15px; color: var(--mute); }
.flow__step:last-child { border-color: rgba(224,72,90,.45); background: linear-gradient(160deg, rgba(224,72,90,.18), rgba(91,15,24,.08)); }

/* ---------- Proyectos ---------- */
.projects__note { display: grid; gap: 14px; font-size: 14.5px; color: var(--mute); max-width: 32em; line-height: 1.6; }
.gallery { display: grid; gap: 48px 24px; }
.work { display: grid; gap: 18px; align-content: start; }
.work__frame {
  position: relative; overflow: hidden; display: grid; place-items: center; border-radius: var(--r-lg);
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); border: 1px solid var(--line);
}
.work__frame > * { width: 100%; transition: transform 1s var(--ease-out); position: relative; z-index: 1; }
.work:hover .work__frame > * { transform: translateY(-8px) scale(1.015); }
.work__frame > .mock--phone { width: min(56%, 230px); }
.work__frame::after { /* destello al pasar el cursor */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%);
  transform: translateX(-100%);
}
.work:hover .work__frame::after { transition: transform 1.2s var(--ease-out); transform: translateX(100%); }
.work__frame--stone { background: radial-gradient(90% 80% at 20% 0%, rgba(255,255,255,.12), transparent 60%), #141416; }
.work__frame--ink { background: radial-gradient(80% 70% at 50% 100%, rgba(224,72,90,.45), transparent 65%), #08080A; }
.work__frame--wine { background: linear-gradient(150deg, #7A1424, #2A0910 70%); }
.work__frame--cream { background: radial-gradient(90% 80% at 100% 0%, rgba(255,122,89,.25), transparent 60%), #111113; }
.work__cap { display: grid; gap: 4px; grid-template-columns: auto 1fr; column-gap: 18px; align-content: start; }
.work__n { font-family: var(--mono); color: var(--crimson); font-size: 12px; grid-row: span 2; padding-top: 4px; }
.work__name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.work__desc { font-size: 14.5px; color: var(--mute); grid-column: 2; }

.pj__title { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.2vw, 30px); line-height: 1.02; letter-spacing: -.04em; max-width: 14ch; margin: 6px 0 12px; }
.pj__title i { font-style: normal; color: var(--rose); }
.pj__split .mk-btn { margin-top: 12px; }
.pj__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.pj__cards span { height: 54px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.pj__cards span:first-child { background: linear-gradient(150deg, #7A1424, #2A0910); border-color: rgba(224,72,90,.4); }

.mock--phone { border-radius: 30px; border: 6px solid #1E1E21; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12); }
.pj--remodel { padding: 12px; }
.pj__img { display: block; height: 92px; margin: -12px -12px 12px; position: relative;
  background: radial-gradient(70% 90% at 70% 20%, rgba(255,122,89,.5), transparent 60%), linear-gradient(135deg, #2A2A2E 0 40%, #18181B 40% 100%); }
.pj__img::after { content: ""; position: absolute; left: 14px; bottom: 14px; width: 44%; height: 34%; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; }
.pj--remodel .pj__title { font-size: 19px; }
.pj--remodel .mk-btn--block { min-height: 26px; margin: 10px 0; }
.pj--b2b .pj__title { font-size: clamp(18px, 2vw, 26px); }
.pj__table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pj__table span { height: 30px; border-radius: 6px; background: rgba(255,255,255,.04); border-left: 2px solid var(--crimson); }

.tree { background: rgba(20,20,22,.92); border: 1px solid var(--line-2); border-radius: 14px; padding: 20px; font-size: 12.5px; display: grid; gap: 12px; font-family: var(--mono); }
.tree__node { font-weight: 500; color: var(--fg); }
.tree__node--root { padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--rose); }
.tree__branch { padding-left: 16px; border-left: 1px solid var(--line-2); display: grid; gap: 4px; }
.tree__leaf { color: var(--mute); padding-left: 14px; position: relative; font-size: 11.5px; }
.tree__leaf::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--line-2); }
.tree__neg { font-size: 11px; color: var(--mute-2); }
.tree__neg s { text-decoration-color: var(--error); }

/* ---------- Proceso ---------- */
.process { background: linear-gradient(180deg, var(--bg), var(--bg-1) 30%, var(--bg-1) 70%, var(--bg)); }
.steps { display: grid; position: relative; gap: 16px; }
.steps__rail { display: none; }
.step {
  padding: 28px; border-radius: var(--r-md); border: 1px solid var(--line); position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color .8s;
}
.step__n {
  display: block; font-family: var(--display); font-weight: 600; font-size: clamp(3.6rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.06em; margin-bottom: 26px;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3);
  background: var(--grad); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  background-position: 0% 0; transition: background-position 1.6s var(--ease-out), -webkit-text-stroke-color 1s;
  background-image: linear-gradient(100deg, transparent 0 30%, #F5F5F7 45%, #F2A7B0 62%, #E0485A 80%, #FF7A59 100%);
}
.step.is-lit .step__n { background-position: 100% 0; -webkit-text-stroke-color: transparent; }
.step.is-lit { border-color: rgba(224,72,90,.35); }
.step__title { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 10px; }
.step p { color: var(--mute); font-size: 15.5px; max-width: 24em; }

/* ---------- Estudio ---------- */
.studio__grid { display: grid; gap: 56px; align-items: start; }
.studio__photo { position: relative; }
.studio__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.9); border-radius: var(--r-lg); border: 1px solid var(--line); }
.studio__photo::before {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #fff; z-index: 2;
  top: -7px; right: 18%; box-shadow: 0 0 12px #fff, 0 0 30px var(--crimson);
}
.studio__photo .fig-caption { margin-top: 14px; }
.studio__copy > p:not(.section-label) { color: var(--mute); font-size: 17px; line-height: 1.7; max-width: 34em; margin-top: 18px; }
.studio__copy .studio__lead { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; color: var(--fg) !important; font-size: clamp(1.45rem, 2.4vw, 2.05rem) !important; line-height: 1.2 !important; margin-top: 36px !important; }
.principles { margin-top: 44px; display: grid; gap: 12px; }
.principles > div { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--glass); }
.principles dt { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.principles dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 10px var(--crimson); }
.principles dd { color: var(--mute); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 48px; }
.faq__aside { margin-top: 24px; color: var(--mute); font-size: 15px; }
.faq__list { display: grid; gap: 10px; }
.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--glass); transition: border-color .4s, background-color .4s; }
.qa[open] { border-color: rgba(224,72,90,.4); background: rgba(255,255,255,.06); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 24px; font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.25;
  border-radius: inherit;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--fg), var(--fg)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--fg), var(--fg)) center / 1.5px 11px no-repeat;
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s;
}
.qa summary:hover::after { border-color: var(--fg); }
.qa[open] summary::after { transform: rotate(135deg); background-color: var(--crimson); border-color: var(--crimson); }
.qa__a { padding: 0 64px 24px 24px; }
.qa__a p { color: var(--mute); font-size: 16px; line-height: 1.7; max-width: 44em; }
.qa[open] .qa__a { animation: qaIn .6s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); filter: blur(6px); } }

/* ---------- Contacto ---------- */
.contact { overflow: hidden; }
.contact::before { /* resplandor de fondo vino */
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 120vw; height: 80vw; max-height: 1000px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(122,20,36,.65), rgba(91,15,24,.2) 50%, transparent); pointer-events: none; filter: blur(20px);
}
.orbit--contact { display: none; width: 60%; right: -16%; top: 2%; }
.contact__grid { display: grid; gap: 56px; position: relative; z-index: 1; }
.contact__title {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.9rem, 7.4vw, 6.8rem); line-height: .95; letter-spacing: -0.055em;
  margin: 22px 0 28px; max-width: 9ch;
}
.contact__title em { display: block; }
.contact__lead { font-size: 18px; line-height: 1.55; max-width: 26em; color: var(--mute); }
.contact__points { margin-top: 36px; display: grid; gap: 12px; }
.contact__points li { display: flex; gap: 14px; align-items: baseline; font-size: 15px; color: var(--mute); }
.contact__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 8px var(--crimson); flex: none; transform: translateY(-2px); }
.contact__direct { margin-top: 40px; }
.contact__direct-label { font-size: 15px; color: var(--mute); margin-bottom: 14px; }
.contact__channels { display: grid; gap: 10px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .4s, background-color .4s, transform .5s var(--ease-out);
}
.channel:hover { border-color: rgba(224,72,90,.55); background: var(--glass-2); transform: translateY(-2px); }
.channel svg {
  width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 50%;
  fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  background: var(--grad-btn); box-shadow: 0 8px 24px -8px rgba(224,72,90,.7);
}
.channel span { display: grid; line-height: 1.3; min-width: 0; }
.channel b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.channel small { font-size: 13.5px; color: var(--mute); overflow-wrap: anywhere; }
.channel::after { content: "→"; margin-left: auto; color: var(--mute-2); transition: transform .5s var(--ease-out), color .3s; }
.channel:hover::after { transform: translateX(4px); color: var(--rose); }

.contact__panel {
  position: relative; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg);
  background: rgba(14,14,16,.84); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--line);
}
.ring { /* borde con luz giratoria (lo añade el JS) */
  position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0deg, rgba(224,72,90,.9) 40deg, rgba(242,167,176,.9) 70deg, transparent 120deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.form__row { display: grid; gap: 0 18px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__req { font-size: 13px; color: var(--mute-2); }
.form__submit { min-width: 210px; }
.spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: rot .8s linear infinite;
}
@keyframes rot { to { transform: rotate(360deg); } }
.form.is-loading .spinner { display: inline-block; }
.form.is-loading .btn__arrow { display: none; }
.form.is-loading .form__submit { cursor: progress; opacity: .85; }
.form__status { margin-top: 20px; font-size: 14.5px; line-height: 1.55; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--error); padding: 14px 16px; border: 1px solid rgba(255,138,138,.35); background: rgba(255,138,138,.07); border-radius: var(--r-sm); }
.form__status.is-info { color: var(--fg); padding: 14px 16px; border: 1px solid var(--line-2); background: var(--glass); border-radius: var(--r-sm); }
.form__status a { text-decoration: underline; text-underline-offset: 3px; }

.form-success { padding: 24px 0; outline: none; }
.form-success__orbit { width: 120px; margin-bottom: 28px; overflow: visible; }
.form-success__orbit ellipse { fill: none; stroke: var(--rose); stroke-width: 1.4; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s var(--ease-out) forwards; }
.form-success__orbit circle { fill: #fff; filter: drop-shadow(0 0 8px var(--crimson)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.045em; line-height: 1.05; margin-bottom: 14px; }
.form-success p { color: var(--mute); margin-bottom: 28px; max-width: 30em; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); color: var(--fg); padding: clamp(72px, 9vw, 120px) 0 32px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.footer__top { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer__logo { color: var(--fg); display: inline-block; }
.footer__logo .logo-full { width: clamp(170px, 20vw, 240px); }
.footer__brand p { margin-top: 24px; color: var(--mute); font-size: 15px; max-width: 26em; }
.footer__h { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute-2); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14.5px; color: var(--mute); transition: color .3s; }
.footer__col a:hover { color: var(--fg); }
.footer__social { margin-top: 24px; display: flex !important; flex-wrap: wrap; gap: 10px 20px; }
.footer__social[hidden] { display: none !important; }
.footer__bottom { display: grid; gap: 12px; padding-top: 28px; font-size: 13px; color: var(--mute-2); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a, .footer__cookies { text-decoration: underline; text-underline-offset: 3px; font-size: 13px; color: var(--mute); }
.footer__legal a:hover, .footer__cookies:hover { color: var(--fg); }
.footer__credit { font-size: 12px; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; max-width: 440px;
  background: rgba(22,22,24,.88); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9);
}
.cookies__title { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: 1.25rem; margin-bottom: 6px; }
.cookies__text { font-size: 14px; color: var(--mute); }
.cookies__actions { display: flex; gap: 10px; margin-top: 18px; }
.cookies__actions .btn { flex: 1; }

/* ---------- Ejemplos: mini sitios que se recorren solos ---------- */
.demos { display: grid; gap: 40px 24px; }
.demo { display: grid; gap: 16px; align-content: start; }
.demo__frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #151517;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); transition: transform .8s var(--ease-out), border-color .4s;
}
.demo:hover .demo__frame { transform: translateY(-6px); border-color: rgba(224,72,90,.45); }
.demo__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.demo__bar i { width: 8px; height: 8px; border-radius: 50%; background: #3A3A3E; }
.demo__bar i:first-child { background: var(--crimson); }
.demo__bar span { margin-left: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--mute-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo__screen { position: relative; height: 480px; overflow: hidden; background: #fff; }
.demo__move {
  width: 720px; transform-origin: 0 0; scale: var(--s, .5);
  animation: demoScroll var(--dur, 24s) var(--ease-soft) infinite; animation-delay: var(--delay, 0s);
}
.demo:hover .demo__move { animation-play-state: paused; }
@keyframes demoScroll {
  0%, 10% { translate: 0 0; }
  48%, 58% { translate: 0 calc(var(--dist, 0px) * -1); }
  100% { translate: 0 0; }
}
.demo__cap { display: grid; gap: 2px; padding-left: 4px; }
.demo__cap b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.demo__cap span { font-size: 13.5px; color: var(--mute); }

.dm-site { width: 720px; font-family: var(--sans); line-height: 1.45; }
.dm-site h4, .dm-site h5 { margin: 0; font-weight: 600; }
.dm-site p { margin: 0; }
.dm-site em, .dm-site i { font-style: normal; }

/* 1 · Despacho de abogados — sobrio y corporativo */
.dm-law { background: #F4F1EA; color: #14213D; }
.dm-law .dl-k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8A6D3B; margin-bottom: 14px; }
.dl-nav { display: flex; align-items: center; gap: 28px; padding: 22px 40px; background: #14213D; color: #F4F1EA; }
.dl-nav b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .14em; font-size: 15px; }
.dl-nav b span { color: #B08D57; }
.dl-nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 13px; opacity: .8; }
.dl-nav em { white-space: nowrap; font-size: 12.5px; border: 1px solid #B08D57; color: #E7D3AE; padding: 9px 14px; }
.dl-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 56px 40px 60px; }
.dl-hero h4 { font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: 1.08; letter-spacing: -.01em; margin-bottom: 16px; }
.dl-hero p:not(.dl-k) { font-size: 15.5px; color: #3C4660; }
.dl-btns { display: flex; gap: 10px; margin-top: 24px; font-size: 13px; white-space: nowrap; }
.dl-btns em { background: #14213D; color: #F4F1EA; padding: 12px 18px; }
.dl-btns i { border: 1px solid #14213D; padding: 12px 18px; }
.dl-books { height: 300px; background: linear-gradient(180deg, #2B2118, #1B140E); padding: 26px 22px; display: grid; position: relative; }
.dl-books span { display: block; background:
  repeating-linear-gradient(90deg, #7A1E22 0 18px, #2E3E5C 18px 34px, #8A6D3B 34px 46px, #3B2A1E 46px 50px, #5C6B4A 50px 70px, #1F2A44 70px 84px, #A08254 84px 96px, #3B2A1E 96px 100px);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) bottom / 100% 30% no-repeat;
  mask: linear-gradient(#000 0 0) top / 100% 30% no-repeat, linear-gradient(#000 0 0) center / 100% 30% no-repeat, linear-gradient(#000 0 0) bottom / 100% 30% no-repeat; }
.dl-books::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,220,160,.18), transparent 50%); }
.dl-areas { padding: 48px 40px; background: #fff; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #D9D3C6; border: 1px solid #D9D3C6; }
.dl-grid div { background: #fff; padding: 22px; }
.dl-grid b { font-family: Georgia, serif; font-weight: 400; font-size: 20px; display: block; margin-bottom: 6px; }
.dl-grid p { font-size: 13.5px; color: #59627A; }
.dl-quote { padding: 56px 40px; text-align: center; }
.dl-quote p { font-family: Georgia, serif; font-style: italic; font-size: 26px; max-width: 22ch; margin: 0 auto; }
.dl-team { padding: 0 40px 52px; }
.dl-people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-people div { display: grid; gap: 4px; }
.dl-av { height: 170px; background: radial-gradient(circle at 50% 38%, #C9B79C 0 17%, transparent 18%), radial-gradient(ellipse at 50% 100%, #2E3E5C 0 45%, transparent 46%), #E4DCCB; margin-bottom: 10px; }
.dl-av--2 { background: radial-gradient(circle at 50% 38%, #B79E80 0 17%, transparent 18%), radial-gradient(ellipse at 50% 100%, #14213D 0 45%, transparent 46%), #DDD3BF; }
.dl-people b { font-family: Georgia, serif; font-weight: 400; font-size: 17px; }
.dl-people small { font-size: 12.5px; color: #59627A; }
.dl-cta { background: #14213D; color: #F4F1EA; text-align: center; padding: 52px 40px; display: grid; gap: 10px; justify-items: center; }
.dl-cta h5 { font-family: Georgia, serif; font-weight: 400; font-size: 32px; }
.dl-cta p { opacity: .75; font-size: 14px; }
.dl-cta em { margin-top: 10px; background: #B08D57; color: #14213D; padding: 12px 20px; font-size: 13px; font-weight: 600; }
.dl-foot { padding: 20px 40px; font-size: 11.5px; color: #59627A; }

/* 2 · Cirugía plástica — editorial y cálido */
.dm-med { background: #F6EFE9; color: #3A2A26; }
.dm-med .dp-k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #A86F60; margin-bottom: 14px; }
.dp-nav { display: flex; align-items: center; gap: 24px; padding: 22px 40px; border-bottom: 1px solid #E5D7CC; }
.dp-nav b { font-family: Georgia, serif; font-weight: 400; font-size: 19px; display: grid; line-height: 1.1; }
.dp-nav b small { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #A86F60; margin-top: 3px; }
.dp-nav nav { display: flex; gap: 20px; margin-left: auto; font-size: 13px; color: #6B5650; }
.dp-nav em { font-size: 12.5px; background: #3A2A26; color: #F6EFE9; padding: 10px 16px; border-radius: 999px; }
.dp-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: end; padding: 52px 40px 56px; }
.dp-hero h4 { font-family: Georgia, serif; font-weight: 400; font-size: 46px; line-height: 1.04; margin-bottom: 16px; }
.dp-hero h4 i { font-style: italic; color: #A86F60; }
.dp-hero p:not(.dp-k) { font-size: 15.5px; color: #6B5650; }
.dp-wa { display: inline-block; margin-top: 24px; background: #2E7D5B; color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.dp-arch { height: 330px; border-radius: 200px 200px 0 0; overflow: hidden; position: relative;
  background: radial-gradient(circle at 50% 38%, #F3DFD2 0 14%, transparent 14.5%), radial-gradient(ellipse 46% 34% at 50% 100%, #FBF6F1 0 99%, transparent 100%), linear-gradient(170deg, #C99585, #8E5E52); }
.dp-arch span { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.25), transparent 45%); }
.dp-procs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 8px 40px 52px; }
.dp-procs div { display: grid; gap: 6px; }
.dp-img { height: 150px; border-radius: 14px; margin-bottom: 8px; }
.dp-img--1 { background: radial-gradient(circle at 40% 45%, #EBCDBB 0 20%, transparent 21%), linear-gradient(160deg, #E9D6C9, #C9A291); }
.dp-img--2 { background: radial-gradient(ellipse at 50% 60%, #E6C7B4 0 28%, transparent 29%), linear-gradient(160deg, #DCC3B4, #B98B7B); }
.dp-img--3 { background: radial-gradient(ellipse at 35% 50%, #3A2A26 0 4%, transparent 5%), radial-gradient(ellipse at 65% 50%, #3A2A26 0 4%, transparent 5%), linear-gradient(160deg, #EED9CB, #CDA593); }
.dp-procs b { font-family: Georgia, serif; font-weight: 400; font-size: 19px; }
.dp-procs p { font-size: 13px; color: #6B5650; }
.dp-quote { background: #3A2A26; color: #F6EFE9; padding: 54px 40px; text-align: center; }
.dp-quote p { font-family: Georgia, serif; font-style: italic; font-size: 28px; }
.dp-about { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; padding: 52px 40px; }
.dp-av { height: 150px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #E2C3B0 0 22%, transparent 23%), radial-gradient(ellipse at 50% 100%, #FFFFFF 0 46%, transparent 47%), #C9A291; }
.dp-about b { font-family: Georgia, serif; font-weight: 400; font-size: 24px; display: block; margin-bottom: 8px; }
.dp-about p { font-size: 14.5px; color: #6B5650; }
.dp-cta { margin: 0 40px 40px; padding: 40px; border-radius: 24px; background: #EAD9CD; display: flex; align-items: center; justify-content: space-between; }
.dp-cta h5 { font-family: Georgia, serif; font-weight: 400; font-size: 30px; }
.dp-cta .dp-wa { margin: 0; }
.dp-foot { padding: 18px 40px 24px; font-size: 11.5px; color: #8A746C; }

/* 3 · Protección contra incendios — industrial y directo */
.dm-fire { background: #121212; color: #F2F2F2; font-family: var(--display); }
.dm-fire .df-k { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: #F5C518; margin-bottom: 14px; }
.df-nav { display: flex; align-items: center; gap: 24px; padding: 20px 40px; border-bottom: 1px solid #2A2A2A; }
.df-nav b { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.df-flame { width: 16px; height: 22px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(#FFB02E, #E63B2E); }
.df-nav nav { display: flex; gap: 20px; margin-left: auto; font-size: 13px; color: #A9A9A9; font-family: var(--sans); }
.df-nav em { background: #E63B2E; color: #fff; padding: 10px 16px; font-size: 13px; font-weight: 600; border-radius: 6px; }
.df-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: 52px 40px 50px;
  background: radial-gradient(80% 90% at 85% 40%, rgba(230,59,46,.35), transparent 60%); }
.df-hero h4 { font-size: 48px; line-height: 1; letter-spacing: -.04em; font-weight: 700; margin-bottom: 16px; }
.df-hero h4 i { color: #E63B2E; }
.df-hero p:not(.df-k) { font-size: 15.5px; color: #BDBDBD; font-family: var(--sans); }
.df-btns { display: flex; gap: 10px; margin-top: 24px; font-size: 13.5px; font-weight: 600; font-family: var(--sans); }
.df-btns em { background: #E63B2E; padding: 12px 18px; border-radius: 6px; }
.df-btns i { background: #25D366; color: #0B2E1A; padding: 12px 18px; border-radius: 6px; }
.df-ext { position: relative; height: 300px; }
.df-ext__body { position: absolute; left: 50%; bottom: 0; width: 96px; height: 220px; margin-left: -48px; border-radius: 40px 40px 14px 14px;
  background: linear-gradient(90deg, #8E1A12, #E63B2E 35%, #FF6A57 48%, #C42A1F 70%, #7A140E); box-shadow: 0 30px 60px -20px rgba(230,59,46,.6); }
.df-ext__body::after { content: ""; position: absolute; left: 14px; right: 14px; top: 80px; height: 54px; border-radius: 6px; background: #F2F2F2; }
.df-ext__head { position: absolute; left: 50%; bottom: 214px; width: 40px; height: 40px; margin-left: -20px; border-radius: 8px 8px 4px 4px; background: linear-gradient(90deg, #2A2A2A, #5A5A5A, #2A2A2A); }
.df-ext__hose { position: absolute; left: 50%; bottom: 140px; width: 70px; height: 110px; margin-left: 10px; border: 6px solid #1F1F1F; border-left: 0; border-bottom: 0; border-radius: 0 40px 0 0; }
.df-stripe { height: 18px; background: repeating-linear-gradient(-45deg, #F5C518 0 18px, #121212 18px 36px); }
.df-services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 44px 40px; }
.df-services div { background: #1C1C1C; border: 1px solid #2C2C2C; border-left: 3px solid #E63B2E; padding: 20px; border-radius: 8px; }
.df-services b { font-size: 18px; display: block; margin-bottom: 4px; }
.df-services p { font-size: 13px; color: #A9A9A9; font-family: var(--sans); }
.df-norm { margin: 0 40px; padding: 26px; border-radius: 10px; background: #F5C518; color: #121212; display: grid; gap: 6px; }
.df-norm b { font-family: var(--mono); font-size: 16px; }
.df-norm p { font-size: 15px; font-family: var(--sans); }
.df-who { padding: 44px 40px; }
.df-who div { display: flex; flex-wrap: wrap; gap: 10px; }
.df-who span { border: 1px solid #3A3A3A; border-radius: 999px; padding: 8px 16px; font-size: 13px; color: #D0D0D0; font-family: var(--sans); }
.df-cta { margin: 0 40px 36px; padding: 40px; border-radius: 12px; background: linear-gradient(120deg, #E63B2E, #8E1A12); display: flex; align-items: center; justify-content: space-between; }
.df-cta h5 { font-size: 28px; letter-spacing: -.03em; font-weight: 700; }
.df-cta em { background: #121212; padding: 12px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; font-family: var(--sans); }
.df-foot { padding: 18px 40px 24px; font-size: 11.5px; color: #8A8A8A; font-family: var(--sans); }

@media (min-width: 720px) {
  .demos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .demos { grid-template-columns: repeat(3, 1fr); }
  .demo__screen { height: 540px; }
  .demo:nth-child(2) { margin-top: 56px; }
}

/* ---------- Landing de anuncios (diseno-web) ---------- */
.lp-nav { background: rgba(0,0,0,.55); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-bottom-color: var(--line); }
.lp-nav__actions { margin-left: auto; display: flex; gap: 8px; }
.lp-nav__wa { display: none; }
.lp-hero { padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 88px)); padding-bottom: clamp(64px, 8vw, 120px); }
.lp-hero__grid { display: grid; gap: 48px; align-items: start; }
.lp-title {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: .98; letter-spacing: -0.045em; margin: 24px 0 22px; max-width: 12ch;
}
.lp-title em { display: block; background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 9s ease-in-out infinite alternate; padding-bottom: .06em; }
.lp-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--mute); max-width: 32em; line-height: 1.5; }
.lp-ticks { margin: 28px 0 32px; }
.lp-ticks li { color: var(--fg); }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-form { scroll-margin-top: calc(var(--nav-h) + 16px); }
.lp-form__title { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.035em; line-height: 1.1; }
.lp-form__sub { color: var(--mute); font-size: 14.5px; margin: 6px 0 22px; }
.lp-form .field { margin-bottom: 16px; }
.lp-form .field textarea { min-height: 96px; }
.lp-form__submit { width: 100%; margin-top: 6px; }
.lp-cards { display: grid; gap: 14px; }
.lp-card { padding: 28px; border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); }
.lp-card__n { font-family: var(--mono); font-size: 12px; color: var(--crimson); }
.lp-card h3 { font-family: var(--display); font-size: 1.35rem; letter-spacing: -.03em; margin: 10px 0 6px; line-height: 1.15; }
.lp-card p { color: var(--mute); font-size: 15px; }
.lp-why .flow { margin-top: clamp(48px, 6vw, 80px); }
.lp-final__inner { display: grid; justify-items: center; text-align: center; gap: 4px; }
.lp-final .contact__title { max-width: 12ch; margin-inline: auto; }
.lp-final .contact__lead { margin: 0 auto 28px; }
.lp-final .lp-hero__actions { justify-content: center; }
.lp-footer { padding: 32px 0 calc(32px + 76px); }
.lp-footer .footer__bottom { padding-top: 0; }
.lp-bar {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 8px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(14,14,16,.82); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.9);
}
.lp-bar .btn { min-height: 46px; }
body.lp .cookies { bottom: 84px; }

@media (min-width: 720px) {
  .lp-nav__wa { display: inline-flex; }
  .lp-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .lp-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
  .lp-hero__grid > .lp-form { position: sticky; top: calc(var(--nav-h) + 24px); grid-column: auto; }
  .lp-cards { grid-template-columns: repeat(3, 1fr); }
  .lp-bar { display: none; }
  .lp-footer { padding-bottom: 32px; }
  body.lp .cookies { bottom: 24px; }
}

/* =============================================================
   7. Effects — apariciones al hacer scroll
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out), filter 1.1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .value__photo.reveal { clip-path: inset(100% 0 0 0 round var(--r-lg)); opacity: 1; filter: none; transform: none; transition: clip-path 1.6s var(--ease-out); }
.js .value__photo.reveal.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .value__photo.reveal.is-in img { transform: scale(1); }
.js .studio__photo.reveal { clip-path: inset(0 100% 0 0); opacity: 1; filter: none; transform: none; transition: clip-path 1.6s var(--ease-out); }
.js .studio__photo.reveal.is-in { clip-path: inset(-20px -20px -40px -20px); }
.js .orbit { opacity: 0; transition: opacity 2s var(--ease-out) .3s; }
.js .orbit.is-drawn { opacity: 1; }
.reveal-all .reveal, .reveal-all .orbit, .reveal-all [data-split] .w, .reveal-all .hero__visual > * {
  opacity: 1 !important; transform: none !important; filter: none !important; translate: 0 0 !important; clip-path: none !important;
}
.reveal-all [data-split] em { clip-path: none !important; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .cookies { left: 24px; bottom: 24px; right: auto; }
}

@media (min-width: 720px) {
  .orbit--contact { display: block; }
  .hero__title { letter-spacing: -0.055em; }
  .hero__visual { display: block; aspect-ratio: 16 / 8.2; padding: 0; }
  .orbit--hero { left: 4%; top: -14%; width: 92%; }
  .hv-search { position: absolute; top: 8%; left: 0; width: min(38%, 380px); }
  .hero__visual > .hv-ad { position: absolute; top: 30%; left: 4%; width: min(36%, 360px); margin: 0; }
  .mock--hero { position: absolute; right: 0; top: 2%; width: 66%; margin: 0; }
  .mock--hero .mock__body { padding: 22px; }
  .mock--hero .mk-title { font-size: clamp(20px, 2.4vw, 30px); }
  .mock--hero .mk-row3 span { height: 64px; }
  .mock--hero .mk-nav { margin-bottom: 22px; }
  .hero__visual > .fig-caption { bottom: 2%; }

  .index-strip { grid-template-columns: repeat(3, 1fr); }
  .index-strip li + li { border-top: 0; border-left: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .work--b, .work--d { margin-top: 96px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
  .footer__credit { grid-column: 1 / -1; }
  .section-head--split { grid-template-columns: 1fr 1fr; }
  .projects__note { justify-self: end; }
  .studio__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .studio__photo { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 32px); }
  .studio__copy { grid-column: 7 / span 6; padding-top: 24px; }
}

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .menu { display: none !important; }

  .service { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
  .service__head { grid-column: 1 / span 4; flex-direction: column; gap: 14px; }
  .service__body { grid-column: 5 / span 4; }
  .service__viz { grid-column: 9 / span 4; }

  .value__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .value__photo { grid-column: 1 / span 5; }
  .value__copy { grid-column: 7 / span 6; }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow::before { /* línea por la que corre un pulso de luz */
    content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  }
  .flow::after {
    content: ""; position: absolute; top: -29px; left: 0; width: 140px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, transparent, #fff, var(--crimson), transparent); filter: drop-shadow(0 0 6px var(--crimson));
    animation: flowRun 5s var(--ease-soft) infinite;
  }
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 96px 24px; }
  .work__frame { aspect-ratio: 4 / 3.1; }
  .work--a { grid-column: 1 / span 7; }
  .work--b { grid-column: 9 / span 4; margin-top: 160px; }
  .work--b .work__frame { aspect-ratio: 3 / 4; }
  .work--c { grid-column: 2 / span 5; margin-top: -40px; }
  .work--c .work__frame { aspect-ratio: 1 / 1; }
  .work--d { grid-column: 7 / span 6; margin-top: 64px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 40px; }
  .steps__rail { display: block; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
  .steps__rail span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--wine), var(--crimson), var(--rose)); box-shadow: 0 0 16px var(--crimson); }

  .faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .faq__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
  .faq__list { grid-column: 6 / span 7; }

  .contact__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
  .contact__intro { grid-column: 1 / span 5; }
  .contact__panel { grid-column: 7 / span 6; }

  .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}
@keyframes flowRun { 0% { left: 0; opacity: 0; } 10%, 90% { opacity: 1; } 100% { left: calc(100% - 140px); opacity: 0; } }

@media (min-width: 1280px) {
  .service__body { grid-column: 5 / span 3; }
  .service__viz { grid-column: 8 / span 5; }
}

/* =============================================================
   9. Reduced motion — solo lo intrusivo (bucles largos, deriva, cintas)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span, .mq__list, .hv-caret, .flow::after, .value::before, .orbit__trail, .dot, .viz::after, .btn--wine::after, .demo__move { animation: none !important; }
  .orbit__trail { opacity: 0; }
  .js .reveal { transform: none; transition-duration: .5s; }
}

/* ---------- Proceso detallado (landing diseño web) ---------- */
.step__meta { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.step__meta div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: baseline; }
.step__meta dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); }
.step__meta dd { margin: 0; font-size: 14.5px; color: var(--fg); line-height: 1.45; }
@media (min-width: 960px) {
  .steps.steps--detail { grid-template-columns: repeat(3, 1fr); padding-top: 0; }
  .steps--detail .step__n { font-size: clamp(3rem, 4.6vw, 4.4rem); }
}

/* ---------- Cinta de búsquedas dentro del hero (debajo de "Para empresas…") ---------- */
.mq.mq--inline { margin-top: 28px; }
.mq--inline .mq__label { text-align: center; padding-inline: 0; margin-bottom: 14px; }
.mq--inline .mq__track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hero__copy { min-width: 0; }
.mq--inline { max-width: 100%; overflow: hidden; }
.mq--inline .mq__label { color: var(--rose); }
.mq.mq--inline { margin-top: 36px; }

/* ---------- Camino de pasos con íconos (landing diseño web) ---------- */
.path { position: relative; display: grid; gap: 20px; --node: 56px; }
.path__line { position: absolute; top: calc(var(--node) / 2); bottom: calc(var(--node) / 2); left: calc(var(--node) / 2 - 1px); width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.18) 0 6px, transparent 6px 14px); }
.path__fill { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--p, 0));
  background: linear-gradient(180deg, var(--wine), var(--crimson) 50%, var(--rose)); box-shadow: 0 0 14px var(--crimson); }
.path__spark { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(224,72,90,.35), 0 0 22px 6px var(--crimson); opacity: var(--sp, 0); transition: opacity .4s; }
.path__step { position: relative; display: grid; grid-template-columns: var(--node) 1fr; gap: 18px; align-items: start; }
.path__node { width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: #0b0b0c; border: 1px solid var(--line-2); color: var(--mute);
  transition: color .6s, border-color .6s, box-shadow .8s, background .8s; }
.path__node svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.path__step.is-lit .path__node { color: #fff; border-color: transparent;
  background: linear-gradient(140deg, var(--wine-2), var(--crimson) 60%, #FF7A59); box-shadow: 0 0 0 6px rgba(224,72,90,.12), 0 10px 30px -8px var(--crimson); }
.path__card { padding: 24px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); transition: border-color .8s; }
.path__step.is-lit .path__card { border-color: rgba(224,72,90,.35); }
.path__title { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 10px; }
.path__card > p { color: var(--mute); font-size: 15.5px; }
@media (min-width: 960px) {
  .path { --node: 64px; gap: 0; }
  .path__line { left: calc(50% - 1px); }
  .path__step { grid-template-columns: 1fr var(--node) 1fr; gap: 36px; min-height: 150px; }
  .path__step + .path__step { margin-top: -40px; }
  .path__node { grid-column: 2; grid-row: 1; margin-top: 20px; }
  .path__node svg { width: 26px; height: 26px; }
  .path__card { grid-row: 1; max-width: 460px; }
  .path__step:nth-child(even) .path__card { grid-column: 1; justify-self: end; }
  .path__step:nth-child(odd) .path__card { grid-column: 3; justify-self: start; }
  .path__step:nth-child(even) .path__card::after, .path__step:nth-child(odd) .path__card::after {
    content: ""; position: absolute; top: 51px; width: 36px; height: 1px; background: var(--line-2); }
  .path__card { position: relative; }
  .path__step:nth-child(even) .path__card::after { right: -37px; }
  .path__step:nth-child(odd) .path__card::after { left: -37px; }
}

/* ---------- Precio "desde" ---------- */
.price-tag { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 26px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(224,72,90,.35); background: linear-gradient(90deg, rgba(224,72,90,.12), rgba(242,167,176,.04)); }
.price-tag__k, .price-tag__iva { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--rose); }
.price-tag b { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; color: var(--fg); }
.service__price { font-size: 15px; color: var(--mute); margin: 4px 0 18px; }
.service__price b { color: var(--fg); font-weight: 600; }

/* ---------- Landing industrial / B2B ---------- */
.mq.mq--b2b { margin: 0; padding: clamp(28px, 4vw, 44px) 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.mq--b2b .mq__label { color: var(--rose); }

.spec { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)); }
.spec__head { display: none; }
.spec__row { display: grid; gap: 10px; padding: 24px; border-top: 1px solid var(--line); position: relative; transition: background .5s; }
.spec__row:first-of-type { border-top: 0; }
.spec__row > span:not(.spec__who) { color: var(--mute); font-size: 15.5px; line-height: 1.5; }
.spec__row > span:last-child { color: var(--fg); }
.spec__row > span:nth-child(2)::before, .spec__row > span:last-child::before {
  display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 4px; }
.spec__row > span:nth-child(2)::before { content: "Qué necesita ver"; }
.spec__row > span:last-child::before { content: "Qué le muestra tu web"; color: var(--crimson); }
.spec__who { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.03em; color: var(--fg); }
.spec__who svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 12px; border: 1px solid rgba(224,72,90,.35);
  background: rgba(224,72,90,.08); fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spec__row::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out); }
.spec__row:hover { background: rgba(255,255,255,.025); }
.spec__row:hover::after { transform: scaleY(1); }
@media (min-width: 860px) {
  .spec__head, .spec__row { display: grid; grid-template-columns: 1.1fr 1.3fr 1.5fr; gap: 32px; align-items: center; }
  .spec__head { padding: 16px 28px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-2); }
  .spec__head span:last-child { color: var(--crimson); }
  .spec__row { padding: 28px; }
  .spec__row > span:nth-child(2)::before, .spec__row > span:last-child::before { display: none; }
}

.b2b-demo__grid { display: grid; gap: 40px; align-items: center; }
.b2b-demo__lead { color: var(--mute); font-size: 17px; max-width: 30em; margin: 18px 0 22px; }
.b2b-demo__frame .demo { margin: 0; }
@media (min-width: 960px) {
  .b2b-demo__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
}

/* ============================== COTIZADOR ============================== */
.qz__head { margin-bottom: 40px; }
.qz__lead { font-size: 18px; line-height: 1.55; color: var(--mute); max-width: 32em; margin-top: 20px; }
.qz__app { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); background: radial-gradient(120% 80% at 100% 0%, rgba(122,20,36,.22), transparent 60%), var(--bg-1); box-shadow: 0 40px 120px -60px rgba(224,72,90,.45); }
.qz__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-2); margin: 0 0 14px; padding: 0; }
.qz__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.qz__step[hidden] { display: none; }

/* Pasos */
.qz__steps { display: flex; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.qz__steps li { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--mute-2); white-space: nowrap; }
.qz__steps span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--glass-2); font: 600 11px/1 var(--mono); }
.qz__steps li.is-done { color: var(--mute); }
.qz__steps li.is-done span { background: rgba(224,72,90,.35); color: var(--fg); }
.qz__steps li.is-on { color: var(--fg); border-color: rgba(224,72,90,.6); background: rgba(122,20,36,.3); }
.qz__steps li.is-on span { background: var(--crimson); color: #fff; }

.qz__grid { display: grid; gap: 28px; align-items: start; }

/* Opciones */
.qz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qz-opt { position: relative; display: grid; gap: 4px; padding: 10px 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease-out); }
.qz-opt:hover { border-color: var(--line-2); transform: translateY(-2px); }
.qz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.qz-opt:has(input:checked) { border-color: rgba(224,72,90,.75); background: linear-gradient(160deg, rgba(122,20,36,.5), rgba(224,72,90,.12)); }
.qz-opt:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 2px; }
.qz-opt__t { font-weight: 600; font-size: 14px; line-height: 1.25; margin-top: 8px; }
.qz-opt__p { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.qz-opt:has(input:checked) .qz-opt__p { color: var(--rose); }

/* Dibujos de ejemplo */
.qz-mock { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 8px; border: 1px solid var(--line-2); background: #0E0E10; overflow: hidden; }
.qz-mock i { position: absolute; display: block; border-radius: 3px; }
.qz-mock .b { left: 0; right: 0; top: 0; height: 9%; background: rgba(255,255,255,.06); border-radius: 0; }
.qz-mock .b::before { content: ""; position: absolute; left: 5%; top: 35%; width: 4%; aspect-ratio: 1; border-radius: 50%; background: #E0485A; box-shadow: 9px 0 0 #F5B92A, 18px 0 0 #3BB273; transform: scale(.7); transform-origin: left center; }
/* landing */
.qz-mock--landing .h1 { left: 10%; top: 22%; width: 62%; height: 9%; background: #F5F5F7; }
.qz-mock--landing .h2 { left: 10%; top: 34%; width: 44%; height: 9%; background: linear-gradient(90deg, #F2A7B0, #E0485A); }
.qz-mock--landing .p { left: 10%; top: 48%; width: 55%; height: 4%; background: rgba(255,255,255,.18); }
.qz-mock--landing .cta { left: 10%; top: 58%; width: 26%; height: 10%; border-radius: 99px; background: #B3263A; }
.qz-mock--landing .s1 { left: 10%; top: 78%; width: 80%; height: 4%; background: rgba(255,255,255,.1); }
.qz-mock--landing .s2 { left: 10%; top: 86%; width: 60%; height: 4%; background: rgba(255,255,255,.1); }
.qz-mock--landing .wa { right: 6%; bottom: 8%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #3BB273; }
/* experiencia */
.qz-mock--exp { background: radial-gradient(70% 60% at 50% 70%, rgba(122,20,36,.75), #0E0E10 70%); }
.qz-mock--exp .bar { left: 30%; top: 18%; width: 40%; height: 3%; background: linear-gradient(90deg, #E0485A 0 40%, rgba(255,255,255,.18) 40%); border-radius: 99px; }
.qz-mock--exp .t1 { left: 22%; top: 32%; width: 56%; height: 8%; background: #F5F5F7; }
.qz-mock--exp .t2 { left: 28%; top: 45%; width: 44%; height: 8%; background: linear-gradient(90deg, #F2A7B0, #E0485A); }
.qz-mock--exp .t3 { left: 30%; top: 60%; width: 36%; height: 4%; background: rgba(255,255,255,.22); }
.qz-mock--exp .t3::after { content: ""; position: absolute; right: -7%; top: -40%; width: 5%; height: 180%; background: #E0485A; animation: qzCaret 1s steps(1) infinite; }
@keyframes qzCaret { 50% { opacity: 0; } }
.qz-mock--exp img { position: absolute; right: 6%; bottom: 7%; width: 14%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(255,225,77,.5)); }
/* sitio */
.qz-mock--site .nav { left: 6%; right: 6%; top: 14%; height: 5%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 12%, transparent 12% 20%); background-position: 30% 0; background-size: 100% 100%; }
.qz-mock--site .img { right: 6%; top: 26%; width: 40%; height: 34%; background: linear-gradient(135deg, #2A2A30, #5B0F18); }
.qz-mock--site .h1 { left: 6%; top: 30%; width: 40%; height: 8%; background: #F5F5F7; }
.qz-mock--site .p { left: 6%; top: 43%; width: 32%; height: 4%; background: rgba(255,255,255,.2); }
.qz-mock--site .c1, .qz-mock--site .c2, .qz-mock--site .c3 { top: 68%; width: 27%; height: 24%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.qz-mock--site .c1 { left: 6%; } .qz-mock--site .c2 { left: 36.5%; } .qz-mock--site .c3 { left: 67%; }
/* tienda */
.qz-mock--shop .nav { left: 6%; top: 14%; width: 30%; height: 5%; background: rgba(255,255,255,.25); }
.qz-mock--shop .cart { right: 6%; top: 12%; width: 7%; height: 9%; border: 2px solid #F5F5F7; border-top: 0; border-radius: 0 0 4px 4px; }
.qz-mock--shop .g1, .qz-mock--shop .g2, .qz-mock--shop .g3, .qz-mock--shop .g4, .qz-mock--shop .g5, .qz-mock--shop .g6 { width: 27%; height: 30%; background: linear-gradient(180deg, #2A2A30 0 70%, transparent 70%); }
.qz-mock--shop .g1::after, .qz-mock--shop .g2::after, .qz-mock--shop .g3::after, .qz-mock--shop .g4::after, .qz-mock--shop .g5::after, .qz-mock--shop .g6::after { content: ""; position: absolute; left: 0; bottom: 4%; width: 50%; height: 14%; border-radius: 2px; background: #F2A7B0; }
.qz-mock--shop .g1 { left: 6%; top: 28%; } .qz-mock--shop .g2 { left: 36.5%; top: 28%; } .qz-mock--shop .g3 { left: 67%; top: 28%; }
.qz-mock--shop .g4 { left: 6%; top: 63%; } .qz-mock--shop .g5 { left: 36.5%; top: 63%; } .qz-mock--shop .g6 { left: 67%; top: 63%; }
/* invitación */
.qz-mock--inv { background: linear-gradient(180deg, #1A1418, #0E0E10); }
.qz-mock--inv .ring { left: 50%; top: 10%; width: 14%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 2px solid #E7C98B; }
.qz-mock--inv .name { left: 30%; top: 33%; width: 40%; height: 9%; background: linear-gradient(90deg, #E7C98B, #F2A7B0); }
.qz-mock--inv .date { left: 38%; top: 47%; width: 24%; height: 4%; background: rgba(255,255,255,.3); }
.qz-mock--inv .cd { left: 28%; top: 58%; width: 44%; height: 12%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 22%, transparent 22% 26%); }
.qz-mock--inv .rsvp { left: 34%; top: 78%; width: 32%; height: 10%; border-radius: 99px; background: #B3263A; }

/* Detalle */
.qz-detail { margin-top: 22px; padding: 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.qz-detail[hidden] { display: none; }
.qz-detail__d { color: var(--fg); font-size: 16px; line-height: 1.55; margin-bottom: 18px; }
.qz-inc { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.qz-inc li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--mute); }
.qz-inc li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(224,72,90,.2); color: var(--rose); font-size: 11px; font-weight: 700; }
.qz-detail__ex { display: inline-flex; margin-top: 16px; }
.qz-note { margin-top: 14px; font-size: 13.5px; color: var(--mute-2); }

/* Extras */
.qz-x { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.qz-xi { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--glass); cursor: pointer; }
.qz-xi:has(input:checked) { border-color: rgba(224,72,90,.6); background: rgba(122,20,36,.25); }
.qz-xi:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 2px; }
.qz-xi input { position: absolute; opacity: 0; pointer-events: none; }
.qz-xi__box { flex: none; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 6px; display: grid; place-items: center; }
.qz-xi__box::after { content: ""; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease-out); }
.qz-xi:has(input:checked) .qz-xi__box { background: var(--crimson); border-color: var(--crimson); }
.qz-xi:has(input:checked) .qz-xi__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.qz-xi__t { flex: 1; font-weight: 600; font-size: 15px; line-height: 1.35; }
.qz-xi__t small { display: block; margin-top: 3px; font-weight: 400; font-size: 13px; color: var(--mute-2); }
.qz-xi__p { font-family: var(--mono); font-size: 13px; color: var(--mute); white-space: nowrap; }
.qz-xi--n { cursor: default; }
.qz-num { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.qz-num button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--glass-2); color: var(--fg); font-size: 18px; cursor: pointer; }
.qz-num button:hover { background: rgba(224,72,90,.35); }
.qz-num output { min-width: 26px; text-align: center; font: 600 15px var(--mono); }

/* Datos */
.qz-fields { display: grid; gap: 4px; }
.qz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qz-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mute); margin-top: 6px; cursor: pointer; }
.qz-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--crimson); }

/* Resumen final */
.qz-info { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.qz-info li { padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.qz-info b { display: block; font-size: 15px; margin-bottom: 6px; }
.qz-info span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.qz-info ol { margin: 6px 0 0; padding-left: 20px; }
.qz-msg { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid rgba(224,72,90,.5); font-size: 14.5px; line-height: 1.55; }
.qz-msg.is-ok { border-color: rgba(139,227,176,.5); }
.qz-msg[hidden] { display: none; }

/* Caja de resumen */
.qz__sum { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(0,0,0,.35); }
.qz-lines { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.qz-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--mute); }
.qz-lines li b { font-family: var(--mono); font-weight: 500; color: var(--fg); white-space: nowrap; }
.qz-total { padding-top: 16px; border-top: 1px solid var(--line); }
.qz-total b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.qz-total span { display: block; margin-top: 8px; font-size: 13px; color: var(--mute); }
.qz-nav { display: flex; gap: 8px; margin-top: 20px; }
.qz-nav .btn { flex: 1 1 auto; justify-content: center; }
.qz-nav .btn[hidden] { display: none; }
.qz-nav .btn:disabled { opacity: .6; cursor: progress; }
.qz-safe { margin-top: 12px; font-size: 12.5px; color: var(--mute-2); text-align: center; }
.qz-safe[hidden] { display: none; }
.qz-wa { display: block; margin-top: 14px; text-align: center; font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.qz-wa:hover { color: var(--rose); }

@media (min-width: 640px) {
  .qz__opts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .qz__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; }
  .qz__sum { position: sticky; top: calc(var(--nav-h) + 24px); }
}
