/* =========================================================================
   Electro Madrid — estilos
   Dirección: plano técnico / industrial. Tipografía condensada itálica
   (eco del logo), retícula visible, esquinas rectas, sombras duras.
   ========================================================================= */

:root {
  --ink: #071633;
  --navy: #022552;
  --navy-2: #0a3373;
  --orange: #ff5b00;
  --amber: #ff9a1a;
  --paper: #f4f1ea;
  --paper-2: #e9e4d8;
  --white: #fffdf8;
  --muted: #4b5670;
  --muted-d: #a9b2c6;
  --line: rgba(7, 22, 51, .14);
  --line-d: rgba(244, 241, 234, .13);

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gut: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ol, ul { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--orange); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.i { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- tipografía ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 68%;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .9;
}
.h1 { font-size: clamp(3.1rem, 10.2vw, 10rem); }
.h2 { font-size: clamp(2.5rem, 6.6vw, 6.2rem); }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: .95; }
.hl { color: var(--orange); }
.hl-box {
  background: var(--orange); color: var(--ink);
  padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 60ch; color: var(--muted); }
.tag {
  font-family: var(--f-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5em;
  color: var(--muted);
}
.tag .i { width: 1.2em; height: 1.2em; color: var(--orange); }
.prose p + p { margin-top: 1em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }

/* split-text: máscara de líneas con aire para la itálica */
.split-line { padding: .14em .1em .04em 0; margin: -.14em -.1em 0 0; }

/* ---------- botones ---------- */
.btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  --bs: var(--ink);
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.35rem;
  font-family: var(--f-body); font-weight: 650; font-size: .95rem;
  letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--bs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--bs); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--bs); }
.btn--sm { padding: .6rem .9rem; font-size: .88rem; box-shadow: 3px 3px 0 var(--bs); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--white); }
.on-dark .btn, .btn--on-dark { --bs: var(--orange); }
.btn--line-light { background: transparent; color: var(--paper); border-color: var(--paper); --bs: var(--orange); }
.btn--line-light:hover { background: rgba(244, 241, 234, .06); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  height: var(--hdr);
  background: rgba(244, 241, 234, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: height .3s var(--ease);
}
.hdr.is-scrolled { --hdr: 64px; }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.hdr__logo img { height: calc(var(--hdr) - 22px); width: auto; transition: height .3s var(--ease); }
.hdr__nav { display: flex; gap: .3rem; margin-left: auto; }
.hdr__nav a {
  position: relative; padding: .5rem .75rem; text-decoration: none;
  font-weight: 550; font-size: .94rem;
}
.hdr__nav a::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__right { display: flex; align-items: center; gap: 1rem; }
.live {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: #1fbf5f; position: relative; }
.live__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid #1fbf5f; animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hdr__burger { display: none; background: none; border: 1.5px solid var(--ink); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.hdr__burger .i { width: 22px; height: 22px; }

/* menú móvil */
.mm {
  position: fixed; inset: 0; z-index: 49; padding: calc(var(--hdr) + 24px) var(--gut) 28px;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mm[hidden] { display: none; }
.mm__nav { display: flex; flex-direction: column; }
.mm__nav a {
  display: flex; align-items: baseline; gap: 1rem; padding: .55rem 0;
  border-bottom: 1px solid var(--line-d); text-decoration: none;
  font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 68%;
  font-size: clamp(2.4rem, 11vw, 4rem); text-transform: uppercase; line-height: 1;
}
.mm__n { font-family: var(--f-mono); font-style: normal; font-size: .75rem; font-weight: 400; color: var(--orange); }
.mm__foot { display: grid; gap: .8rem; }
.mm__foot .btn { justify-content: center; }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { background: var(--ink); border-color: var(--line-d); }
body.menu-open .hdr__logo img { filter: brightness(0) invert(1); }
body.menu-open .hdr__burger { border-color: var(--paper); color: var(--paper); }
body.menu-open .live { color: var(--paper); }

/* ---------- secciones ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.sec-head { display: grid; gap: 1.4rem; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
.sec-head--dark .lead { color: var(--muted-d); }
.on-dark { background: var(--ink); color: var(--paper); }
.on-dark .tag { color: var(--muted-d); }
.on-dark .lead, .on-dark .prose p, .on-dark .prose li { color: var(--muted-d); }

/* retícula de plano */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 85%);
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  padding-top: clamp(48px, 7vw, 96px);
}
.hero__grid {
  position: relative; display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr);
  align-items: end;
}
.hero .tag { color: var(--muted-d); }
.hero__title { margin: 1.4rem 0 1.6rem; font-size: clamp(3rem, 7.6vw, 8.6rem); }
.hero__lead { max-width: 46ch; color: var(--muted-d); font-size: clamp(1.05rem, 1.35vw, 1.2rem); margin-bottom: 2rem; }
.hero .btn { --bs: var(--orange); }
.hero .btn--line { color: var(--paper); border-color: var(--paper); }
.hero .btn--line:hover { background: rgba(244, 241, 234, .06); }

.board {
  border: 1px solid var(--line-d);
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(7, 22, 51, .6);
}
.board__scope { position: relative; height: 128px; border-bottom: 1px solid var(--line-d); }
.board__scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.board__scope span { position: absolute; left: 12px; top: 10px; color: var(--muted-d); font-size: .68rem; }
.board__row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line-d); }
.board__row:last-child { border-bottom: 0; }
.board__row dt { color: var(--muted-d); }
.board__row dd { margin: 0; text-align: right; color: var(--paper); }
.board__ok { color: #3ddc84 !important; display: inline-flex; align-items: center; gap: .5rem; }
.board__ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.board__orange { color: var(--amber) !important; }

.hero__media {
  position: relative; margin-top: clamp(48px, 7vw, 96px);
  height: clamp(220px, 34vw, 460px); overflow: hidden;
}
.hero__media img { width: 100%; height: 125%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 51, .55), rgba(7, 22, 51, 0) 40%);
}
.hero__cap {
  position: absolute; z-index: 1; left: var(--gut); bottom: 18px;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); padding: .4rem .6rem;
}

/* hero de páginas interiores */
.phero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 130px) clamp(56px, 7vw, 96px); }
.phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.phero .tag { color: var(--muted-d); }
.phero .h1 { font-size: clamp(2.9rem, 6.8vw, 7rem); margin: 1.2rem 0 0; overflow-wrap: anywhere; }
.phero__side { display: grid; gap: 1.6rem; }
.phero__side p { color: var(--muted-d); }
.phero .btn { --bs: var(--orange); }
.phero .btn--line { color: var(--paper); border-color: var(--paper); }
.crumbs { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* ---------- marquee ---------- */
.marquee { background: var(--orange); color: var(--ink); overflow: hidden; border-block: 1.5px solid var(--ink); }
.marquee__track { display: flex; width: max-content; }
.marquee__row {
  display: flex; align-items: center; gap: 1.6rem; padding: 1rem .8rem;
  font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 68%;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem); text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.mq-ico { width: .8em; height: .8em; fill: var(--ink); stroke: none; }
html:not(.anim) .marquee__track { animation: mq 40s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- servicios (lista) ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 70px minmax(0, 1.15fr) minmax(0, 1fr) 56px;
  gap: 1.5rem; padding: 1.9rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; isolation: isolate;
}
.svc__row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.svc__n { font-family: var(--f-mono); font-size: .8rem; color: var(--orange); }
.svc__t { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 68%; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: .92; transition: color .3s; }
.svc__d { color: var(--muted); font-size: .98rem; transition: color .3s; }
.svc__go { width: 52px; height: 52px; display: grid; place-items: center; border: 1.5px solid var(--ink); transition: background .3s, border-color .3s, transform .45s var(--ease); }
.svc__go .i { width: 22px; height: 22px; transition: transform .45s var(--ease); }
.svc__img { display: none; }
@media (hover: hover) {
  .svc__row:hover::before { transform: scaleY(1); }
  .svc__row:hover .svc__t { color: var(--paper); }
  .svc__row:hover .svc__d { color: var(--muted-d); }
  .svc__row:hover .svc__go { background: var(--orange); border-color: var(--orange); }
  .svc__row:hover .svc__go .i { transform: rotate(-45deg); }
}
.cursor-img {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 260px; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--orange);
  opacity: 0; transform: translate(-50%, -50%) scale(.8);
}
.cursor-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- diagnóstico ---------- */
.dx { background: var(--navy); color: var(--paper); overflow: hidden; }
.dx .tag { color: var(--muted-d); }
.dx__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); border: 1px solid var(--line-d); }
.dx__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line-d); }
.dx__tab {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  padding: 1.35rem 1.4rem; background: none; border: 0; border-bottom: 1px solid var(--line-d);
  font-weight: 600; font-size: 1.05rem; cursor: pointer; color: var(--paper);
  transition: background .25s, color .25s;
}
.dx__tab:last-child { border-bottom: 0; }
.dx__n { font-family: var(--f-mono); font-size: .72rem; color: var(--amber); }
.dx__ar { margin-left: auto; opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); }
.dx__tab:hover { background: rgba(244, 241, 234, .05); }
.dx__tab.is-on { background: var(--orange); color: var(--ink); }
.dx__tab.is-on .dx__n { color: var(--ink); }
.dx__tab.is-on .dx__ar { opacity: 1; transform: none; }
.dx__panels { position: relative; }
.dx__panel { display: none; grid-template-columns: 1fr 1fr; height: 100%; }
.dx__panel.is-on { display: grid; }
.dx__col { padding: clamp(24px, 3vw, 44px); display: grid; align-content: start; gap: 1.2rem; }
.dx__col--us { background: rgba(7, 22, 51, .45); border-left: 1px solid var(--line-d); }
.dx__col ol { list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.dx__col li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: .6rem; color: var(--paper); }
.dx__col li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; color: var(--amber); padding-top: .25rem; }
.dx__col p:not(.tag) { color: var(--muted-d); }
.dx__col .btn { justify-self: start; margin-top: .6rem; --bs: var(--paper); }
.dx__more { display: inline-flex; align-items: center; gap: .4rem; color: var(--amber); font-weight: 600; text-decoration: none; justify-self: start; }
.dx__more:hover { text-decoration: underline; }

/* ---------- qué ofrecemos (split con imagen) ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split--rev .split__media { order: 2; }
.split__media { position: sticky; top: calc(var(--hdr) + 32px); }
.frame { position: relative; overflow: hidden; border: 1.5px solid var(--ink); }
.frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame-wrap { position: relative; }
.frame-wrap::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--orange); z-index: -1;
}
.frame-label {
  position: absolute; left: -1px; bottom: -1px; z-index: 2;
  background: var(--ink); color: var(--paper); padding: .55rem .8rem;
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
}

.facts { display: grid; border-top: 1px solid var(--line); margin-top: 2.4rem; }
.fact { display: grid; grid-template-columns: minmax(130px, .5fr) 1fr; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fact__big { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 62%; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .85; color: var(--orange); }
.fact h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: .3rem; font-family: var(--f-body); }
.fact p { color: var(--muted); }

/* ---------- puntos (económicos a domicilio) ---------- */
.band { background: var(--paper-2); }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.point { padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .6rem; align-content: start; background: var(--paper); transition: background .3s; }
.point:hover { background: var(--white); }
.point .i { width: 28px; height: 28px; color: var(--orange); }
.point h3 { font-family: var(--f-body); font-weight: 650; font-size: 1.1rem; }
.point p { color: var(--muted); font-size: .96rem; }

/* ---------- proceso (horizontal) ---------- */
.proc { background: var(--ink); color: var(--paper); overflow: hidden; }
.proc .tag { color: var(--muted-d); }
.proc__track { display: flex; gap: 0; }
.step {
  flex: none; width: min(78vw, 520px); min-height: 360px;
  padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-d); margin-right: -1px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  background: var(--ink);
}
.step__n { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 62%; font-size: clamp(5rem, 11vw, 9rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--orange); }
.step h3 { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 68%; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: .95; margin-bottom: .8rem; }
.step p { color: var(--muted-d); }
.step:hover .step__n { color: var(--orange); }
/* escritorio: la sección fijada tiene que entrar entera en la ventana */
@media (min-width: 981px) {
  .proc { padding-block: clamp(48px, 8vh, 110px); }
  .proc .sec-head { margin-bottom: clamp(24px, 4vh, 56px); gap: 1rem; }
  .proc .h2 { font-size: clamp(2.4rem, min(6.6vw, 9vh), 6.2rem); }
  .step { min-height: clamp(240px, 38vh, 360px); gap: 1.2rem; }
  .step__n { font-size: clamp(4rem, min(11vw, 14vh), 9rem); }
}

/* ---------- reseñas ---------- */
.reviews { overflow: hidden; }
.reviews .sec-head { grid-template-columns: 1fr auto; align-items: end; }
.reviews .sec-head .tag { grid-column: 1 / -1; }
.score { display: flex; align-items: center; gap: 1rem; }
.score__num { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 62%; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .8; }
.score__meta { display: grid; gap: .3rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.review__stars { display: flex; gap: 2px; color: var(--orange); }
.star { width: 16px; height: 16px; }
.reviews__rows { display: grid; gap: 1rem; }
.reviews__row { overflow: hidden; }
.reviews__track { display: flex; gap: 1rem; width: max-content; animation: rv 70s linear infinite; }
.reviews__row--rev .reviews__track { animation-direction: reverse; animation-duration: 80s; }
.reviews__row:hover .reviews__track { animation-play-state: paused; }
@keyframes rv { to { transform: translateX(calc(-50% - .5rem)); } }
.review {
  margin: 0; width: min(82vw, 420px); flex: none;
  background: var(--white); border: 1.5px solid var(--ink); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.5; flex: 1; }
.review figcaption { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.review figcaption span { color: var(--muted); }

/* ---------- zonas ---------- */
.zones { background: var(--ink); color: var(--paper); overflow: hidden; }
.zones__bg { position: absolute; inset: -15% 0; opacity: .22; }
.zones__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.zones::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--ink), rgba(7, 22, 51, .65) 40%, var(--ink)); }
.zones__inner { position: relative; z-index: 2; }
.zones .lead a { color: var(--amber); }
.zones .tag { color: var(--muted-d); }
.ztabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.ztab {
  padding: .6rem 1rem; background: transparent; border: 1px solid var(--line-d); cursor: pointer;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--paper);
  transition: background .2s, color .2s, border-color .2s;
}
.ztab:hover { border-color: var(--paper); }
.ztab.is-on { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.zlist { display: none; list-style: none; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.zlist.is-on { display: grid; }
.zlist li { padding: .8rem 1rem; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-size: .95rem; transition: background .2s, color .2s; }
.zlist li:hover { background: var(--paper); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 44px; gap: 1.5rem; align-items: center;
  padding: 1.5rem 0; font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 44px; height: 44px; padding: 10px; border: 1.5px solid var(--ink); transition: transform .35s var(--ease), background .2s; }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--orange); }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 3.5rem 1.6rem 0; color: var(--muted); max-width: 75ch; }

/* ---------- contenido largo (páginas internas) ---------- */
.cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.cols__aside { position: sticky; top: calc(var(--hdr) + 32px); align-self: start; display: grid; gap: 1.4rem; }
.blocks { display: grid; border-top: 1px solid var(--line); }
.block { padding: 2rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 1rem; }
.block__n { font-family: var(--f-mono); font-size: .8rem; color: var(--orange); padding-top: .35rem; }
.block h3 { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 68%; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: .95; margin-bottom: .7rem; }
.block p, .block li { color: var(--muted); }
.ticks { list-style: none; display: grid; gap: .55rem; margin-top: .9rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .5rem; }
.ticks .i { color: var(--orange); margin-top: .25rem; }

/* fila de servicios detallados */
.sdet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.sdet:nth-child(even) .sdet__media { order: 2; }
.sdet__media .frame { aspect-ratio: 5 / 4; }
.sdet__body { display: grid; gap: 1.1rem; }
.sdet__body .h3 { font-size: clamp(2rem, 4vw, 3.6rem); }
.sdet__body > p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line); padding: .35rem .6rem; background: var(--white); }

/* precio */
.price { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--white); border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--orange); }
.price__num { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 62%; font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: .85; white-space: nowrap; }
.price__num small { font-size: .4em; font-stretch: 75%; color: var(--muted); }
.price p { color: var(--muted); }

/* contacto */
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ccard { display: grid; gap: .8rem; align-content: start; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--paper); transition: background .25s; min-height: 200px; }
a.ccard:hover { background: var(--orange); }
.ccard .i { width: 28px; height: 28px; }
.ccard strong { font-family: var(--f-display); font-style: italic; font-weight: 850; font-stretch: 68%; text-transform: uppercase; font-size: 1.7rem; line-height: 1; word-break: break-word; }
.ccard span { color: var(--muted); font-size: .92rem; }
a.ccard:hover span { color: var(--ink); }
.form { display: grid; gap: 1rem; padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1.5px solid var(--ink); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); padding: .85rem .9rem; border-radius: 0; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.form__note { font-size: .82rem; color: var(--muted); }
.map { position: relative; display: block; background: var(--white); border: 1.5px solid var(--ink); aspect-ratio: 16 / 10; width: 100%; filter: grayscale(.6) contrast(1.05); }

/* ---------- CTA ---------- */
.cta { background: var(--orange); color: var(--ink); padding-block: clamp(70px, 10vw, 140px); border-top: 1.5px solid var(--ink); }
.cta .tag { color: var(--ink); }
.cta__phone {
  display: inline-flex; align-items: center; gap: .15em; margin: 1rem 0 2rem;
  text-decoration: none; font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 62%;
  font-size: clamp(3.6rem, 15.5vw, 15rem); line-height: .85; letter-spacing: -.01em;
}
.cta__arrow { width: .55em; height: .55em; stroke-width: 2.4; transition: transform .4s var(--ease); }
.cta__phone:hover .cta__arrow { transform: translate(.08em, -.08em); }
.cta__foot { display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; justify-content: space-between; align-items: center; border-top: 1.5px solid var(--ink); padding-top: 1.6rem; }
.cta__foot p { max-width: 46ch; font-size: 1.1rem; }
.cta .btn--line:hover { background: rgba(255, 255, 255, .25); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.ftr__brand img { width: 220px; margin-bottom: 1.2rem; }
.ftr__brand p { color: var(--muted-d); max-width: 36ch; font-size: .95rem; }
.ftr__col .tag { color: var(--orange); margin-bottom: 1rem; }
.ftr__col ul { list-style: none; display: grid; gap: .55rem; }
.ftr__col a, .ftr__col span { display: inline-flex; gap: .55rem; align-items: center; text-decoration: none; color: var(--muted-d); font-size: .95rem; }
.ftr__col a:hover { color: var(--paper); }
.ftr__word {
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(3rem, 12.4vw, 11.8rem); line-height: .85; letter-spacing: -.01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244, 241, 234, .28); margin: 1rem 0 0;
}
.ftr__word span { -webkit-text-stroke-color: var(--orange); }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-d); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-d); }

/* barra móvil */
.mbar { display: none; }

/* ---------- animación: estados iniciales (solo con JS + motion OK) ---------- */
html.anim [data-reveal] { opacity: 0; transform: translateY(28px); }
html.anim [data-split] { opacity: 0; }
html.anim [data-clip] { clip-path: inset(100% 0 0 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .hdr__right { margin-left: auto; }
  .hdr__burger { display: inline-flex; }
}
@media (max-width: 980px) {
  .hero__grid, .phero__grid, .split, .split--rev, .cols, .sdet, .dx__grid { grid-template-columns: 1fr; }
  .split--rev .split__media, .sdet:nth-child(even) .sdet__media { order: 0; }
  .split__media, .cols__aside { position: relative; top: 0; }
  .frame--tall { aspect-ratio: 4 / 3; }
  .dx__tabs { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .cgrid { grid-template-columns: 1fr 1fr; }
  .svc__row { grid-template-columns: 44px 1fr 48px; }
  .svc__d { grid-column: 2 / 3; }
  .svc__go { grid-row: 1; grid-column: 3; width: 44px; height: 44px; }
  .proc__track { flex-direction: column; }
  .points--4 { grid-template-columns: 1fr 1fr; }
  .step { width: 100%; min-height: 0; margin: 0 0 -1px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .live { display: none; }
  .hdr__right .btn--sm span { display: none; }
  .hdr__right .btn--sm { padding: .6rem; }
  .dx__panel { grid-template-columns: 1fr; }
  .dx__col--us { border-left: 0; border-top: 1px solid var(--line-d); }
  .points, .points--4, .cgrid, .form .row2 { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: .5rem; }
  .reviews .sec-head, .sec-head--row { grid-template-columns: 1fr; }
  .sec-head--row .btn { justify-self: start; }
  .zlist { grid-template-columns: 1fr 1fr; }
  .zlist li { padding: .7rem .8rem; font-size: .88rem; }
  .phero .h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .price { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .faq__a > div { padding-right: 0; }
  .frame-wrap::before { inset: 10px -10px -10px 10px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    border-top: 1.5px solid var(--ink); transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; font-weight: 650; text-decoration: none; background: var(--ink); color: var(--paper); }
  .mbar .mbar__call { background: var(--orange); color: var(--ink); }
  .ftr { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reviews__track { animation: none; }
  .reviews__row { overflow-x: auto; }
}

/* ---------- tabla comparativa ---------- */
.cmp { border: 1.5px solid var(--ink); background: var(--white); }
.cmp__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.cmp__row:last-child { border-bottom: 0; }
.cmp__row > * { padding: 1.1rem 1.2rem; }
.cmp__row > * + * { border-left: 1px solid var(--line); }
.cmp__head { background: var(--ink); color: var(--paper); }
.cmp__head > * { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.cmp__head > * + * { border-left-color: var(--line-d); }
.cmp__head .cmp__them { color: var(--paper); }
.cmp__head .cmp__us { background: var(--orange); color: var(--ink); }
.cmp__k { font-weight: 650; }
.cmp__them, .cmp__us { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .96rem; }
.cmp__row:not(.cmp__head) .cmp__us { color: var(--ink); background: rgba(255, 91, 0, .06); }
.cmp__them .i { color: #b4472c; margin-top: .2rem; }
.cmp__us .i { color: var(--orange); margin-top: .2rem; }
.cmp__note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
@media (max-width: 720px) {
  .cmp__row { grid-template-columns: 1fr 1fr; }
  .cmp__k { grid-column: 1 / -1; background: var(--paper); border-bottom: 1px solid var(--line); }
  .cmp__row > .cmp__them { border-left: 0; }
  .cmp__head .cmp__k { display: none; }
  .cmp__head > .cmp__them { border-left: 0; }
}

/* ---------- banner de cookies (solo si hay GA4_ID) ---------- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; padding: 1.2rem; background: var(--ink); color: var(--paper); border: 1.5px solid var(--orange); box-shadow: 6px 6px 0 var(--orange); display: grid; gap: .9rem; font-size: .92rem; }
.ck[hidden] { display: none; }
.ck p { color: var(--muted-d); }
.ck strong { color: var(--paper); }
.ftr__ck { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
@media (max-width: 720px) { .ck { left: 12px; right: 12px; bottom: 76px; max-width: none; } }
.ck a { color: var(--amber); }
.ftr__links a { color: inherit; }
.ftr__links a:hover { color: var(--paper); }

/* ---------- páginas legales ---------- */
.legal { max-width: 78ch; }
.legal h2 { font-family: var(--f-body); font-style: normal; font-weight: 650; font-stretch: 100%; text-transform: none; font-size: 1.35rem; line-height: 1.3; margin: 2.4rem 0 .8rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .8em; }
.legal ul { margin: .6rem 0 0 1.2rem; display: grid; gap: .4rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--ink); }
.legal__upd { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.legal__tbl { width: 100%; min-width: 640px; border-collapse: collapse; margin-top: 1rem; font-size: .92rem; background: var(--white); border: 1.5px solid var(--ink); }
.legal__tbl th, .legal__tbl td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__tbl th { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.legal__tbl td { color: var(--muted); }
.legal__tbl-wrap { overflow-x: auto; }
