/* Melisa Hair Studio · estilos */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colores: el papel del estudio y los tonos de un balayage (raíz tabaco, puntas miel) */
  --bg: #eeeae4;
  --surface: #e4dacb;
  --ink: #241a15;
  --muted: #5e4c40;
  --action: #472913;
  --action-ink: #f6f1e8;
  --honey: #c79a3e;

  --serif: "Gloock", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-head: clamp(2rem, 1.2rem + 2.2vw, 2.875rem);
  --step-word: clamp(6.5rem, 13vw, 14rem);

  --gutter: clamp(20px, 2.4vw, 32px);
  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
::selection { background: var(--honey); color: var(--ink); }

/* Navegación */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gutter);
  pointer-events: none;
}
.nav a { pointer-events: auto; }
.nav-brand {
  font: 500 var(--step-small)/1 var(--sans);
  text-decoration: none;
  color: var(--action-ink);
  padding: 10px 14px;
  background: var(--action);
  border-radius: var(--radius);
}
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a {
  font-size: var(--step-small);
  text-decoration: none;
  padding: 12px 0;
  transition: color 160ms var(--ease-out);
}
.nav nav a:hover { color: var(--muted); }
.nav nav .nav-action {
  padding: 12px 18px;
  background: var(--action);
  color: var(--action-ink);
  border-radius: var(--radius);
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.nav nav .nav-action:hover { background: var(--ink); color: var(--action-ink); }

/* Portada */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 47fr 53fr;
  overflow: hidden;
}

.hero-photo {
  position: relative;
  margin: var(--gutter) 0 var(--gutter) var(--gutter);
  border-radius: var(--radius);
  overflow: hidden;
  background: #3a2414;
  min-height: 0;
}
.hp-slide { position: absolute; inset: 0; margin: 0; }
.hp-slide + .hp-slide { opacity: 0; }
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--step-small);
  line-height: 1.3;
  border-radius: var(--radius);
}

.hero-text {
  align-self: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 120px var(--gutter) 22vh;
}
.hero-text h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--step-head);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lead {
  margin: 20px 0 0;
  max-width: 36ch;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.4;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-main { background: var(--action); color: var(--action-ink); }
.btn-main:hover { background: var(--ink); }
.btn-alt { background: var(--surface); color: var(--ink); }
.btn-alt:hover { background: #d9cbb7; }

.proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: var(--step-small);
  text-decoration: none;
}
.proof:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.stars { fill: #8a5a17; flex: none; }
.quote { margin: 12px 0 0; max-width: 34ch; }
.quote p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.45;
}
.quote footer { margin-top: 6px; font-size: var(--step-small); color: var(--muted); }

.where { margin: 28px 0 0; font-size: var(--step-small); color: var(--muted); }

/* El nombre, grande, cruzando el borde de la foto */
.wordmark {
  position: absolute;
  z-index: 2;
  left: 36vw;
  bottom: 18px;
  margin: 0;
  font-family: var(--serif);
  font-size: var(--step-word);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.035em;
  color: var(--ink);
  pointer-events: none;
  user-select: none;
}

/* Entrada suave al cargar */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .wordmark {
    animation: rise 900ms var(--ease-out) both;
  }
  .hero-text > :nth-child(2) { animation-delay: 80ms; }
  .hero-text > :nth-child(3) { animation-delay: 160ms; }
  .hero-text > :nth-child(4) { animation-delay: 240ms; }
  .hero-text > :nth-child(5) { animation-delay: 300ms; }
  .hero-text > :nth-child(6) { animation-delay: 360ms; }
  .wordmark { animation-duration: 1400ms; animation-delay: 200ms; }
  /* tres trabajos que se funden cada 6 s, con un acercamiento muy lento */
  .hp-slide:nth-child(2) { animation: hp2 18s linear infinite; }
  .hp-slide:nth-child(3) { animation: hp3 18s linear infinite; }
  .hero-photo img { animation: hpzoom 18s ease-in-out infinite alternate; }
}
@keyframes hp2 { 0%, 30% { opacity: 0; } 36%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hp3 { 0%, 63% { opacity: 0; } 69%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hpzoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Teléfono */
@media (max-width: 820px) {
  .nav { padding: 20px; }
  .nav nav a:not(.nav-action) { display: none; }
  .nav nav .nav-action { padding: 12px 16px; }

  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-photo { order: 0; }
  .wordmark { order: 1; }
  .hero-text { order: 2; }
  .hero-photo { margin: 12px 12px 0; height: 40svh; min-height: 260px; }
  .hero-photo figcaption { bottom: auto; top: 76px; }
  .hero-text { align-self: stretch; padding: 20px 20px 48px; margin: 0; max-width: 40rem; }
  .hero-text h1 { font-size: clamp(1.5rem, 7vw, 2.5rem); }
  .wordmark {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -0.36em 0 0 12px;
    font-size: 26vw;
  }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* ——— Reservar (sección #reservar y página de la cita) ——— */
.booking {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(96px, 12vw, 180px) var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
}
.booking-intro { align-self: start; position: sticky; top: 32px; }
.sub-main h1, .cita-change h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-head);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.booking-intro p { max-width: 34ch; margin: 20px 0 0; }
.booking-intro .booking-alt { color: var(--muted); }
.booking-intro .booking-alt a { color: var(--ink); font-weight: 600; }

.bk { min-height: 320px; }
.bk.is-busy { cursor: progress; }
.bk.is-busy .bk-step.is-open { opacity: 0.6; transition: opacity 200ms; }
.bk-loading, .bk-empty { color: var(--muted); }
.bk-step { background: #f6f3ee; border-radius: var(--radius); padding: 20px clamp(16px, 2.4vw, 28px); margin-bottom: 8px; }
.bk-step.is-todo { background: transparent; padding-top: 12px; padding-bottom: 12px; }
.bk-step.is-todo h3 { color: var(--muted); }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-head h3 { margin: 0; font-size: 1.125rem; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.bk-n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface); font-size: 0.9375rem; font-weight: 600;
}
.bk-step.is-open .bk-n { background: var(--action); color: var(--action-ink); }
.bk-step.is-done .bk-n { background: var(--honey); color: var(--ink); }
.bk-edit {
  font: inherit; font-size: var(--step-small); background: none; border: 0; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 4px; min-height: 44px;
}
.bk-sum { margin: 6px 0 0 42px; color: var(--muted); }
.bk-sum:empty, .bk-step.is-open .bk-sum, .bk-step.is-todo .bk-sum { display: none; }
.bk-body { display: none; margin-top: 16px; }
.bk-step.is-open .bk-body { display: block; }

.bk-group { margin: 0 0 12px; }
.bk-group > summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-family: var(--serif); font-size: 1.375rem; padding: 8px 0; min-height: 48px;
}
.bk-group > summary::-webkit-details-marker { display: none; }
.bk-group > summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--action); }
.bk-group[open] > summary::after { content: "–"; }
.bk-group-count { margin-left: auto; font: 600 var(--step-small) var(--sans); color: var(--action); }
.bk-svc {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
  padding: 12px 10px; margin: 0 -10px; border-radius: var(--radius); cursor: pointer; min-height: 52px;
  transition: background-color 160ms var(--ease-out);
}
.bk-svc:hover { background: var(--bg); }
.bk-svc input { width: 22px; height: 22px; accent-color: var(--action); margin: 0; }
.bk-svc:has(input:checked) { background: var(--surface); }
.bk-name { font-weight: 500; }
.bk-meta { color: var(--muted); font-size: var(--step-small); text-align: right; white-space: nowrap; }
.bk-meta b { color: var(--ink); font-weight: 600; }
.bk-svc.is-ask { cursor: default; grid-template-columns: 1fr auto; }
.bk-svc.is-ask:hover { background: none; }
.bk-ask { grid-column: 1 / -1; font-size: var(--step-small); font-weight: 600; color: var(--action); }

.bk-bar {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 8px -4px 0; padding: 12px 4px; background: #f6f3ee;
}
.bk-total { margin: 0; font-weight: 500; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
button.btn { font-family: inherit; border: 0; cursor: pointer; }

.bk-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk-month-name { margin: 0; font-family: var(--serif); font-size: 1.375rem; }
.bk-arrow {
  width: 48px; height: 48px; border: 0; border-radius: var(--radius); background: var(--surface); font-size: 1.5rem; cursor: pointer; color: var(--ink);
}
.bk-arrow:disabled { opacity: 0.3; cursor: default; }
.bk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.bk-dow { text-align: center; font-size: 0.8125rem; color: var(--muted); padding: 4px 0; }
.bk-day {
  aspect-ratio: 1; min-height: 44px; border: 0; border-radius: var(--radius); background: var(--surface);
  font: 600 1rem var(--sans); color: var(--ink); cursor: pointer; transition: background-color 120ms;
}
.bk-day:hover:not(:disabled) { background: #d9cbb7; }
.bk-day:disabled { background: transparent; color: #8f8176; font-weight: 400; cursor: default; }
.bk-day.is-on, .bk-time.is-on { background: var(--action); color: var(--action-ink); }

.bk-part + .bk-part { margin-top: 16px; }
.bk-part-name { margin: 0 0 8px; font-size: var(--step-small); color: var(--muted); }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bk-time {
  min-height: 48px; border: 0; border-radius: var(--radius); background: var(--surface);
  font: 600 1rem var(--sans); color: var(--ink); cursor: pointer;
}
.bk-time:hover { background: #d9cbb7; }

.bk-form { display: grid; gap: 16px; max-width: 34rem; }
.bk-field { display: grid; gap: 6px; }
.bk-field label { font-weight: 600; }
.bk-field input, .bk-field textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1px solid #cdbfae; border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.bk-field input:focus, .bk-field textarea:focus { outline: 3px solid var(--honey); outline-offset: 0; border-color: var(--action); }
.bk-field [aria-invalid] { border-color: #a3261b; }
.bk-hint { margin: 0; font-size: var(--step-small); color: var(--muted); }
.bk-err { margin: 0; font-size: var(--step-small); color: #a3261b; font-weight: 600; }
.bk-err:empty { display: none; }
.bk-check { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; }
.bk-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--action); }
.bk-check .bk-err { grid-column: 2; }
.bk-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: campo trampa invisible, no es una línea */
.bk-submit { justify-self: start; min-width: 200px; }
.bk-flash { margin: 8px 0 0; color: #a3261b; font-weight: 600; }
.bk-flash:empty { display: none; }

.bk-done { background: #f6f3ee; border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); outline: none; }
.bk-done h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.05; }
.bk-done-when { font-size: 1.25rem; font-weight: 600; margin: 16px 0 4px; }
.bk-done .actions { margin-top: 24px; }

/* Páginas del Worker: la cita y los mensajes */
.sub-nav { padding: var(--gutter); }
.sub-nav .nav-brand { display: inline-block; }
.sub-main { max-width: 44rem; margin: 0 auto; padding: 24px var(--gutter) 96px; }
.cita-card { background: #f6f3ee; border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.cita-card p { margin: 0 0 4px; }
.cita-card.is-cancelled { opacity: 0.6; }
.cita-when { font-family: var(--serif); font-size: 1.75rem; line-height: 1.15; margin-bottom: 8px !important; }
.cita-meta { color: var(--muted); font-size: var(--step-small); }
.cita-change { margin-top: 64px; }
.cita-change h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 48px 0 16px; }
.cita-change h2:first-child { margin-top: 0; }
.cita-help { margin-top: 48px; color: var(--muted); }

@media (max-width: 820px) {
  .booking { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; gap: 24px; }
  .booking-intro { position: static; }
  .bk-step { margin-left: -8px; margin-right: -8px; }
  .bk-svc { grid-template-columns: auto 1fr; }
  .bk-svc .bk-meta { grid-column: 2; text-align: left; }
  .bk-svc.is-ask { grid-template-columns: 1fr; }
  .bk-svc.is-ask .bk-meta { grid-column: 1; }
  .bk-submit { justify-self: stretch; }
}

/* ——— Secciones de la web completa ——— */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main > section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-head);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.link { font-weight: 600; text-underline-offset: 3px; }
mark.pending, .pending {
  background: #f1dfae;
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section-pad { padding: clamp(96px, 12vw, 180px) var(--gutter); }

/* Servicios: lista de precios impresa sobre fondo tabaco */
.services {
  background: var(--action);
  color: var(--action-ink);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(96px, 12vw, 180px) var(--gutter);
}
.services-intro { align-self: start; position: sticky; top: 32px; }
.services-intro > p { max-width: 34ch; margin: 20px 0 0; color: #e4d6c3; }
.sp-title { margin: 48px 0 12px; font: 600 var(--step-small) var(--sans); color: var(--honey); }
.specialties { list-style: none; margin: 0; padding: 0; }
.specialties li {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "meta book"; column-gap: 16px; row-gap: 2px; align-items: baseline;
  padding: 16px 0;
}
.specialties .sp-name { grid-area: name; }
.specialties .sp-price { grid-area: price; justify-self: end; }
.specialties .sp-meta { grid-area: meta; }
.specialties .mi-book { grid-area: book; }
.sp-name { font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; }
.sp-price { font-size: 1.125rem; font-weight: 600; white-space: nowrap; }
.sp-meta { color: #cdbba3; font-size: var(--step-small); }
.specialties .mi-book { color: var(--honey); justify-self: end; }
.menu {
  background: #f6f1e8;
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 56px);
  columns: 2 300px;
  column-gap: clamp(32px, 4vw, 64px);
}
.menu-group { break-inside: avoid; margin-bottom: 32px; }
.menu-group summary { list-style: none; cursor: default; pointer-events: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.menu-group summary::-webkit-details-marker { display: none; }
.menu-group h3 { margin: 0; font: 400 1.5rem/1.1 var(--serif); }
.mg-sum { display: none; color: var(--muted); font-size: var(--step-small); white-space: nowrap; }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.mi {
  display: grid; grid-template-columns: auto 1fr auto; column-gap: 8px; align-items: baseline;
  padding: 10px 0;
}
.mi-name { font-weight: 500; }
.mi-dots { border-bottom: 2px dotted #bba78e; transform: translateY(-5px); min-width: 12px; }
.mi-price { font-weight: 600; white-space: nowrap; }
.mi-meta { grid-column: 1 / 3; color: var(--muted); font-size: var(--step-small); }
.mi-book {
  grid-column: 3; justify-self: end; font-size: var(--step-small); font-weight: 600; color: var(--action);
  text-underline-offset: 3px; padding: 6px 0; min-height: 32px;
}
.mi-book:hover { text-decoration-thickness: 2px; }

/* Resultados: grilla simple, sin carruseles */
.results { padding: clamp(96px, 12vw, 180px) var(--gutter); }
.results-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: end; margin-bottom: 40px; }
.results-head p { margin: 0; max-width: 40ch; }
.results-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.results-ba { grid-column: span 2; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); } /* mismo hueco que la grilla: las dos fotos miden como las demás */
.ba-side { position: relative; }
.ba-tag { position: absolute; left: 12px; top: 12px; padding: 6px 10px; background: var(--bg); border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; }
.results-grid figcaption span { color: var(--muted); font-size: var(--step-small); }
.results-more { margin: 32px 0 0; }
.results-grid figure { margin: 0; }
.results-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.results-grid figcaption { display: grid; gap: 6px; justify-items: start; margin-top: 12px; }
.results-grid figcaption b { font: 400 1.375rem/1.1 var(--serif); }

/* Reseñas: la nota grande y una cita */
.reviews {
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 5vw, 96px);
  padding: clamp(96px, 12vw, 180px) var(--gutter);
}
.reviews-title { grid-column: 1 / -1; margin-bottom: 24px !important; }
.reviews-score .score { margin: 0; font: 400 clamp(7rem, 4rem + 12vw, 15rem)/0.85 var(--serif); letter-spacing: -0.03em; }
.reviews-score p:last-child { margin: 40px 0 0; font-weight: 500; }
.big-quote { margin: 0; }
.big-quote p { margin: 0; font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1.2 var(--serif); max-width: 30ch; }
.big-quote footer { margin-top: 16px; color: var(--muted); }
.quotes { list-style: none; margin: 48px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quotes blockquote { margin: 0; }
.quotes p { margin: 0; font: 400 1.1875rem/1.3 var(--serif); }
.quotes footer { margin-top: 8px; color: var(--muted); font-size: var(--step-small); }

/* Sobre Melisa: foto y carta */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: clamp(96px, 12vw, 180px) var(--gutter);
}
.about-photo {
  aspect-ratio: 3 / 4; border-radius: var(--radius); background: #5a3519;
  display: flex; align-items: flex-end; padding: 16px;
}
.about-photo span { background: var(--bg); padding: 8px 12px; border-radius: var(--radius); font-size: var(--step-small); }
.letter { max-width: 36rem; }
.letter h2 { margin-bottom: 24px !important; }
.letter p { margin: 0 0 16px; }
.signature { font: 400 1.75rem var(--serif); margin-top: 24px !important; }

/* Preguntas: texto corrido en dos columnas */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(96px, 12vw, 180px) var(--gutter);
  background: #f6f3ee;
}
.faq-text { columns: 2 280px; column-gap: 48px; }
.faq-text p { break-inside: avoid; margin: 0 0 20px; }
.faq-text b { font-weight: 700; }

/* Dónde estoy: el 26 de su puerta y la tarjeta */
.visit {
  position: relative;
  overflow: hidden;
  background: var(--action);
  min-height: 620px;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
}
.visit-number {
  position: absolute; left: var(--gutter); bottom: -0.18em; margin: 0;
  font: 400 clamp(16rem, 10rem + 30vw, 46rem)/0.8 var(--serif); letter-spacing: -0.05em;
  color: #6a4224; user-select: none; pointer-events: none;
}
.visit-card {
  position: relative;
  width: min(100%, 440px);
  background: #f6f1e8;
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
}
main > section .visit-card h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.visit-address { margin: 16px 0 4px; font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.visit-note { margin: 0 0 16px; color: var(--muted); }
.hours { margin: 0 0 24px; display: grid; gap: 6px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .is-closed dd { color: var(--muted); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visit-links { margin: 16px 0 0; font-size: var(--step-small); }

/* Pie */
.foot {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  padding: 32px var(--gutter); font-size: var(--step-small); color: var(--muted);
}
.foot p { margin: 0; }
.foot p:last-child { text-align: right; }
.foot nav { display: flex; gap: 24px; }
.foot a { color: var(--ink); }

/* WhatsApp flotante (solo celular) */
.wa-float { display: none; }

@media (max-width: 820px) {
  .services, .reviews, .about, .faq { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
  .services-intro { position: static; }
  .menu { margin: 0 calc(var(--gutter) * -0.5); padding: 8px 20px; }
  .menu-group { margin: 0; }
  .menu-group summary {
    pointer-events: auto; cursor: pointer; margin: 0; padding: 14px 0;
    display: grid; grid-template-columns: 1fr auto; row-gap: 2px; align-items: center;
  }
  .menu-group summary::after { content: "+"; grid-column: 2; grid-row: 1 / 3; font: 400 1.75rem/1 var(--sans); color: var(--action); width: 24px; text-align: center; }
  .menu-group[open] summary::after { content: "–"; }
  .menu-group .mg-sum { display: block; grid-column: 1; }
  .menu-group[open] ul { padding-bottom: 16px; }
  .results { padding-top: 72px; padding-bottom: 72px; }
  .results-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; margin-top: 32px; }
  .reviews-title { grid-column: auto; }
  .about-photo { max-width: 420px; }
  .visit { justify-items: stretch; min-height: 0; padding-top: 220px; }
  .visit-card { width: 100%; }
  .visit-number { top: 24px; bottom: auto; font-size: 15rem; }
  .foot { grid-template-columns: 1fr; padding-bottom: 96px; }
  .foot p:last-child { text-align: left; }
  .wa-float {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 20;
    width: 56px; height: 56px; border-radius: 50%; background: var(--honey); color: var(--ink); box-shadow: 0 0 0 3px var(--bg); /* taste-skill-ignore: flota sobre la página */
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  }
  .wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* Páginas legales */
.legal h2 { font: 400 1.5rem/1.15 var(--serif); margin: 40px 0 8px; }
.legal ul { padding-left: 1.2em; }
