/* ============================================================
   EQP'S — Propuesta 2 «Lumière» · Luz mediterránea
   Paleta refinada: carmín profundo + porcelana + arena + oro
   Tipografías de marca: Oswald + Roboto
   ============================================================ */

@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-var-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #faf6ef;
  --sand: #f1e8da;
  --white: #fffdf9;
  --ink: #2b2523;
  --muted: #6d615a;
  --carmine: #a90f1a;      /* rojo de marca, profundizado */
  --carmine-dark: #8c0c15;
  --gold: #7f5c23; /* oro oscurecido para texto: 5.0:1 sobre arena y 5.6:1 sobre crema (AA) */
  --gold-soft: #d8c3a0;
  --shadow: 0 1.5rem 3rem -1.5rem rgba(43, 37, 35, 0.25);
  --radius: 1.25rem;
  --arch: 12rem 12rem var(--radius) var(--radius);
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --container: 71rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 5.5rem; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--carmine); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
p { margin: 0 0 1rem; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

:focus-visible { outline: 2px solid var(--carmine); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--carmine); color: #fff; padding: 0.6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 2rem; height: 1px; background: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 0.5rem 1.5rem -1rem rgba(43,37,35,0.25); }
.header-bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.4rem; gap: 1rem; }
.brand { text-decoration: none; line-height: 1.1; }
.brand-mark { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.05em; color: var(--carmine); }
.brand-sub { display: block; font-size: 0.56rem; letter-spacing: 0.44em; text-transform: uppercase; color: var(--muted); }

.nav-desktop { display: none; }
.nav-desktop a:not(.header-cta) {
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--ink);
  padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: border-color 0.25s, color 0.25s;
}
.nav-desktop a:not(.header-cta):hover { color: var(--carmine); border-bottom-color: var(--gold-soft); }
.header-cta { display: none; }

.nav-toggle {
  appearance: none; border: 1px solid var(--gold-soft); background: var(--white);
  border-radius: 999px; color: var(--ink); width: 2.9rem; height: 2.9rem;
  display: grid; place-items: center; cursor: pointer;
}
.nav-toggle .bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle .bars span { height: 1.5px; background: currentColor; transition: transform 0.3s, opacity 0.3s; }
.nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-sheet {
  position: fixed; inset: 0; z-index: 90; background: var(--cream);
  display: grid; align-content: center; justify-items: center; gap: 0.4rem;
  text-align: center; padding: var(--pad);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.nav-open .nav-sheet { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }
.nav-sheet a {
  font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.4rem);
  text-decoration: none; color: var(--ink); padding: 0.3rem 1rem;
}
.nav-sheet a:hover { color: var(--carmine); }
.nav-sheet .sheet-cta { margin-top: 1.2rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  text-decoration: none; padding: 0.9rem 1.7rem; border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-solid { background: var(--carmine); color: #fff; box-shadow: 0 0.9rem 1.6rem -0.9rem rgba(169, 15, 26, 0.8); }
.btn-solid:hover { background: var(--carmine-dark); transform: translateY(-2px); }
.btn-line { border: 1.5px solid var(--gold-soft); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--carmine); color: var(--carmine); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(2.5rem, 6vw, 6rem) var(--section); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 45% at 15% 0%, rgba(216, 195, 160, 0.35), transparent 70%),
    radial-gradient(50% 40% at 100% 20%, rgba(169, 15, 26, 0.07), transparent 70%);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 8.5vw, 4.6rem); font-weight: 500; }
.hero h1 em { font-style: normal; color: var(--carmine); }
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 31rem; margin-bottom: 2rem; }
.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1.6rem 0 0; padding: 0; list-style: none;
}
.hero-badges li {
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  background: var(--white); border: 1px solid var(--gold-soft);
  border-radius: 999px; padding: 0.35rem 0.95rem;
}
.hero-figure { position: relative; margin: 0; max-width: 26rem; justify-self: center; width: 100%; }
.hero-figure img {
  border-radius: var(--arch); box-shadow: var(--shadow);
  width: 100%; aspect-ratio: 720 / 579; object-fit: cover;
}
.stamp {
  position: absolute; right: 0.3rem; bottom: -1.6rem; width: 7.5rem; height: 7.5rem;
  color: var(--carmine);
}
@media (min-width: 62rem) { .stamp { right: -1.2rem; } }
.stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp text { font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; fill: currentColor; }
.stamp-core {
  position: absolute; inset: 28%; background: var(--carmine); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Bloque de cifras (prueba social): integrado en el hero con filetes dorados */
.stats {
  list-style: none; margin: 2rem 0 0; padding: 1.3rem 0; text-align: center;
  border-block: 1px solid var(--gold-soft);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.5rem;
}
.stats b {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 4.5vw, 2.1rem); line-height: 1.1; color: var(--ink);
}
.stats .star { color: var(--carmine); font-size: 0.68em; vertical-align: 0.14em; margin-left: 0.08em; }
.stats li > span { font-size: 0.78rem; color: var(--muted); }

/* Franja de marcas */
.brands { border-block: 1px solid var(--gold-soft); background: var(--white); }
.brands-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.8rem;
  padding-block: 1.3rem;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section-sand { background: linear-gradient(180deg, var(--sand), #ece1cf); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 500; }
.section-head .lead { color: var(--muted); }
.section-head .kicker { justify-content: center; }
.section-head .kicker::after { content: ""; width: 2rem; height: 1px; background: var(--gold); }

/* Lema (cita de la familia) */
.quote-band { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* Servicios — bloques desglosados (extensiones, alisados) */
.svc-block { margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.svc-head { text-align: center; max-width: 40rem; margin: 0 auto 1.5rem; }
.svc-head h3 { font-size: clamp(1.55rem, 4.5vw, 2.1rem); font-weight: 500; margin-bottom: 0.35rem; }
.svc-head p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.svc-grid { display: grid; gap: 1.25rem; }
.card h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; line-height: 1.2; margin: 0 0 0.2rem; }
.mini-sub {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.3rem;
}
.plist { margin: 0.4rem 0 0; padding: 0; }
.plist .item {
  display: flex; align-items: baseline; gap: 0.6rem; padding: 0.45rem 0;
  border-top: 1px dashed rgba(176, 132, 71, 0.35);
}
.plist .item:first-child { border-top: 0; }
.plist dt { font-size: 0.92rem; }
.plist .dots { flex: 1; min-width: 1rem; }
.plist dd { margin: 0; font-weight: 700; white-space: nowrap; font-size: 0.95rem; }
.plist dd small { color: var(--muted); font-weight: 400; }
.note-destacada {
  margin: 0.9rem 0 0; padding: 0.55rem 0.9rem;
  background: var(--sand); border: 1px dashed var(--gold); border-radius: 0.7rem;
  font-size: 0.88rem; font-weight: 500;
}
.note-destacada b { color: var(--carmine); }

/* Servicios — tarjetas */
.cards { display: grid; gap: 1.25rem; }
.card {
  background: var(--white); border: 1px solid rgba(216, 195, 160, 0.55);
  border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-ico {
  width: 3rem; height: 3rem; border-radius: 999px;
  background: var(--sand); color: var(--carmine);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-ico svg { width: 1.4rem; height: 1.4rem; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.28rem; font-weight: 500; margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .from {
  font-family: var(--font-display); font-weight: 500; color: var(--carmine);
  font-size: 0.95rem; letter-spacing: 0.06em;
}

/* Destacado extensiones */
.feature { display: grid; gap: 2.5rem; align-items: center; }
.feature-img { position: relative; margin: 0; }
.feature-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.feature-img figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255, 253, 249, 0.92); border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; padding: 0.4rem 1rem;
}
.checklist { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--muted); }
.checklist li::before {
  content: "✓"; color: var(--carmine); font-weight: 900; flex: none;
  transform: translateY(-1px);
}
.checklist strong { color: var(--ink); }

/* Galería */
.shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 21rem);
  gap: 1.1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: 0.5rem var(--pad) 1.5rem;
  scrollbar-color: var(--gold) transparent;
}
.shelf::-webkit-scrollbar { height: 5px; }
.shelf::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 99px; }
.shelf figure {
  margin: 0; scroll-snap-align: center; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.shelf img { width: 100%; aspect-ratio: 600 / 609; object-fit: cover; }
.shelf figcaption { padding: 0.85rem 1.2rem; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.shelf figcaption b { color: var(--ink); display: block; font-weight: 700; }

/* Trabajos — categorías y tiras */
.work-cat { text-align: center; margin-bottom: 1.4rem; }
.work-cat .kicker { margin-bottom: 0; }
.work-cat .kicker::after { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.strip { display: grid; gap: 1.1rem; grid-template-columns: min(100%, 21rem); justify-content: center; margin-bottom: 2.6rem; }
.strip figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.strip img { width: 100%; aspect-ratio: 600 / 609; object-fit: cover; }
.strip figcaption { padding: 0.85rem 1.2rem; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.strip figcaption b { color: var(--ink); display: block; font-weight: 700; }

/* Precios — acordeones */
.price-panels { display: grid; gap: 1.25rem; max-width: 46rem; margin-inline: auto; }
.price-panel {
  background: var(--white); border: 1px solid rgba(216, 195, 160, 0.55);
  border-radius: var(--radius); overflow: hidden;
}
.price-panel summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.3rem 1.5rem;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
}
.price-panel summary::-webkit-details-marker { display: none; }
.price-panel summary .chev {
  width: 2.1rem; height: 2.1rem; border-radius: 999px; background: var(--sand);
  display: grid; place-items: center; transition: transform 0.3s ease; flex: none;
}
.price-panel[open] summary .chev { transform: rotate(45deg); }
.chev svg { width: 0.9rem; height: 0.9rem; stroke: var(--carmine); stroke-width: 2; fill: none; stroke-linecap: round; }
.price-panel dl { margin: 0; padding: 0 1.5rem 1.4rem; }
.price-panel .item {
  display: flex; align-items: baseline; gap: 0.6rem; padding: 0.5rem 0;
  border-top: 1px dashed rgba(176, 132, 71, 0.35);
}
.price-panel dt { font-size: 0.96rem; }
.price-panel .dots { flex: 1; min-width: 1rem; }
.price-panel dd { margin: 0; font-weight: 700; white-space: nowrap; }
.price-panel dd small { color: var(--muted); font-weight: 400; }
.menu-note { text-align: center; color: var(--muted); font-size: 0.85rem; max-width: 34rem; margin: 2rem auto 0; }

/* Cita / testimonio */
.quote { text-align: center; max-width: 44rem; margin-inline: auto; }
.quote .qmark { font-family: Georgia, serif; font-size: 5rem; line-height: 0.6; color: var(--gold); display: block; margin-bottom: 1.4rem; }
.quote blockquote {
  margin: 0 0 1.2rem; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.4rem, 4.5vw, 2.1rem); line-height: 1.4;
}
.quote cite { font-style: normal; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; }

/* Contacto */
.contact-card {
  background: var(--white); border-radius: calc(var(--radius) * 1.4);
  box-shadow: var(--shadow); border: 1px solid rgba(216, 195, 160, 0.55);
  overflow: hidden; display: grid;
}
.contact-info { padding: clamp(1.8rem, 5vw, 3rem); }
.contact-info h2 { font-size: clamp(1.9rem, 6vw, 2.7rem); font-weight: 500; }
.contact-info .tel {
  font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--carmine); text-decoration: none; font-weight: 500;
}
.contact-list { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 0.55rem; color: var(--muted); }
.contact-list a { text-decoration-color: var(--gold-soft); text-underline-offset: 4px; }
.hours { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1.6rem; max-width: 21rem; }
.hours td { padding: 0.5rem 0; border-bottom: 1px dashed rgba(176, 132, 71, 0.35); color: var(--muted); font-size: 0.95rem; }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.contact-photo { min-height: 15rem; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.site-footer { background: var(--ink); color: #cfc5bd; padding: 2.6rem 0 6rem; font-size: 0.88rem; }
.footer-bar { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer .brand-mark { color: #fff; font-size: 1.2rem; }
.site-footer a { color: #cfc5bd; }
.site-footer a:hover { color: #fff; }

/* WhatsApp flotante */
.wa-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: #1da851; color: #fff; display: grid; place-items: center; /* verde oscuro oficial: 3.1:1 con el icono */
  box-shadow: 0 0.9rem 1.8rem -0.6rem rgba(29, 168, 81, 0.75);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 1.8rem; height: 1.8rem; fill: currentColor; }

/* Reveal (solo oculta si el JS llegó a ejecutarse: sin JS todo es visible) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }

/* Índice del artículo */
.toc {
  background: var(--sand); border-left: 3px solid var(--carmine);
  border-radius: 0 0.5rem 0.5rem 0; padding: 1rem 1.4rem; margin: 1.75rem 0 2.25rem;
}
.toc-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin: 0 0 0.5rem; }
.toc ul { margin: 0; padding-left: 1.1rem; }
.toc li { margin: 0.35rem 0; }

/* ---------- Comparador antes / después ---------- */
.ba-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
.ba-item { max-width: 24rem; margin-inline: auto; width: 100%; }
.ba {
  --pos: 50%;
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand);
  touch-action: pan-y;
}
.ba img {
  width: 100%; aspect-ratio: 300 / 562; object-fit: cover; display: block;
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
.ba .despues { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px;
  background: #fff; transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(43, 37, 35, 0.2);
  pointer-events: none;
}
.ba-handle::after {
  content: "◂ ▸"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white); color: var(--ink);
  font-size: 0.62rem; letter-spacing: 0.08em; line-height: 1;
  padding: 0.55rem 0.5rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(43, 37, 35, 0.3);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; margin: 0; cursor: ew-resize;
}
.ba-tag {
  position: absolute; top: 0.8rem; z-index: 2;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 999px; pointer-events: none;
}
.ba-tag-a { left: 0.8rem; background: rgba(43, 37, 35, 0.7); color: var(--cream); }
.ba-tag-d { right: 0.8rem; background: var(--carmine); color: #fff; }
.ba-cap { margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted); text-align: center; }
.ba-cap b { color: var(--ink); }

/* ---------- Vídeo con carga diferida ---------- */
.video-facade {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: none; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.video-facade img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.video-facade:hover img { transform: scale(1.03); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: var(--carmine); display: grid; place-items: center;
  box-shadow: 0 0.5rem 1.5rem rgba(43, 37, 35, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-facade:hover .video-play { background: var(--carmine-dark); transform: translate(-50%, -50%) scale(1.06); }
.video-play svg { width: 1.6rem; height: 1.6rem; fill: #fff; margin-left: 3px; }
.video-iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- Subpáginas ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--sand), var(--cream));
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); font-weight: 500; max-width: 46rem; margin-inline: auto; }
.page-hero .lead { color: var(--muted); max-width: 40rem; margin: 0 auto; }
.page-hero .kicker { justify-content: center; }
.page-hero .kicker::after { content: ""; width: 2rem; height: 1px; background: var(--gold); }
.crumbs { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: inherit; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }

/* FAQ */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: 1rem; }
.faq details {
  background: var(--white); border: 1px solid rgba(216, 195, 160, 0.55);
  border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.1rem 1.4rem; font-weight: 700; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--carmine); flex: none; transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.2rem; color: var(--muted); }
.faq .faq-body p { margin: 0 0 0.6rem; }

/* Proceso (pasos numerados) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: paso; }
.steps li {
  background: var(--white); border: 1px solid rgba(216, 195, 160, 0.55); border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.3rem; counter-increment: paso; position: relative;
}
.steps li::before {
  content: counter(paso, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 600; color: var(--gold);
  font-size: 0.9rem; letter-spacing: 0.15em; display: block; margin-bottom: 0.4rem;
}
.steps h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.3rem; }
.steps p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* Tabla comparativa */
.tabla-wrap { overflow-x: auto; max-width: 100%; }
.tabla {
  width: 100%; min-width: 34rem; border-collapse: collapse; background: var(--white);
  border: 1px solid rgba(216, 195, 160, 0.55); border-radius: var(--radius); overflow: hidden;
  font-size: 0.92rem;
}
.tabla th {
  font-family: var(--font-display); font-weight: 500; text-align: left; letter-spacing: 0.04em;
  background: var(--sand); padding: 0.85rem 1rem;
}
.tabla td { padding: 0.8rem 1rem; border-top: 1px dashed rgba(176, 132, 71, 0.35); color: var(--muted); vertical-align: top; }
.tabla td:first-child { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* Artículos del blog */
.article { max-width: 44rem; margin-inline: auto; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; color: var(--muted); font-size: 0.85rem; margin-bottom: 2rem; }
.article h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); font-weight: 500; margin-top: 2.6rem; }
.article h3 { font-size: 1.2rem; font-weight: 500; margin-top: 1.8rem; }
.article p, .article li { color: #4a413c; }
.article ul { padding-left: 1.2rem; }
.article .respuesta {
  background: var(--white); border-left: 3px solid var(--carmine);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.3rem; margin: 0 0 1.4rem; color: var(--ink);
}
.article .aviso { font-size: 0.85rem; color: var(--muted); border-top: 1px dashed rgba(176,132,71,0.35); padding-top: 1rem; margin-top: 2.5rem; }
.article-cta {
  background: var(--ink); color: var(--cream); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; margin-top: 2.6rem; text-align: center;
}
.article-cta p { margin: 0 0 1rem; color: var(--cream); }

/* Tarjetas del blog (hub) */
.post-grid { display: grid; gap: 1.25rem; }
.post-card {
  position: relative;
  background: var(--white); border: 1px solid rgba(216, 195, 160, 0.55); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
/* Toda la tarjeta clicable: el enlace del título se estira sobre ella */
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .tag {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem;
}
.post-card h2, .post-card h3 { font-size: 1.2rem; font-weight: 500; margin: 0 0 0.3rem; }
.post-card a { text-decoration: none; color: inherit; }
.post-card a:hover { color: var(--carmine); }
.post-card p { color: var(--muted); font-size: 0.93rem; flex: 1; margin: 0 0 0.8rem; }
.post-card .leer { font-weight: 700; font-size: 0.9rem; color: var(--carmine); }

@media (min-width: 44rem) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stamp svg { animation: none; }
}

/* ---------- ≥ 44rem ---------- */
@media (min-width: 44rem) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-2 { grid-template-columns: repeat(2, minmax(0, 19rem)); }
  .ba-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .ba-item { max-width: none; }
  .feature { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1.15fr 1fr; }
  .contact-photo { min-height: 0; }
  .site-footer { padding-bottom: 2.6rem; }
}

/* ---------- Opiniones (reseñas reales de Google) ---------- */
.rev-star { color: var(--carmine); font-size: 0.8em; vertical-align: 0.1em; margin-left: 0.08em; }
.reviews-grid { display: grid; gap: 1.25rem; }
.review-card {
  background: var(--white); border: 1px solid rgba(216, 195, 160, 0.55);
  border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; margin: 0; }
.review-card blockquote { margin: 0; font-size: 0.97rem; line-height: 1.55; flex: 1; }
.review-card footer b { font-family: var(--font-display); font-weight: 500; display: block; }
.review-card footer span { font-size: 0.8rem; color: var(--muted); }

/* ---------- ≥ 62rem ---------- */
@media (min-width: 62rem) {
  .nav-desktop { display: flex; gap: 1.9rem; align-items: center; }
  .header-cta { display: inline-flex; padding: 0.65rem 1.3rem; font-size: 0.88rem; }
  .nav-toggle, .nav-sheet { display: none; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .hero-figure { justify-self: end; }
  .hero-badges { justify-content: flex-start; }
  .stats { text-align: left; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .svc-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .shelf { grid-auto-columns: 19rem; }
}

/* --- Aviso de cookies (lo inyecta site.js si no hay elección guardada) --- */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem auto;
  left: 1rem;
  z-index: 60;
  max-width: 26rem;
  margin-left: auto;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
}
.cookie-banner p { margin: 0 0 0.85rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner a { color: var(--carmine); }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: 0.5rem 1.2rem; font-size: 0.92rem; }
