/* =========================================================
   Pintura Decorativa · José María Rodríguez
   Concepto: estudio de obra. Pared de yeso clara, tinta casi negra,
   el rojo del logo solo para acciones, cinta de carrocero para etiquetas
   y la carta de colores del logo como único detalle cromático.
   ========================================================= */

/* ---------- Fuentes (alojadas en la propia web) ---------- */
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --plaster: #f4f1ec;   /* pared de yeso */
  --plaster-2: #e9e4dc;
  --paper: #fbfaf7;
  --ink: #161513;
  --ink-soft: #3d3a35;
  --mute: #77716a;
  --red: #d0182a;
  --red-dark: #a60f1e;
  --tape: #e8d9b5;      /* cinta de carrocero */
  --tape-ink: #4a3f27;
  --line: rgba(22, 21, 19, 0.12);
  --serif: "DM Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(16px, 5vw, 80px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--plaster); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(44px, 6.2vw, 88px); }
h1 em, h2 em { font-style: italic; color: var(--red); }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: transform .35s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(22, 21, 19, .25); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .4s ease, box-shadow .4s ease, transform .4s var(--ease); }
.nav.is-solid { background: rgba(244, 241, 236, .9); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { width: 138px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14.5px; position: relative; }
.nav-links a:not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:not(.nav-phone):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--plaster); font-variant-numeric: tabular-nums; transition: background-color .3s ease; }
.nav-phone span { font-weight: 500; opacity: .65; }
.nav-phone:hover { background: var(--red); }
.nav-mobile-only { display: none; }
.nav-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Load sequence (visible si no hay JS: solo animación de entrada) ---------- */
@keyframes up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
.load-in { animation: up 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > * { display: inline-block; }
@keyframes rise-line { from { transform: translateY(105%); } to { transform: none; } }
.hero-title .load-in { animation-name: rise-line; animation-duration: 1.1s; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 128px var(--pad) 64px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero-title { font-size: clamp(46px, 6.4vw, 96px); line-height: .98; margin-bottom: 30px; }
.hero-title em { color: var(--red); }
.hero-sub { font-size: 18.5px; color: var(--ink-soft); max-width: 44ch; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.trust { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); max-width: 560px; }
.trust strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; margin-bottom: 6px; }
.trust span { display: block; font-size: 13px; color: var(--mute); line-height: 1.35; }

.hero-media { margin: 0; }
.hero-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--mute); font-weight: 600; letter-spacing: .02em; }
.hero-cap-hint::before { content: "↔ "; color: var(--red); }

/* ---------- Before / After ---------- */
.ba {
  position: relative; overflow: hidden; border-radius: 6px; background: var(--plaster-2);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; max-width: 100%;
  box-shadow: 0 50px 90px -50px rgba(22, 21, 19, .6), 0 2px 0 rgba(22, 21, 19, .04);
}
.ba-hero { aspect-ratio: 4 / 5; max-height: calc(100svh - 190px); width: 100%; }
.ba-main { aspect-ratio: var(--ratio); max-height: 80vh; width: 100%; margin-inline: auto; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .4s ease; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-50%); }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  backdrop-filter: blur(6px);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; transform: translateY(-50%);
}
.ba-handle span::before { left: 14px; border-right: 8px solid var(--ink); }
.ba-handle span::after { right: 14px; border-left: 8px solid var(--ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.ba.is-swapping img { opacity: 0; }

/* cinta de carrocero */
.tape {
  position: absolute; top: 18px; z-index: 2; pointer-events: none;
  padding: 7px 16px 6px; background: var(--tape); color: var(--tape-ink);
  font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .14);
  clip-path: polygon(0 6%, 3px 0, 100% 0, calc(100% - 3px) 22%, 100% 44%, calc(100% - 2px) 70%, 100% 100%, 0 100%, 3px 76%, 0 52%, 2px 28%);
}
.tape-l { left: 18px; transform: rotate(-3deg); }
.tape-r { right: 18px; transform: rotate(2.5deg); background: var(--red); color: #fff; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 32px); padding: 18px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin: 0 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 12vw, 168px) var(--pad); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-lead { color: var(--ink-soft); font-size: 18px; max-width: 40ch; }

/* reveal: visible en reposo; solo se anima donde el navegador lo soporta */
@keyframes reveal-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
  .gallery figure { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% entry 28%; }
}

/* ---------- Antes y después (sección) ---------- */
.ad-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ad-list { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: obra; border-top: 1px solid var(--line); }
.ad-list li { counter-increment: obra; border-bottom: 1px solid var(--line); }
.ad-list button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--mute);
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 18px 0;
  transition: color .3s ease, padding .4s var(--ease);
}
.ad-list button::before { content: counter(obra, decimal-leading-zero); grid-row: 1 / 3; font-size: 13px; font-weight: 700; padding-top: 7px; font-variant-numeric: tabular-nums; }
.ad-t { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.ad-p { font-size: 13px; font-weight: 600; letter-spacing: .03em; margin-top: 4px; }
.ad-list button:hover { color: var(--ink); }
.ad-list button[aria-selected="true"] { color: var(--ink); padding-left: 10px; }
.ad-list button[aria-selected="true"]::before { color: var(--red); }
.ad-list button[aria-selected="true"] .ad-p { color: var(--red); }
.ad-desc { color: var(--ink-soft); font-size: 17px; min-height: 3.2em; }
.link-arrow { display: inline-flex; gap: 8px; margin-top: 18px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Servicios ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease);
}
.chip { width: 40px; height: 52px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 6px 14px -8px rgba(0,0,0,.4); position: relative; }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--paper); border-radius: 0 0 3px 3px; }
.svc h3 { font-size: clamp(28px, 3.4vw, 46px); transition: transform .5s var(--ease); }
.svc p { color: var(--ink-soft); font-size: 16.5px; max-width: 42ch; }
.svc-img {
  position: absolute; right: 8%; top: 50%; width: 220px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; z-index: 3;
  opacity: 0; transform: translate(0, -50%) scale(.9) rotate(3deg); pointer-events: none;
  transition: opacity .35s ease, transform .55s var(--ease); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
@media (hover: hover) and (min-width: 1021px) {
  .svc:hover { padding-left: 14px; }
  .svc:hover h3 { transform: translateX(6px); }
  .svc:hover .svc-img { opacity: 1; transform: translate(0, -50%) scale(1) rotate(3deg); }
  .svc:hover p { opacity: .25; }
  .svc p { transition: opacity .3s ease; }
}

/* ---------- Proceso ---------- */
.process { background: var(--ink); color: var(--plaster); }
.process-inner { max-width: var(--max); margin: 0 auto; padding: clamp(88px, 11vw, 150px) var(--pad); }
.process .eyebrow { color: rgba(244, 241, 236, .55); }
.process h2 em { color: #ff4a5a; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(244, 241, 236, .2); }
.steps li { padding: 34px 28px 10px 0; border-right: 1px solid rgba(244, 241, 236, .12); }
.steps li + li { padding-left: 28px; }
.steps li:last-child { border-right: 0; }
.step-n { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: #ff4a5a; margin-bottom: 26px; }
.steps h3 { font-size: 27px; margin-bottom: 12px; }
.steps p { color: rgba(244, 241, 236, .7); font-size: 16px; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font-family: var(--sans); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.filters button:hover { border-color: var(--ink); }
.filters button.is-on { background: var(--ink); color: var(--plaster); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; cursor: zoom-in; background: var(--plaster-2); }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(22, 21, 19, .72); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .45s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery figure.is-hidden { display: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.about-media { position: relative; margin: 0; padding-bottom: 64px; }
.about-media > img:first-child { width: 86%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; border-radius: 4px; }
.about-inset {
  position: absolute; right: 0; bottom: 0; width: 44%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 15%;
  border-radius: 4px; border: 8px solid var(--plaster); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .5);
}
.about-text { position: relative; }
.big-num {
  position: absolute; right: -2%; top: -0.32em; z-index: -1;
  font-family: var(--serif); font-size: clamp(180px, 24vw, 340px); line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px rgba(208, 24, 42, .25);
  pointer-events: none; user-select: none;
}
.about-text h2 { margin-bottom: 28px; }
.about-text > p:not(.eyebrow) { font-size: 19px; color: var(--ink-soft); max-width: 52ch; }
.about-text > p + p { margin-top: 14px; }
.about-sign { width: 190px; height: auto; margin-top: 36px; }

/* ---------- Zona ---------- */
/* ---------- Reseñas ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.rating { display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; }
.rating-num { grid-row: span 2; font-family: var(--serif); font-size: clamp(56px, 6vw, 84px); line-height: .9; }
.rating-stars { color: var(--red); letter-spacing: .12em; font-size: 18px; }
.rating-src { font-size: 13px; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--plaster-2); border-radius: 4px; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 18px; height: 100%; }
.review-stars { color: var(--red); letter-spacing: .14em; font-size: 15px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.38; color: var(--ink); flex: 1; }
.review blockquote::before { content: "“"; }
.review blockquote::after { content: "”"; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--plaster-2); padding-top: 14px; }
.review figcaption strong { font-weight: 700; }
.review figcaption span { font-size: 14px; color: var(--mute); }
.reviews-cta { margin-top: clamp(28px, 3vw, 44px); }
@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review { height: auto; }
}

.zone { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(88px, 12vw, 160px); }
.zone-inner { border-top: 1px solid var(--ink); padding-top: clamp(48px, 6vw, 80px); display: grid; justify-items: center; text-align: center; }
.zone-lead { color: var(--mute); margin-top: 18px; font-weight: 600; }
.towns { list-style: none; padding: 0; margin: 18px 0 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; max-width: 900px; }
.towns li { font-family: var(--serif); font-size: clamp(24px, 3vw, 38px); line-height: 1.3; }
.towns li:not(:last-child)::after { content: "·"; color: var(--red); margin: 0 .45em; }
.zone-note { color: var(--ink-soft); }

/* ---------- Contacto ---------- */
.contact { background: var(--ink); color: var(--plaster); }
.contact-inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(88px, 11vw, 150px) var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start;
}
.contact .eyebrow { color: rgba(244, 241, 236, .55); }
.contact h2 { margin-bottom: 18px; }
.contact h2 em { color: #ff4a5a; }
.contact-lead { font-size: 19px; color: rgba(244, 241, 236, .78); max-width: 38ch; margin-bottom: 30px; }
.big-phone {
  display: inline-block; font-family: var(--serif); font-size: clamp(44px, 6vw, 82px); line-height: 1; text-decoration: none;
  font-variant-numeric: tabular-nums; margin-bottom: 36px; background-image: linear-gradient(#ff4a5a, #ff4a5a);
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .6s var(--ease);
  padding-bottom: 6px;
}
.big-phone:hover { background-size: 100% 2px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-top: 1px solid rgba(244, 241, 236, .14); align-items: baseline; }
.contact-list span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(244, 241, 236, .5); font-weight: 700; }
.contact-list a, .contact-list p { font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: #ff4a5a; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: #1f1d1a; padding: clamp(24px, 3.4vw, 44px); border-radius: 8px; border: 1px solid rgba(244, 241, 236, .1); }
.form-title { grid-column: 1 / -1; font-family: var(--serif); font-size: 30px; margin-bottom: 4px; }
.form label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(244, 241, 236, .78); min-width: 0; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--plaster); background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(244, 241, 236, .25); border-radius: 0; padding: 10px 0; width: 100%;
  transition: border-color .3s ease;
}
.form select option { color: var(--ink); }
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(244, 241, 236, .35); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: #ff4a5a; }
.form .hp { display: none; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; line-height: 1.45; }
.form .consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--red); }
.form .consent a { color: #fff; }
.form button { margin-top: 8px; }
.form-legal { grid-column: 1 / -1; font-size: 12px; line-height: 1.55; color: rgba(244, 241, 236, .5); }
.form-legal a { color: inherit; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--plaster); background: rgba(208, 24, 42, .3); border-radius: 6px; padding: 12px 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(244, 241, 236, .65); }
.swatches { display: grid; grid-template-columns: repeat(12, 1fr); height: 6px; }
.swatches i:nth-child(1)  { background: #8fd12f; } .swatches i:nth-child(2)  { background: #2fb34a; }
.swatches i:nth-child(3)  { background: #1f9a73; } .swatches i:nth-child(4)  { background: #1f8fd1; }
.swatches i:nth-child(5)  { background: #1f5fd1; } .swatches i:nth-child(6)  { background: #3a2fd1; }
.swatches i:nth-child(7)  { background: #7b2fd1; } .swatches i:nth-child(8)  { background: #b81f8f; }
.swatches i:nth-child(9)  { background: #d0182a; } .swatches i:nth-child(10) { background: #ee5a14; }
.swatches i:nth-child(11) { background: #f59a14; } .swatches i:nth-child(12) { background: #f2d114; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 100px; display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 14.5px; }
.footer-inner img { width: 160px; background: var(--plaster); padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; margin-top: 6px; }
.legal-links a { text-decoration: underline; text-underline-offset: 3px; }
.copy { font-size: 12.5px; opacity: .55; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transition: transform .35s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(14, 13, 12, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 4px; object-fit: contain; }
.lb-fig figcaption { color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 600; }
.lb-close, .lb-nav { position: fixed; background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; line-height: 1; transition: background-color .25s ease; }
.lb-close { top: 16px; right: 16px; font-size: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); font-size: 34px; }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); font-size: 34px; }
.lb-close:hover, .lb-nav:hover { background: var(--red); }

/* ---------- Páginas legales ---------- */
.legal-page { max-width: 760px; margin: 0 auto; padding: 130px var(--pad) 80px; }
.legal-page h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 8px; }
.legal-page .updated { color: var(--mute); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 27px; margin: 38px 0 12px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 16px; }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { padding-left: 20px; margin: 10px 0; }
.legal-page dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.legal-page dt { font-weight: 700; color: var(--ink); }
.legal-page dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.legal-back { display: inline-block; margin-top: 48px; font-weight: 700; color: var(--red); text-decoration: none; border-bottom: 2px solid currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(3) { padding-left: 0; }
  .svc { grid-template-columns: 56px minmax(0, 1fr); }
  .svc p { grid-column: 2; }
  .svc-img { display: none; }
}

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--plaster); flex-direction: column; justify-content: center; gap: 24px;
    opacity: 0; pointer-events: none; transition: opacity .35s ease;
  }
  .nav-links a:not(.nav-phone) { font-family: var(--serif); font-size: 36px; font-weight: 400; }
  .nav-mobile-only { display: inline; }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.is-open { background: var(--plaster); }
  .nav-logo, .nav-burger { position: relative; z-index: 2; }
  .nav-logo img { width: 118px; }

  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 92px; gap: 26px; }
  .hero-media { order: -1; }
  .ba-hero { aspect-ratio: 1 / 1; max-height: 52svh; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-ctas { margin-bottom: 36px; }

  .ad-layout { grid-template-columns: minmax(0, 1fr); }
  .ba-main { max-height: 68vh; }

  .about { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 520px; }
  .big-num { right: 0; top: -0.5em; }

  .contact-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .eyebrow { letter-spacing: .14em; font-size: 11.5px; }
  .eyebrow::before { width: 18px; }
  .trust { gap: 12px; }
  .trust strong { font-size: 26px; }
  .trust span { font-size: 12px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 8px; }
  .gallery figure.tall { grid-row: span 2; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li, .steps li:nth-child(3) { padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(244, 241, 236, .12); }
  .step-n { font-size: 48px; margin-bottom: 14px; }
  .svc { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .chip { width: 30px; height: 40px; }
  .chip::after { height: 9px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; max-width: 100%; }
  .filters button { flex: none; }
  .section-head.split > .filters { width: 100%; }
  .tape { font-size: 10.5px; padding: 6px 12px 5px; top: 12px; }
  .tape-l { left: 12px; } .tape-r { right: 12px; }
  .hero-cap { font-size: 12px; }
  .legal-page dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal-page dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .gallery figure { animation: none !important; }
  .marquee-track { animation-duration: 160s; }
  .load-in { animation-duration: .01s; }
}
