/* =========================================================
   La Perruquería — Peluquería canina en Villa de Vallecas
   ========================================================= */

/* ---------- Fuentes (alojadas en local, OFL) ---------- */
@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../assets/fonts/young-serif-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url('../assets/fonts/figtree-latin-wght-normal.woff2') format('woff2-variations');
}

/* ---------- Tokens (paleta tomada del sello: caqui, oliva y verde salvia) ---------- */
:root {
  --paper: #F5F2EA;
  --paper-2: #FBFAF6;
  --sand: #ECE7DA;
  --sand-2: #E2DCCB;
  --khaki: #B9B49C;
  --olive: #615E47;
  --ink: #22241D;
  --ink-2: #4E5043;
  --bone: #262920;
  --bone-2: #33362B;
  --sage: #C9D8A8;
  --line: rgba(34, 36, 29, .14);

  --serif: 'Young Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --pad-x: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --header-h: 76px;
  --banner-h: 34px;
  --header-total: calc(var(--header-h) + var(--banner-h));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-total) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--olive); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
address { font-style: normal; }
table { border-collapse: collapse; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; text-decoration: none;
  transition: top .3s;
}
.skip:focus { top: 12px; color: var(--paper); }

.container { max-width: 1240px; margin-inline: auto; padding-inline: var(--pad-x); }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--ink-2); }
.note { font-size: 14px; color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--sage); }

.h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; max-width: 18ch; text-wrap: balance; }
.h2--sm { font-size: clamp(28px, 3.2vw, 40px); }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 46px; padding: 10px 20px; font-size: 15px; }
.btn--primary { background: var(--bone); color: var(--paper); }
.btn--primary:hover { background: var(--olive); color: var(--paper); }
.btn--line { border-color: rgba(34, 36, 29, .4); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--paper-2); color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--sage); color: var(--ink); }
.btn--line-light { border-color: rgba(245, 242, 234, .5); color: var(--paper); }
.btn--line-light:hover { border-color: var(--paper); color: var(--paper); background: rgba(245, 242, 234, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 234, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34, 36, 29, .08);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(34, 36, 29, .5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: 52px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: 21px; white-space: nowrap; }
.brand__sub { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); white-space: nowrap; }
.brand:hover { color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.nav__links a:hover { color: var(--ink); background-size: 100% 1.5px; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(34, 36, 29, .25); background: transparent; cursor: pointer;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.demo-banner {
  display: flex; align-items: center; justify-content: center; min-height: var(--banner-h); padding: 6px var(--pad-x);
  background: var(--bone); color: var(--paper); font-size: 13px; font-weight: 500; line-height: 1.35; text-align: center;
}

.mobile-menu {
  display: flex; flex-direction: column; padding: 8px var(--pad-x) 28px;
  border-top: 1px solid rgba(34, 36, 29, .08);
  max-height: calc(100vh - var(--header-total)); max-height: calc(100dvh - var(--header-total));
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  font-family: var(--serif); font-size: 26px; line-height: 1.25; padding: 12px 0; text-decoration: none;
  border-bottom: 1px solid var(--line);
  animation: fadeUp .45s var(--ease) both;
}
.mobile-menu a:nth-child(2) { animation-delay: .03s; }
.mobile-menu a:nth-child(3) { animation-delay: .06s; }
.mobile-menu a:nth-child(4) { animation-delay: .09s; }
.mobile-menu a:nth-child(5) { animation-delay: .12s; }
.mobile-menu a:nth-child(6) { animation-delay: .15s; }
.mobile-menu a:nth-child(7) { animation-delay: .18s; }
.mobile-menu__cta { border-bottom: 0 !important; color: var(--olive); }

/* ---------- Portada ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: var(--sand); border-bottom-left-radius: 48px; z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.hero__title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; max-width: 14ch; }
.hero__lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero .btn-row { margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .i { color: var(--olive); }
.hero__facts strong { color: var(--ink); font-weight: 700; }

.hero__visual { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.hero__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-2); box-shadow: 0 40px 70px -40px rgba(34, 36, 29, .45); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag {
  position: absolute; left: -28px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--paper-2);
  box-shadow: 0 18px 40px -22px rgba(34, 36, 29, .5); font-weight: 600; font-size: 15px; line-height: 1.25;
}
.hero__tag img { width: 40px; height: 40px; }
.hero__tag small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* ---------- Lo esencial ---------- */
.basics { background: var(--bone); color: var(--paper); }
ul.basics__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-inline: var(--pad-x); }
.basics__list li { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; border-left: 1px solid rgba(245, 242, 234, .12); }
.basics__list li:first-child { border-left: 0; padding-left: 0; }
.basics__list .i { width: 26px; height: 26px; color: var(--sage); margin-top: 2px; }
.basics__list span { font-size: 15px; color: #D6D3C6; line-height: 1.45; }
.basics__list strong { display: block; color: var(--paper); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--flush-top { padding-top: 0; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 48px; margin-bottom: clamp(36px, 4.5vw, 60px);
}
.section-head__aside { max-width: 400px; }

/* ---------- Servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid rgba(34, 36, 29, .08); border-radius: var(--radius); overflow: hidden; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 30px; flex: 1; }
.card h3 { font-size: 26px; line-height: 1.15; }
.card p { color: var(--ink-2); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.checks li { padding: 5px 12px; border-radius: 999px; background: var(--sand); font-size: 14px; font-weight: 500; color: var(--ink); }

.extras { margin-top: 48px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.extras__title { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.extras__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.extras__list li { padding-left: 18px; border-left: 2px solid var(--khaki); }
.extras__list strong { display: block; font-weight: 600; }
.extras__list span { color: var(--ink-2); font-size: 15px; }

/* ---------- Precios ---------- */
.prices { background: var(--paper-2); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 44px); border: 1px solid rgba(34, 36, 29, .08); }
.prices__table { width: 100%; font-size: 16px; }
.prices__table th, .prices__table td { padding: 18px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.prices__table thead th { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding-top: 4px; }
.prices__table thead th:first-child, .prices__table tbody th { padding-left: 0; }
.prices__table small { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-top: 2px; }
.prices__table tbody th { font-weight: 600; font-size: 17px; }
.prices__table td { color: var(--ink-2); white-space: nowrap; }
.prices__table td b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); margin-left: 4px; }
.prices__table tbody tr:last-child th, .prices__table tbody tr:last-child td { border-bottom: 0; }
.prices__extras { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.prices__extras li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: var(--sand); font-size: 15px; }
.prices__extras b { font-weight: 700; }

/* ---------- Cómo trabajamos ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--sand-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.steps { margin-top: 32px; }
.steps li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--ink);
  font-family: var(--serif); font-size: 18px;
}
.steps h3 { font-size: 18px; font-weight: 700; }
.steps p { margin-top: 4px; color: var(--ink-2); }

/* ---------- Reseñas ---------- */
.rating-band {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px clamp(40px, 6vw, 96px);
  background: var(--bone); color: var(--paper); border-radius: var(--radius); padding: clamp(32px, 5vw, 64px);
}
.rating-band__score { display: flex; align-items: center; gap: 20px; padding-right: clamp(0px, 4vw, 64px); border-right: 1px solid rgba(245, 242, 234, .15); }
.rating-band__num { font-size: clamp(64px, 8vw, 104px); line-height: 1; }
.stars { display: flex; gap: 4px; }
.stars svg { width: 22px; height: 22px; fill: var(--sage); }
.rating-band__meta { margin-top: 8px; max-width: 16em; font-size: 15px; color: #D6D3C6; }
.rating-band__copy .h2 { max-width: 22ch; color: var(--paper); }
.rating-band__copy .btn-row { margin-top: 28px; }

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-total) + 32px); }
.faq-wrap__head .muted { margin: 20px 0 28px; max-width: 26em; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font: inherit; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%;
  padding: 22px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink);
}
.faq__q:hover { color: var(--olive); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(34, 36, 29, .25); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq__a[hidden] { display: none; }
.faq__a:not([hidden]) { animation: fadeUp .4s var(--ease) both; }

/* ---------- Dónde estamos ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px); align-items: start; }
.visit__info { padding: 4px 0; }
.visit__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-top: 20px; }
.visit__label:first-child { margin-top: 0; }
.visit__addr { margin-top: 6px; font-size: 18px; line-height: 1.45; }
.visit__tel { margin-top: 4px; }
.visit__tel a { font-family: var(--serif); font-size: 28px; text-decoration: none; }
.visit__small { margin-top: 14px; font-size: 15px; }
.visit__info .btn-row { margin-top: 24px; }
.open-now { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--sand); font-size: 14px; font-weight: 600; }
.open-now:empty { display: none; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8B8775; }
.open-now.is-open::before { background: #3F7A46; box-shadow: 0 0 0 0 rgba(63, 122, 70, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 122, 70, .5); } 100% { box-shadow: 0 0 0 9px rgba(63, 122, 70, 0); } }
.hours { margin-top: 18px; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 24px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours dt { font-weight: 500; }
.hours dd { color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.hours div.is-today dt, .hours div.is-today dd { color: var(--ink); font-weight: 700; }
.hours div.is-today dt::after { content: " · hoy"; font-weight: 400; color: var(--ink-2); }

.visit__photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); max-width: 520px; width: 100%; justify-self: end; }
.visit__photo img { width: 100%; height: auto; }
.visit__photo figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(251, 250, 246, .94); font-size: 14px; font-weight: 500; line-height: 1.35;
}
.map { position: relative; grid-column: 1 / -1; min-height: 400px; margin-top: 24px; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px clamp(36px, 6vw, 88px); margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--line); }
.areas__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(34, 36, 29, .2); font-size: 15px; }

/* ---------- Pie ---------- */
.footer { background: var(--bone); color: var(--paper); padding: var(--section-y) 0 40px; }
.footer__links a, .footer__credits a { color: var(--paper); }
.footer__links a:hover, .footer__credits a:hover { color: var(--sage); }
.footer__cta { text-align: center; }
.footer__seal { width: 112px; height: 112px; margin: 0 auto 28px; }
.footer__title { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.08; text-wrap: balance; }
.footer__lead { margin: 18px auto 0; max-width: 30em; color: #D6D3C6; font-size: 18px; }
.footer__cta .btn-row { margin-top: 36px; }
.footer__bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center;
  margin-top: clamp(64px, 8vw, 104px); padding-top: 28px; border-top: 1px solid rgba(245, 242, 234, .16);
  font-size: 15px; color: #D6D3C6;
}
.footer__name strong { color: var(--paper); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__links a { padding: 8px 0; text-decoration: none; }
.footer__credits, .footer__copy { font-size: 13px; color: #B9B6A8; }
.footer__copy { text-align: right; }

/* ---------- Barra fija móvil ---------- */
.quickbar { display: none; }

/* ---------- Animaciones ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim-fade { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }

/* Aparición al hacer scroll (solo con JS activo) */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
  .map { min-height: 340px; }
}
@media (max-width: 960px) {
  .hero::before { width: 100%; top: auto; height: 46%; border-radius: 48px 48px 0 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 440px; }
  .hero__tag { left: 12px; }
  ul.basics__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basics__list li { padding: 22px 20px 22px 0; border-left: 0; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .card { flex-direction: row; }
  .card__media { aspect-ratio: auto; width: 40%; flex: none; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .extras__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__media { aspect-ratio: 16 / 10; }
  .rating-band { grid-template-columns: minmax(0, 1fr); }
  .rating-band__score { border-right: 0; padding-right: 0; padding-bottom: 28px; border-bottom: 1px solid rgba(245, 242, 234, .15); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap__head { position: static; }
  .areas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  /* Tabla de precios: cada servicio pasa a ser una tarjeta */
  .prices { padding: 8px 20px; }
  .prices__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prices__table, .prices__table tbody, .prices__table tr, .prices__table th, .prices__table td { display: block; }
  .prices__table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .prices__table tbody tr:last-child { border-bottom: 0; }
  .prices__table tbody th { padding: 0 0 8px; border: 0; }
  .prices__table td { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border: 0; }
  .prices__table td::before { content: attr(data-label); font-weight: 500; color: var(--ink); }
  .prices__extras { margin-top: 0; padding-bottom: 20px; }
  .card { flex-direction: column; }
  .card__media { width: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  :root { --banner-h: 48px; --header-h: 68px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .nav__cta { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 19px; }
  .brand__sub { font-size: 11px; letter-spacing: .06em; }
  .btn-row .btn { width: 100%; }
  .hero__facts { gap: 10px 18px; font-size: 14px; }
  .hero__tag { left: 10px; right: 10px; bottom: 10px; border-radius: var(--radius-sm); }
  ul.basics__list { grid-template-columns: minmax(0, 1fr); }
  .basics__list li { padding: 18px 0; border-top: 1px solid rgba(245, 242, 234, .12); }
  .basics__list li:first-child { border-top: 0; }
  .extras__list { grid-template-columns: minmax(0, 1fr); }
  .card__body { padding: 22px 20px 24px; }
  .rating-band__score { flex-direction: column; align-items: flex-start; gap: 12px; }
  .faq__q { font-size: 17px; }
  .faq__a { padding-right: 0; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit__photo { justify-self: stretch; max-width: none; }
  .map { margin-top: 8px; }
  .footer__bottom { grid-template-columns: minmax(0, 1fr); }
  .footer__copy { text-align: left; }

  .quickbar {
    display: grid; grid-template-columns: auto 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 242, 234, .96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .quickbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 18px;
    border-radius: 999px; border: 1.5px solid rgba(34, 36, 29, .3); font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap;
  }
  .quickbar .quickbar__wa { background: var(--bone); border-color: var(--bone); color: var(--paper); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Ajuste tipográfico: evita palabras sueltas en la última línea */
p, li, dd, blockquote { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
