/* ===========================================================
   Leidy Nails — Hoja de estilos principal
   Stack: HTML + CSS + JS vanilla
   =========================================================== */

/* ---------- Tokens del sistema de diseño ---------- */
:root {
  --bg:        #FBF7F4;
  --bg-alt:    #F2EAE2;
  --surface:   #FFFFFF;
  --primary:   #B5876B;
  --primary-d: #8B5E3C;
  --primary-l: rgba(181, 135, 107, 0.12);
  --gold:      #D4AF37;
  --text:      #2C1810;
  --text-soft: #6B5D54;
  --border:    rgba(44, 24, 16, 0.10);
  --shadow-sm: 0 2px 10px rgba(44, 24, 16, 0.06);
  --shadow:    0 12px 40px rgba(44, 24, 16, 0.10);
  --shadow-lg: 0 24px 80px rgba(44, 24, 16, 0.18);
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 24px;
  --max:       1200px;
  --space:     clamp(1rem, 2.4vw, 1.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* overflow-x: hidden removido: bloqueaba el pinch-zoom en móvil */
  -webkit-text-size-adjust: 100%;
}
/* Todas las imágenes son fluidas por defecto: ocupan el ancho de su contenedor
   sin desbordar, y al hacer zoom (Ctrl++ o pinch-zoom móvil) reciben el zoom
   proporcionalmente con el resto del layout. */
img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button, input { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { cursor: text; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* Visually hidden (accessible) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; color: var(--text); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--primary); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ---------- Layout helpers ---------- */
.container { width: min(var(--max), 100% - 2 * var(--space)); margin-inline: auto; }
.section { padding: var(--section-y) 0; position: relative; scroll-margin-top: 80px; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__title { font-size: clamp(2rem, 4.4vw, 3rem); }
.section__lead { color: var(--text-soft); margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  min-height: 44px;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn--lg  { padding: 1rem 1.9rem; font-size: 1rem; min-height: 52px; }
.btn--sm  { padding: 0.55rem 1.1rem; font-size: 0.85rem; min-height: 38px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px -8px rgba(181, 135, 107, 0.65); }
.btn--primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(139, 94, 60, 0.7); }
.btn--ghost   { background: transparent; color: var(--text); border: 1.5px solid currentColor; }
.btn--ghost:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ===========================================================
   Navbar
   =========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.1rem 0;
  transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 247, 244, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.7rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); transition: color .3s var(--ease); }
.nav.is-scrolled .nav__logo, .nav__logo--light { color: var(--text); }
.nav__logo-mark {
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(181, 135, 107, 0.45);
}
.nav__logo-text { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.nav__logo-text em { color: var(--primary); font-style: italic; }

.nav__links { display: none; } /* nav ahora siempre vía burger */
.nav__links a {
  font-size: 0.95rem; font-weight: 500;
  color: var(--text);
  transition: color .25s var(--ease);
  position: relative;
  padding: 0.3rem 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled .nav__links a { color: var(--text); }

.nav__cta { display: none; } /* CTA original del HTML antiguo: oculto */
.nav__cta-injected {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  min-height: 38px;
  margin-left: auto;
}
.nav__burger {
  display: block; /* siempre visible */
  width: 44px; height: 44px;
  position: relative;
  color: var(--text);
}
.nav__cta-injected + .nav__burger { margin-left: 0.6rem; }
@media (max-width: 768px) {
  /* En móvil ya está la barra flotante mobile-cta; ocultamos el CTA del header */
  .nav__cta-injected { display: none; }
  .nav__burger { margin-left: auto; }
}
.nav.is-scrolled .nav__burger { color: var(--text); }
.nav__burger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav__mobile {
  position: fixed; inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 49;
  overflow-y: auto;
  display: none;
}
.nav__mobile:not([hidden]) { display: block; animation: slideDown .3s var(--ease); }
.nav__mobile-inner {
  width: min(var(--max), 100% - 2 * var(--space));
  margin-inline: auto;
  padding: 1.6rem 0 3rem;
  display: flex; flex-direction: column;
  gap: 1.4rem;
}
.nav__mobile-group {
  display: flex; flex-direction: column;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.nav__mobile-group:last-of-type { border-bottom: 0; }
.nav__mobile-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0.4rem 0 0.6rem;
}
.nav__mobile a {
  padding: 0.85rem 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  transition: color .25s var(--ease), padding-left .25s var(--ease);
  display: flex; align-items: center;
}
.nav__mobile a:hover, .nav__mobile a:focus-visible {
  color: var(--primary);
  padding-left: 0.3rem;
}
.nav__mobile-group--legal a {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 0.5rem 0;
}
.nav__mobile-cta {
  align-self: stretch !important;
  justify-content: center;
  margin-top: 0.4rem;
  font-size: 1rem !important;
  font-family: var(--font-sans) !important;
  color: #fff !important;
}
.nav__mobile-cta:hover { padding-left: 0 !important; color: #fff !important; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ===========================================================
   Navbar interior (páginas de servicio)
   =========================================================== */
.nav--inner {
  background: rgba(251, 247, 244, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
  min-height: 40px;
}
.nav__back:hover {
  background: var(--primary-l);
  color: var(--primary-d);
}
@media (max-width: 540px) {
  .nav--inner .nav__back { padding: 0.5rem 0.7rem; font-size: 0.88rem; }
}

/* ===========================================================
   Service hero (cabecera de páginas de servicio)
   =========================================================== */
.service-hero {
  padding: clamp(5rem, 10vw, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  text-align: left;
}
.service-hero .container { max-width: 820px; }
.service-hero__title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.service-hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.service-hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
}

/* ===========================================================
   CTA band (al final de cada página de servicio)
   =========================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.7rem;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--primary-d);
}
.cta-band .btn--primary:hover {
  background: var(--text);
  color: #fff;
}

/* ===========================================================
   Galería vacía (placeholder cuando no hay fotos)
   =========================================================== */
.gallery-empty {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem) 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.gallery-empty__icon {
  width: 88px; height: 88px;
  margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary-l);
  color: var(--primary);
}
.gallery-empty p {
  color: var(--text-soft);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

/* ===========================================================
   Hero (banner sin recortes — la portada manda la altura)
   =========================================================== */
.hero {
  position: relative;
  background: var(--bg);
}
.hero--banner { padding-top: 76px; /* deja espacio al navbar fijo */ }
.hero__media {
  display: block;          /* funciona también si es <a> (inline por defecto) */
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-alt);
  color: inherit;
  text-decoration: none;
  transition: filter .35s var(--ease);
}
a.hero__media:hover img,
a.hero__media:focus-visible img {
  filter: brightness(0.95) saturate(1.08);
}
.hero__media img {
  display: block;
  width: 100%;
  height: auto;          /* NO se recorta a lo ancho — proporción natural */
  object-fit: unset;
  filter: saturate(1.04);
}
.hero__content {
  position: relative;
  max-width: 780px;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 1.4rem;
  color: var(--primary);
  background: var(--surface);
  animation: fadeUp .9s var(--ease) .1s both;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  max-width: 600px;
  color: var(--text-soft);
  margin-bottom: 2rem;
  animation: fadeUp 1s var(--ease) .25s both;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 2rem;
  animation: fadeUp 1s var(--ease) .4s both;
}
.hero__tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-soft);
  animation: fadeUp 1s var(--ease) .55s both;
}
.hero__tags li { position: relative; }
.hero__tags li:not(:last-child)::after {
  content: '·'; position: absolute; right: -0.85rem; top: 0; opacity: 0.55; color: var(--primary);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ===========================================================
   Servicios (grid de botones grandes en el index)
   =========================================================== */
.service-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(181, 135, 107, 0.45);
}
.service-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--primary-l);
  color: var(--primary);
  margin-bottom: 1rem;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--primary); color: #fff; }
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
}
.service-card p {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}
.service-card__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap .25s var(--ease);
}
.service-card:hover .service-card__cta { gap: 0.7rem; }

.service-card--cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  border-color: transparent;
}
.service-card--cta:hover { transform: translateY(-6px); border-color: transparent; }
.service-card--cta h3 { color: #fff; }
.service-card--cta p { color: rgba(255, 255, 255, 0.88); }
.service-card--cta .service-card__icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.service-card--cta:hover .service-card__icon { background: #fff; color: var(--primary-d); }
.service-card--cta .service-card__cta { color: #fff; }

/* ===========================================================
   Servicios — diseño original (legacy)
   =========================================================== */
.services {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.service {
  background: var(--surface);
  padding: 2rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(181, 135, 107, 0.35);
}
.service__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--primary-l);
  color: var(--primary);
  margin-bottom: 1.2rem;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.service:hover .service__icon { background: var(--primary); color: #fff; }
.service h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.service p { color: var(--text-soft); font-size: 0.97rem; line-height: 1.55; }

.service--cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 0.8rem;
}
.service--cta:hover { transform: translateY(-6px); border-color: transparent; }
.service--cta h3 { color: #fff; }
.service--cta p { color: rgba(255, 255, 255, 0.88); }
.service--cta .btn--primary { background: #fff; color: var(--primary-d); margin-top: 0.4rem; }
.service--cta .btn--primary:hover { background: var(--text); color: #fff; }

/* ===========================================================
   Widget de reserva
   =========================================================== */
.booking {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.booking__step + .booking__step {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.booking__step-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.booking__step-num {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem; font-weight: 700;
  flex-shrink: 0;
}

.booking__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.pill:hover:not(:disabled):not(.is-active) {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.pill.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px -6px rgba(181, 135, 107, 0.55);
}

.booking__dates {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.2rem 0.2rem 0.7rem;
  margin: -0.2rem -0.2rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-l) transparent;
}
.booking__dates::-webkit-scrollbar { height: 6px; }
.booking__dates::-webkit-scrollbar-thumb { background: var(--primary-l); border-radius: 3px; }
.booking__dates::-webkit-scrollbar-track { background: transparent; }

.booking__date {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: grid; place-items: center;
  gap: 0.15rem;
  width: 76px;
  padding: 0.85rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  line-height: 1.2;
}
.booking__date strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
}
.booking__date small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  font-weight: 600;
}
.booking__date:hover:not(.is-active) {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.booking__date.is-active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 22px -8px rgba(181, 135, 107, 0.6);
}
.booking__date.is-active strong { color: #fff; }
.booking__date.is-active small { color: rgba(255,255,255,0.88); }

.booking__hint, .booking__hint-sm {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-style: italic;
}
.booking__hint-sm { font-size: 0.82rem; margin-top: 0.6rem; }

/* Campo de fecha (DD/MM — año 2026 fijo) */
.booking__date-field input {
  width: 100%;
  max-width: 220px;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.08em;
  text-align: center;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.booking__date-field input::placeholder {
  letter-spacing: 0.08em;
  color: rgba(107, 93, 84, 0.45);
  font-weight: 500;
}
.booking__date-field input:hover { border-color: rgba(181, 135, 107, 0.5); }
.booking__date-field input:focus {
  border-color: var(--primary);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px var(--primary-l);
}

/* Etiqueta "(opcional)" en los campos */
.booking__field-optional {
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-left: 0.4rem;
  text-transform: none;
  font-style: italic;
}

/* Textarea de notas/mensaje — elegante (alta especificidad para vencer cualquier herencia) */
textarea#bookingNotes,
.booking__field textarea {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 1.1rem 1.3rem !important;
  margin: 0 !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--bg);
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  color: var(--text);
  line-height: 1.6 !important;
  resize: vertical !important;
  min-height: 110px !important;
  letter-spacing: 0.005em;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: auto !important;
  appearance: none;
  -webkit-appearance: none;
}
textarea#bookingNotes:hover,
.booking__field textarea:hover {
  border-color: rgba(181, 135, 107, 0.5) !important;
}
textarea#bookingNotes:focus,
.booking__field textarea:focus {
  border-color: var(--primary) !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 4px var(--primary-l) !important;
}
textarea#bookingNotes::placeholder,
.booking__field textarea::placeholder {
  color: rgba(107, 93, 84, 0.55);
  font-style: italic;
}

/* El campo del textarea debe ocupar las 2 columnas del grid de campos */
.booking__field--full {
  grid-column: 1 / -1 !important;
}

/* Mensaje elegante de día cerrado */
.booking__closed-msg {
  margin-top: 0.9rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(181, 135, 107, 0.12) 100%);
  border: 1px solid rgba(181, 135, 107, 0.3);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  animation: fadeUp .35s var(--ease);
}
.booking__closed-msg strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--primary-d);
  font-size: 1.05rem;
}

/* Spinner del botón submit */
.booking__spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-right: 0.45rem;
  vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Texto de recordatorios en éxito */
.booking__success-reminder {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  display: inline-block;
}

.booking__slots-group + .booking__slots-group { margin-top: 1.2rem; }
.booking__slots-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.booking__slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.55rem;
}
.slot {
  padding: 0.75rem 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s var(--ease);
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.slot:hover:not(:disabled):not(.is-active) {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.slot.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 18px -6px rgba(181, 135, 107, 0.55);
}
.slot:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--text-soft);
}

.booking__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.booking__field--full { grid-column: 1 / -1; }
.booking__field span em {
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
  margin-left: 2px;
}
.booking__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.booking__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}
.booking__consent a {
  color: var(--primary-d);
  font-weight: 600;
  text-decoration: underline;
}
.booking__consent a:hover { color: var(--primary); }
.booking__field { display: block; }
.booking__field span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.booking__field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;  /* evita zoom en iOS */
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.booking__field input::placeholder { color: rgba(107, 93, 84, 0.55); }
.booking__field input:focus {
  border-color: var(--primary);
  background: #fff;
  outline: none;
}

.booking__footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.booking__summary {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.3rem;
  display: none;
  font-size: 0.97rem;
  line-height: 1.7;
  border: 1px dashed var(--primary-l);
}
.booking__summary.is-visible { display: block; animation: fadeUp .35s var(--ease); }
.booking__summary strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-d);
}
.booking__summary > div { display: block; }

.booking__submit { width: 100%; justify-content: center; }
.booking__note {
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

.booking__success {
  text-align: center;
  padding: 2rem 0.5rem 1rem;
  animation: fadeUp .5s var(--ease);
}
.booking__success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
}
.booking__success-icon svg { width: 36px; height: 36px; }
.booking__success h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.7rem; }
.booking__success p { color: var(--text-soft); max-width: 460px; margin: 0 auto 1.5rem; }
.booking__success-card {
  max-width: 380px;
  margin: 0 auto 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
  border: 1px solid var(--border);
}
.booking__success-card strong { color: var(--primary-d); }
.booking__success-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }

/* ===========================================================
   Sobre mí
   =========================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(44, 24, 16, 0.2) 100%);
}
.about__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__media:hover img { transform: scale(1.04); }
.about__text .section__title { text-align: left; }
.about__text > p { color: var(--text-soft); margin: 1rem 0 1.8rem; font-size: 1.05rem; }
.about__list { display: grid; gap: 0.7rem; margin-bottom: 2rem; }
.about__list li {
  display: flex; align-items: center; gap: 0.8rem;
  font-weight: 500;
}
.about__list li span {
  width: 26px; height: 26px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--primary-l);
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===========================================================
   Galería
   =========================================================== */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: zoom-in;
  background: var(--bg-alt);
}
.gallery__item[hidden] { display: none !important; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease), filter .35s var(--ease);
}
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(44, 24, 16, 0.35) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }

/* ===========================================================
   Testimonios
   =========================================================== */
.testimonials {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial::before {
  content: '“';
  position: absolute; top: -10px; left: 22px;
  font-family: var(--font-serif);
  font-size: 5.5rem; line-height: 1;
  color: var(--primary);
  opacity: 0.25;
}
.testimonial__stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.8rem; }
.testimonial blockquote {
  font-size: 1.02rem; line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.testimonial figcaption {
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* ===========================================================
   Contacto
   =========================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}
.contact__info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact__list { display: grid; gap: 1.3rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list strong { display: block; font-family: var(--font-sans); font-weight: 600; margin-bottom: 0.2rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); }
.contact__list a, .contact__list span { color: var(--text); font-size: 1.02rem; font-weight: 500; line-height: 1.5; display: inline-block; }
.contact__list a { transition: color .25s var(--ease); }
.contact__list a:hover { color: var(--primary); }
.contact__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary-l);
  color: var(--primary);
  flex-shrink: 0;
}
.contact__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }

.contact__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ===========================================================
   Footer
   =========================================================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.78);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-bottom: 3rem;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer ul { display: grid; gap: 0.55rem; }
.footer a { transition: color .25s var(--ease); }
.footer a:hover { color: var(--primary); }
.footer .nav__logo { color: #fff; margin-bottom: 1rem; }
.footer .nav__logo-text em { color: #F4D5C2; }
.footer__tagline { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer__social li a { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__credit { font-style: italic; }

/* ===========================================================
   WhatsApp flotante + barra CTA móvil
   =========================================================== */
.wa-float {
  position: fixed;
  bottom: calc(22px + var(--safe-bottom)); right: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.55;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.85); opacity: 0.55; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55); }

/* Barra fija inferior en móvil con CTA principal + llamar */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 55;
  gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(44, 24, 16, 0.2);
  border-radius: 999px;
  padding: 6px;
  align-items: stretch;
}
.mobile-cta__primary {
  flex: 1;
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 46px;
}
.mobile-cta__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ===========================================================
   Cookie banner (LSSI-CE + RGPD) — compacto y discreto
   =========================================================== */
.cookie-banner {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(10px + var(--safe-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(44, 24, 16, 0.18);
  padding: 0.45rem 0.5rem 0.45rem 0.95rem;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.cookie-banner.is-hiding {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1; min-width: 0;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-soft);
}
.cookie-banner__text a {
  color: var(--primary-d);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-banner__btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  min-height: 34px;
  transition: background-color .2s var(--ease);
}
.cookie-banner__btn:hover { background: var(--primary-d); }
@media (max-width: 720px) {
  .cookie-banner {
    bottom: calc(82px + var(--safe-bottom)); /* esquiva la barra CTA */
    border-radius: 14px;
    padding: 0.55rem 0.6rem 0.55rem 0.85rem;
    gap: 0.5rem;
  }
  .cookie-banner__text { font-size: 0.74rem; }
}
@media (max-width: 380px) {
  .cookie-banner__text { font-size: 0.72rem; line-height: 1.35; }
  .cookie-banner__btn { padding: 0.45rem 0.8rem; font-size: 0.78rem; }
}

/* ===========================================================
   Páginas legales (privacidad, cookies, aviso legal)
   =========================================================== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}
.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 0.6rem;
}
.legal .legal__meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 2.2rem;
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}
.legal h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-top: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.legal p, .legal li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 0.9rem;
}
.legal ul, .legal ol {
  padding-left: 1.4rem;
  list-style: disc;
  margin-bottom: 1rem;
}
.legal ol { list-style: decimal; }
.legal a {
  color: var(--primary-d);
  font-weight: 600;
  text-decoration: underline;
}
.legal__contact-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0;
}
.legal__contact-box strong { display: block; margin-bottom: 0.4rem; }

/* Footer legal links */
.footer__legal {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  display: flex; gap: 0.4rem 1.1rem; flex-wrap: wrap; justify-content: center;
}
.footer__legal a { color: rgba(255,255,255,0.7); }
.footer__legal a:hover { color: var(--primary); }
.footer__legal li { color: rgba(255,255,255,0.35); }

/* ===========================================================
   Lightbox de galería
   =========================================================== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 12, 8, 0.92);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 2rem;
}
.lightbox:not([hidden]) { display: grid; animation: fadeIn .25s var(--ease); }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  color: #fff;
  font-size: 2.2rem;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transition: background .25s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ===========================================================
   Animaciones reveal on scroll
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { padding-bottom: 80px; } /* espacio para barra CTA flotante */
  .mobile-cta { display: flex; }
  .wa-float {
    width: 52px; height: 52px;
    bottom: calc(82px + var(--safe-bottom));
    right: 14px;
  }

  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; max-height: 460px; }

  .contact { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
  .contact__map iframe { min-height: 320px; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--tall { grid-row: span 2; }

  .hero--banner { padding-top: 64px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__bottom .container { justify-content: center; text-align: center; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta { gap: 0.6rem; }
  .hero__tags { gap: 0.4rem 1rem; font-size: 0.78rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--tall { grid-row: span 1; }
  .booking__fields { grid-template-columns: 1fr; }
  .booking__slots-grid { grid-template-columns: repeat(3, 1fr); }
  .booking { padding: 1.3rem; }
  .booking__step + .booking__step { margin-top: 1.5rem; padding-top: 1.5rem; }
  .nav__cta { display: none; }
}

@media (max-width: 380px) {
  .booking__date { width: 64px; padding: 0.7rem 0.4rem; }
  .booking__date strong { font-size: 1.3rem; }
  .booking__slots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================================================
   View Transitions — fade lento entre páginas (Chrome 111+, Safari 18+)
   En navegadores antiguos no pasa nada, simplemente carga sin fade.
   =========================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .55s; animation-timing-function: var(--ease); }

/* Reveal on scroll — más lento y suave */
.reveal { transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }

/* ===========================================================
   Index: CTA del manifiesto "Soy Leidy y quiero decirte que…"
   =========================================================== */
.index-manifesto {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.index-manifesto .eyebrow { display: block; }
.index-manifesto__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
  margin: 0.6rem auto 1.6rem;
  max-width: 720px;
  color: var(--text);
}
.index-manifesto__btn {
  display: inline-flex;
}

/* ===========================================================
   Manifiesto (página) — foto leidy.PNG al 24% de fondo
   =========================================================== */
.manifesto {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(5.5rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  /* sin isolation: el bg fixed necesita pegarse al viewport */
}
.manifesto__bg {
  position: fixed;                 /* pegada al viewport — no se mueve al hacer scroll */
  inset: 0;
  background-image: url('../assets/images/leidy.png');
  background-size: contain;        /* foto COMPLETA — no se recorta */
  background-position: center center;  /* CENTRADA en la pantalla */
  background-repeat: no-repeat;
  opacity: 0.24;                   /* 24% transparencia */
  z-index: 0;
  pointer-events: none;            /* no bloquea clicks al contenido */
  filter: saturate(1.05);
}
.manifesto__inner {
  position: relative;
  z-index: 1;                      /* texto por encima del bg fijo */
}
/* En móvil la imagen ocupa el 90% del ancho para que se vea completa */
@media (max-width: 720px) {
  .manifesto__bg {
    background-size: 95% auto;     /* ligeramente menor que el viewport */
    background-position: center center;
  }
}
.manifesto__inner {
  max-width: 720px;
  position: relative;
}
.manifesto__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  margin: 0.5rem 0 2rem;
  color: var(--text);
}
.manifesto__body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.75;
  color: var(--text);
}
.manifesto__body p { margin: 0; }
.manifesto__body em { color: var(--primary-d); font-style: italic; font-weight: 500; }
.manifesto__body strong { color: var(--text); font-weight: 700; }
.manifesto__signature {
  margin-top: 1.4rem !important;
  font-style: italic;
  color: var(--text-soft);
}
.manifesto__signature-name {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--primary-d);
  line-height: 1;
}
.manifesto__cta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ===========================================================
   Galería sin recortes — cuadrícula compacta de 3 columnas en móvil
   =========================================================== */
.gallery__grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 0.55rem;
  /* sobreescribe el grid-auto-rows fijo de antes */
}
.gallery__item {
  aspect-ratio: 1 / 1;          /* casillas cuadradas */
  background: var(--bg-alt);
}
.gallery__item--tall { grid-row: span 1; aspect-ratio: 1 / 1; } /* anulamos el tall */
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: contain;          /* NO recorta — muestra la imagen completa */
  background: var(--bg-alt);
}

@media (min-width: 720px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
}
@media (min-width: 1080px) {
  .gallery__grid { grid-template-columns: repeat(5, 1fr); gap: 0.9rem; }
}

/* ===========================================================
   Footer minimal (solo lo esencial)
   =========================================================== */
.footer--minimal {
  background: var(--text);
  color: rgba(255,255,255,0.78);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.footer--minimal .footer__grid,
.footer--minimal .footer__bottom { display: none; }
.footer__minimal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer__minimal-inner .nav__logo {
  color: #fff;
}
.footer__minimal-inner .nav__logo-text em { color: #F4D5C2; }
.footer__minimal-email {
  margin: 0;
  font-size: 0.95rem;
}
.footer__minimal-email a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer__minimal-email a:hover { color: var(--primary); }
.footer--minimal .footer__legal {
  margin: 0;
  font-size: 0.82rem;
}
.footer--minimal .footer__legal a { color: rgba(255,255,255,0.6); }
.footer--minimal .footer__legal a:hover { color: var(--primary); }
.footer__minimal-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
