/* Kiri Spa — paleta oficial: beige cálido, negro, blanco, gris claro y gris oscuro */

:root {
  --beige: #c2a684;
  --black: #000000;
  --white: #f3f3f1;
  --gray: #bdbdbd;
  --graphite: #5e6468;
  /* Derivados de la paleta para fondos suaves y texto legible sobre claro */
  --beige-soft: #e6dccd;
  --beige-ink: #8c7254;
  --card: #fafaf8;
  --line: rgba(94, 100, 104, 0.2);
  --serif: "Iowan Old Style", "Newsreader", Baskerville, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --shell: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 16px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--black); }
p { margin: 0; }
button { font: inherit; color: inherit; }

.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--black); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--beige-ink); outline-offset: 3px; }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--beige); }
.eyebrow.plain::before { display: none; }
.on-dark .eyebrow { color: var(--beige); }

.display {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.display em { font-style: italic; color: var(--beige-ink); }
.on-dark .display em { color: var(--beige); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: var(--graphite); }
.btn-beige { background: var(--beige); color: var(--black); }
.btn-beige:hover { background: #b39570; }
.btn-ghost { border-color: var(--gray); color: var(--black); background: transparent; }
.btn-ghost:hover { border-color: var(--black); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 243, 241, 0.9);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-color: var(--line); }

/* En la portada el encabezado va sobre la foto (claro) y se vuelve sólido al bajar */
.has-hero .site-header {
  position: absolute; left: 0; right: 0; top: 0;
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.js .has-hero .site-header { position: fixed; }
.has-hero .site-header.is-scrolled { border-color: transparent; }
.has-hero .site-header.is-solid {
  background: rgba(243, 243, 241, 0.9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-color: var(--line);
}
.has-hero:not(.menu-open) .site-header:not(.is-solid) .brand,
.has-hero:not(.menu-open) .site-header:not(.is-solid) .main-nav a { color: #fff; }
.has-hero:not(.menu-open) .site-header:not(.is-solid) .btn-black { background: var(--beige); color: var(--black); }
.has-hero:not(.menu-open) .site-header:not(.is-solid) .btn-black:hover { background: #fff; }
.has-hero:not(.menu-open) .site-header:not(.is-solid) .menu-toggle { border-color: rgba(255, 255, 255, 0.55); }
.has-hero:not(.menu-open) .site-header:not(.is-solid) .menu-toggle span,
.has-hero:not(.menu-open) .site-header:not(.is-solid) .menu-toggle span::before,
.has-hero:not(.menu-open) .site-header:not(.is-solid) .menu-toggle span::after { background: #fff; }
.brand, .main-nav a { transition: color 0.35s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }

.brand { display: inline-flex; color: var(--black); text-decoration: none; }
.brand-logo {
  display: block;
  width: 146px;
  aspect-ratio: 961 / 206;
  background: currentColor;
  -webkit-mask: url("img/logo-kiri.png") center / contain no-repeat;
  mask: url("img/logo-kiri.png") center / contain no-repeat;
}

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  position: relative;
  padding-block: 6px;
}
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--beige); transition: right 0.25s ease; }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { min-height: 42px; padding-inline: 20px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--gray);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--black); position: relative; transition: transform 0.25s ease, background-color 0.25s ease; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--white);
  padding: 130px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.menu-open .mobile-drawer { opacity: 1; visibility: visible; }
.mobile-drawer a:not(.btn) {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--black);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer .btn { margin-top: 24px; }
.menu-open { overflow: hidden; }

/* ---------- Portada a pantalla completa ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
  color: rgba(255, 255, 255, 0.86);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; animation: hero-zoom 2.8s cubic-bezier(0.22, 0.7, 0.18, 1) both; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 34%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.34) 40%, rgba(0, 0, 0, 0) 70%);
}
.hero-content { position: relative; padding-block: 140px clamp(48px, 10vh, 112px); }
.hero-content > * { animation: hero-rise 1.1s cubic-bezier(0.22, 0.7, 0.18, 1) both; }
.hero-content > :nth-child(1) { animation-delay: 0.2s; }
.hero-content > :nth-child(2) { animation-delay: 0.32s; }
.hero-content > :nth-child(3) { animation-delay: 0.5s; }
.hero-content > :nth-child(4) { animation-delay: 0.64s; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.82); }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 1rem + 5vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; margin-top: 20px; max-width: 8.4em; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--beige); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .hero-actions { align-items: center; gap: 16px 30px; margin-top: clamp(28px, 4vh, 44px); }
.hero .btn-beige:hover { background: #fff; }
.hero-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-block: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.3s ease;
}
.hero-link svg { width: 16px; height: 16px; transition: transform 0.35s ease; }
.hero-link:hover { border-bottom-color: var(--beige); }
.hero-link:hover svg { transform: translateY(3px); }
.legal-note { margin-top: 22px; font-size: 12.5px; color: var(--graphite); letter-spacing: 0.02em; }
.hero .legal-note { margin-top: 26px; color: rgba(255, 255, 255, 0.8); }

.scroll-cue {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--shell)) / 2));
  bottom: clamp(48px, 10vh, 112px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.scroll-cue-text { writing-mode: vertical-rl; font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; }
.scroll-cue-line { position: relative; width: 1px; height: 64px; overflow: hidden; background: rgba(255, 255, 255, 0.25); }
.scroll-cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: #fff; animation: cue 2.4s cubic-bezier(0.22, 0.7, 0.18, 1) infinite; }

@keyframes hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cue { from { transform: translateY(-24px); } to { transform: translateY(64px); } }

/* ---------- Cifras y pilares ---------- */
.stats { border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.04em; color: var(--black); line-height: 1.1; }
.stat span { display: block; font-size: 13px; margin-top: 4px; }

.pillars { background: var(--beige); color: var(--black); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { display: flex; align-items: baseline; gap: 14px; padding: 30px 28px; border-left: 1px solid rgba(0, 0, 0, 0.15); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .num { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; }
.pillar h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -0.025em; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .display { margin-top: 16px; }

/* ---------- Servicios ---------- */
.service-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 24px; }
.service-tabs::-webkit-scrollbar { display: none; }
.service-tab {
  flex: none;
  border: 1px solid var(--gray);
  background: transparent;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.service-tab:hover { border-color: var(--black); }
.service-tab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: #fff; }

.service-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.js .service-panel[hidden] { display: none; }
.panel-price {
  grid-column: 1 / -1;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite);
}
.panel-price strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; text-transform: none; color: var(--black); margin-inline: 4px; }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  transition: border-color 0.2s ease;
}
.service-card:hover { border-color: var(--beige); }
.service-card.featured { background: var(--beige-soft); border-color: transparent; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service-card h3 { font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.15; }
.tag {
  flex: none;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--black); background: rgba(194, 166, 132, 0.35);
  border-radius: 999px; padding: 5px 10px; white-space: nowrap;
}
.service-card .desc { font-size: 14.5px; }
.card-price { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite); }
.card-price strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; letter-spacing: -0.02em; text-transform: none; color: var(--black); margin-right: 2px; }
.more { margin-top: 6px; border-top: 1px solid var(--line); }
.more summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0 4px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--black);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--beige-ink); line-height: 1; transition: transform 0.2s ease; }
.more[open] summary::after { transform: rotate(45deg); }
.more dl { margin: 8px 0 4px; display: grid; gap: 10px; font-size: 13.5px; line-height: 1.55; }
.more dt { font-weight: 700; color: var(--black); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.more dd { margin: 2px 0 0; }
.card-cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--beige-ink); text-decoration: none;
  align-self: flex-start;
}
.card-cta svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.card-cta:hover { color: var(--black); }
.card-cta:hover svg { transform: translateX(3px); }
.panel-photo { border-radius: var(--radius); overflow: hidden; grid-column: span 2; aspect-ratio: 16 / 8; background: var(--beige-soft); }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }

.panel-link {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--black); text-decoration: none;
  border-bottom: 1px solid var(--beige); padding-bottom: 3px;
}
.panel-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.panel-link:hover svg { transform: translateX(3px); }

.notice { margin-top: 24px; font-size: 13.5px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.notice strong { color: var(--black); font-weight: 400; }
/* Leyendas sanitarias: Helvetica regular no condensada, horizontal y con contraste */
.legal-note, .notice, .footer-legal, .visit-col .fine { font-family: Helvetica, Arial, sans-serif; font-weight: 400; }
.notice a { color: var(--black); font-weight: 600; text-decoration-color: var(--beige); text-underline-offset: 3px; }

/* ---------- Cómo funciona ---------- */
.process { background: var(--beige-soft); }
.process-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.process-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--beige); }
.process-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.steps { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.step { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.step .num { font-family: var(--serif); font-size: 1.6rem; color: var(--beige-ink); letter-spacing: -0.03em; }
.step h3 { font-size: 1.45rem; letter-spacing: -0.025em; }
.step p { font-size: 14.5px; margin-top: 2px; }

/* ---------- Opiniones ---------- */
.reviews-marquee {
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reviews-track { display: flex; gap: 16px; width: max-content; padding-block: 4px; animation: kiri-marquee 95s linear infinite; }
.reviews-marquee:hover .reviews-track, .reviews-marquee:focus-within .reviews-track { animation-play-state: paused; }
@keyframes kiri-marquee { to { transform: translateX(calc(-50% - 8px)); } }
.review { flex: none; width: 330px; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--beige); font-size: 14px; letter-spacing: 3px; line-height: 1; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--black); }
.review figcaption { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--black); }
.reviews-foot { margin-top: 22px; font-size: 12px; color: var(--graphite); }
.reviews-foot a { color: var(--black); text-decoration-color: var(--beige); text-underline-offset: 3px; }

/* ---------- Sitios del Dr. Salas ---------- */
.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.family-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.family-card h3 { font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.15; }
.family-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Visítanos ---------- */
.visit { background: var(--black); color: rgba(255, 255, 255, 0.82); }
.visit h2 { color: #fff; }
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr) 200px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.visit-col { padding: 30px 28px 6px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.visit-col:first-child { border-left: 0; padding-left: 0; }
.visit-label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--beige); }
.visit-col p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; }
.visit-col p a { color: #fff; text-decoration-color: var(--beige); text-underline-offset: 3px; }
.visit-col .inline-link { display: inline-flex; margin-top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid var(--beige); padding-bottom: 3px; }
.visit-col .btn { margin-top: 16px; }
.visit-col .fine { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 12px; line-height: 1.5; }
.hours { margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 15.5px; }
.hours dt { color: rgba(255, 255, 255, 0.55); }
.hours dd { margin: 0; }
.visit-mark { padding: 30px 0 6px 28px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.visit-mark img { width: 100%; max-width: 172px; border-radius: 14px; }

/* ---------- Pie ---------- */
.site-footer { background: var(--graphite); color: rgba(255, 255, 255, 0.72); font-size: 12.5px; padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-logo { width: 128px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-nav a { color: #fff; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--beige); }
.footer-legal { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Páginas de tratamiento ---------- */
.page-hero { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; margin-bottom: clamp(28px, 5vw, 56px); }
.breadcrumb a { color: var(--graphite); text-decoration-color: var(--beige); text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--black); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; margin-top: 18px; max-width: 15ch; }
.page-hero h1 em { font-style: italic; color: var(--beige-ink); }
.page-hero .lead { margin-top: 20px; font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 50ch; }
.rating-line { margin-top: 10px; font-size: 12.5px; }
.rating-line a { color: var(--black); text-decoration-color: var(--beige); text-underline-offset: 3px; }

.faq { border-top: 1px solid rgba(0, 0, 0, 0.12); max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0;
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.25; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 22px; line-height: 1; color: var(--beige-ink); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; max-width: 68ch; font-size: 15px; }
.faq p a { color: var(--black); font-weight: 600; text-decoration-color: var(--beige); text-underline-offset: 3px; }

.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.related-card:hover { border-color: var(--beige); }
.related-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.025em; line-height: 1.15; color: var(--black); }
.related-card span { font-size: 14px; }
.related-card .card-cta { margin-top: auto; padding-top: 10px; }

.price-zones { margin-top: clamp(40px, 6vw, 72px); }
.price-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.1; }
.price-title span { display: block; margin-top: 10px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: start; }
.price-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 12px; }
.price-group h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.price-group dl { margin: 0; }
.price-group dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.price-group dd { margin: 0; color: var(--black); font-weight: 600; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 14px; font-size: 13px; }

.not-found { padding-block: clamp(64px, 10vw, 140px); }
.not-found .hero-actions { margin-top: 28px; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--beige); color: var(--black);
  display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
  .reviews-track { animation: none; }
  .hero-media img, .hero-content > *, .scroll-cue-line::after { animation: none; }
  .reviews-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .reviews-track [aria-hidden="true"] { display: none; }
}

/* ---------- Responsivo ---------- */
/* Celulares de pantalla baja: el texto de la portada no tapa el rostro */
@media (max-width: 860px) and (max-height: 700px) {
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: 2.3rem; margin-top: 0; }
  .hero .hero-actions { margin-top: 22px; }
  .hero .legal-note { margin-top: 18px; }
}
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .service-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-photo { grid-column: span 1; aspect-ratio: auto; min-height: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .visit-grid { grid-template-columns: repeat(3, 1fr); }
  .visit-mark { display: none; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
  /* La foto ocupa la parte alta y se funde con el negro donde va el texto */
  .hero-media { bottom: auto; height: 74%; }
  .hero-media img { object-position: 70% 50%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 26%),
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.6) 28%, rgba(0, 0, 0, 0) 58%);
  }
  .hero-content { padding-bottom: 40px; }
  .scroll-cue { display: none; }
  .pillars-grid, .visit-grid, .family-grid, .price-grid { grid-template-columns: 1fr; }
  .review { width: 280px; padding: 22px; }
  .pillar, .visit-col { border-left: 0; padding-left: 0; padding-right: 0; }
  .pillar { padding-block: 16px; border-top: 1px solid rgba(0, 0, 0, 0.15); }
  .pillar:first-child { border-top: 0; }
  .visit-col { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-bottom: 26px; }
  .visit-col:first-child { border-top: 0; }
  .process-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .header-actions .btn { display: none; }
  .header-inner { min-height: 64px; }
  .brand-logo { width: 122px; }
  .service-panel { grid-template-columns: 1fr; }
  .panel-photo { display: none; }
  .stat { padding: 20px 14px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .service-card { padding: 22px 20px 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .hero-link { margin-inline: auto; }
  .related-grid { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
