/* ==========================================================================
   J&J NAILS STUDIO — Hoja de estilos
   --------------------------------------------------------------------------
   Orden del archivo:
     01. Variables (colores, tipografías, medidas)
     02. Reinicio y base
     03. Utilidades y componentes compartidos (botones, íconos, animaciones)
     04. Encabezado y navegación
     05. Hero
     06. Quiénes somos
     07. Servicios
     08. Galería
     09. Formas de pago
     10. Cómo agendar (pasos + formulario)
     11. Políticas
     12. Preguntas frecuentes
     13. Ubicación
     14. Contacto
     15. Cierre
     16. Pie de página
     17. Botón flotante de WhatsApp
     18. Vista ampliada de fotos (lightbox)
     19. Puntos de quiebre (tablet / escritorio)
     20. Impresión
   Está escrito "mobile-first": primero el celular, luego se amplía.
   ========================================================================== */


/* ==========================================================================
   01 · VARIABLES
   ========================================================================== */
:root {
  /* ── Paleta de marca ─────────────────────────────────────────────────── */
  --crema:        #FBF7F4;   /* fondo principal, blanco hueso            */
  --crema-2:      #F5EDE8;   /* fondo de secciones alternas              */
  --crema-3:      #EFE3DC;   /* bordes suaves y separadores              */
  --blanco:       #FFFFFF;
  --nude:         #E8C4C4;   /* rosa nude / palo de rosa                 */
  --nude-claro:   #F6E4E2;
  --malva:        #B76E79;   /* rosa profundo: acentos decorativos       */
  --malva-fuerte: #9F5661;   /* versión con contraste AA para botones    */
  --malva-oscuro: #8A4854;   /* estado :hover de los botones             */
  --dorado:       #C9A66B;   /* SOLO decorativo: líneas e íconos finos   */
  --dorado-claro: #E4D2AE;
  --tinta:        #3A2E2E;   /* texto principal (marrón muy oscuro)      */
  --tinta-suave:  #6B5B5B;   /* texto secundario, cumple contraste AA    */

  /* ── Tipografías ─────────────────────────────────────────────────────── */
  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --script: 'Great Vibes', 'Cormorant Garamond', cursive;

  /* ── Medidas y ritmo ─────────────────────────────────────────────────── */
  --ancho:        1200px;
  --ancho-corto:  820px;
  --gutter:       20px;
  --alto-header:  68px;
  --radio:        18px;
  --radio-sm:     12px;
  --radio-lg:     28px;

  /* ── Sombras (muy ligeras, nunca duras) ──────────────────────────────── */
  --sombra-1: 0 1px 2px rgba(58, 46, 46, .04), 0 4px 16px rgba(58, 46, 46, .05);
  --sombra-2: 0 2px 6px rgba(58, 46, 46, .05), 0 14px 38px rgba(58, 46, 46, .08);
  --sombra-3: 0 20px 60px rgba(58, 46, 46, .14);

  /* ── Transiciones ────────────────────────────────────────────────────── */
  --ease:   cubic-bezier(.22, .68, .3, 1);
  --rapida: .22s var(--ease);
  --media:  .38s var(--ease);
  --lenta:  .7s  var(--ease);
}


/* ==========================================================================
   02 · REINICIO Y BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--alto-header) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  /* overflow-x oculto: blindaje contra cualquier scroll horizontal */
  overflow-x: hidden;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: .008em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

/* Foco visible y elegante para quien navega con teclado */
:focus-visible {
  outline: 2px solid var(--malva-fuerte);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selección de texto en tono de marca */
::selection { background: var(--nude); color: var(--tinta); }

/* Enlace de salto */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  z-index: 200;
  transform: translateX(-50%);
  padding: .7rem 1.4rem;
  background: var(--malva-fuerte);
  color: var(--blanco);
  border-radius: 0 0 var(--radio-sm) var(--radio-sm);
  font-size: .9rem;
  transition: top var(--rapida);
}
.skip-link:focus { top: 0; }

/* Contenedores */
.shell {
  width: 100%;
  max-width: var(--ancho);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: var(--ancho-corto); }


/* ==========================================================================
   03 · UTILIDADES Y COMPONENTES COMPARTIDOS
   ========================================================================== */

/* ── Tipografía ────────────────────────────────────────────────────────── */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 6.2vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--tinta);
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.6rem, 5vw, 2.3rem); }

/* Palabra decorativa en cursiva caligráfica (nunca para párrafos) */
.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--malva);
  font-size: 1.22em;
  line-height: .9;
  letter-spacing: .01em;
}

/* Etiqueta pequeña sobre cada título */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--malva-fuerte);
}
.eyebrow__line {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--dorado), transparent);
  flex: none;
}

.section__head { margin-bottom: clamp(2rem, 6vw, 3.4rem); max-width: 720px; }
.section__lead {
  margin-top: 1rem;
  color: var(--tinta-suave);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.prose p + p { margin-top: .9rem; }
.prose { color: var(--tinta-suave); text-wrap: pretty; }

/* ── Secciones ─────────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding-block: clamp(3.4rem, 11vw, 6.5rem);
}
.section--alt { background: var(--crema-2); }

/* Hilo dorado muy fino como remate superior de las secciones alternas */
.section--alt::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dorado-claro) 22%, var(--dorado-claro) 78%, transparent);
}

/* ── Íconos ────────────────────────────────────────────────────────────── */
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--lg { width: 1.7em;  height: 1.7em;  stroke-width: 1.35; }
.ico--xl { width: 2.25em; height: 2.25em; stroke-width: 1.2;  }

/* ── Botones ───────────────────────────────────────────────────────────── */
.btn {
  --btn-bg:     var(--malva-fuerte);
  --btn-fg:     var(--blanco);
  --btn-borde:  transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.5rem;
  min-height: 46px;
  border: 1px solid var(--btn-borde);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background var(--rapida), color var(--rapida),
              border-color var(--rapida), transform var(--rapida),
              box-shadow var(--rapida);
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--sombra-2); }
.btn:active { transform: translateY(0); }

.btn--primary:hover { --btn-bg: var(--malva-oscuro); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--tinta);
  --btn-borde: var(--crema-3);
}
.btn--ghost:hover { --btn-bg: var(--blanco); --btn-borde: var(--nude); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--tinta);
  --btn-borde: var(--nude);
}
.btn--outline:hover { --btn-bg: var(--nude-claro); --btn-borde: var(--malva); }

.btn--lg { padding: 1rem 1.9rem; min-height: 54px; font-size: 1rem; }
.btn--sm { padding: .62rem 1.15rem; min-height: 40px; font-size: .84rem; }
.btn--block { width: 100%; }

/* ── Marco de arco para las fotos (sello visual del estudio) ───────────── */
.arch {
  position: relative;
  z-index: 1;          /* por encima del aro dorado */
  overflow: hidden;
  border-radius: 50% 50% var(--radio) var(--radio) / 34% 34% var(--radio) var(--radio);
  background: var(--crema-3);
  box-shadow: var(--sombra-2);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.arch:hover img { transform: scale(1.035); }

/* Aro dorado que acompaña al arco del hero */
.arch__ring {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--dorado);
  border-radius: 50% 50% var(--radio) var(--radio) / 34% 34% var(--radio) var(--radio);
  opacity: .55;
  pointer-events: none;
  z-index: 0;          /* detrás de la foto, pero visible: asoma abajo a la derecha */
}

/* ── Manchas orgánicas de fondo ────────────────────────────────────────── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: .5;
  pointer-events: none;
}
.blob--1 { width: 340px; height: 340px; top: -90px;  left: -130px; background: var(--nude); }
.blob--2 { width: 300px; height: 300px; top: 34%;    right: -140px; background: var(--dorado-claro); opacity: .38; }
.blob--3 { width: 260px; height: 260px; bottom: -80px; left: 22%;  background: var(--nude-claro); }
.blob--4 { width: 320px; height: 320px; top: -110px; right: -110px; background: var(--nude); opacity: .45; }
.blob--5 { width: 280px; height: 280px; bottom: -120px; left: -90px; background: var(--dorado-claro); opacity: .34; }

/* ── Animación de aparición al hacer scroll ────────────────────────────────
   Importante: el contenido SIEMPRE termina visible.
   · Sin JavaScript          → visible desde el inicio
   · Con movimiento reducido → visible desde el inicio, sin transición
   Así nadie se queda con una página en blanco.                             */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--lenta), transform var(--lenta);
  /* Sin will-change a propósito: son decenas de elementos y crearía
     demasiadas capas de composición en celulares modestos. */
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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


/* ==========================================================================
   04 · ENCABEZADO Y NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 244, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--media), border-color var(--media),
              box-shadow var(--media);
}
/* Estado al hacer scroll: se vuelve más sólido y aparece un hilo dorado */
.site-header.is-scrolled {
  background: rgba(251, 247, 244, .94);
  border-bottom-color: var(--crema-3);
  box-shadow: 0 6px 24px rgba(58, 46, 46, .05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--alto-header);
}

/* ── Logo ──────────────────────────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  margin-right: auto;
  transition: opacity var(--rapida);
}
.brand:hover { opacity: .78; }

/* Monograma oficial J&J — imagen con el fondo blanco ya recortado */
.brand__mono {
  height: 30px;
  width: auto;
  flex: none;
}

/* "NAILS STUDIO", separado por un hilo dorado */
.brand__name {
  position: relative;
  padding-left: .72rem;
  font-size: .57rem;
  font-weight: 400;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--tinta-suave);
  white-space: nowrap;
}
.brand__name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 1px;
  height: 24px;
  background: var(--dorado);
  opacity: .65;
}

/* Logo completo (version clara) en el pie de pagina */
.brand__full {
  height: 74px;
  width: auto;
}

/* ── Panel de navegación (celular) ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  width: min(86vw, 340px);
  height: 100dvh;
  padding: calc(var(--alto-header) + 1.5rem) 1.6rem 2rem;
  background: var(--crema);
  border-left: 1px solid var(--crema-3);
  box-shadow: -20px 0 60px rgba(58, 46, 46, .12);
  transform: translateX(105%);
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform var(--media), visibility var(--media);
}
body.nav-open .nav { transform: translateX(0); visibility: visible; }

.nav__list { display: flex; flex-direction: column; gap: .1rem; }

.nav__link {
  display: block;
  padding: .72rem 0;
  border-bottom: 1px solid var(--crema-3);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--tinta);
  transition: color var(--rapida), padding-left var(--rapida);
}
.nav__link:hover,
.nav__link.is-active { color: var(--malva-fuerte); padding-left: .4rem; }

.nav__foot { margin-top: auto; padding-top: 1.8rem; }
.nav__social {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.2rem;
  font-size: 1.25rem;
  color: var(--tinta-suave);
}
.nav__social a { transition: color var(--rapida), transform var(--rapida); }
.nav__social a:hover { color: var(--malva-fuerte); transform: translateY(-2px); }

/* Fondo oscuro tras el panel */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(58, 46, 46, .38);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--media);
}
body.nav-open .nav-scrim { opacity: 1; }

/* Bloquea el scroll del fondo con el menú abierto */
body.nav-open { overflow: hidden; }

/* El botón del encabezado y el CTA duplicado se ocultan en celular */
.site-header__cta { display: none; }

/* ── Hamburguesa ───────────────────────────────────────────────────────── */
.burger {
  position: relative;
  z-index: 115;
  display: grid;
  place-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  flex: none;
}
.burger__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--tinta);
  transition: transform var(--media), opacity var(--rapida), width var(--media);
}
.burger__bar:nth-child(2) { width: 16px; margin-left: auto; }

body.nav-open .burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger__bar:nth-child(2) { opacity: 0; width: 22px; }
body.nav-open .burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }


/* ==========================================================================
   05 · HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--alto-header) + clamp(2rem, 8vw, 3.5rem));
  padding-bottom: clamp(3rem, 10vw, 5rem);
  background:
    radial-gradient(120% 90% at 82% 8%, var(--nude-claro) 0%, transparent 58%),
    linear-gradient(180deg, var(--crema) 0%, var(--crema) 62%, var(--crema-2) 100%);
}
.hero__blobs { position: absolute; inset: 0; pointer-events: none; }

.hero__grid { position: relative; display: grid; gap: clamp(2.4rem, 8vw, 3rem); }

.hero__title {
  margin-top: .2rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 13vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.hero__title .script { display: inline-block; font-size: 1.05em; }

.hero__lead {
  max-width: 34ch;
  margin-top: 1.25rem;
  color: var(--tinta-suave);
  font-size: clamp(1rem, 3.4vw, 1.12rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}
.hero__actions .btn { flex: 1 1 200px; }

/* Sellos de confianza */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--crema-3);
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--tinta-suave);
}
.trust__item .ico { color: var(--dorado); stroke-width: 1.4; }

/* Foto del hero */
.hero__media { position: relative; }
.arch--hero {
  aspect-ratio: 3 / 4;
  max-width: 460px;
  margin-inline: auto;
}


/* ==========================================================================
   06 · QUIÉNES SOMOS
   ========================================================================== */
.about__grid { display: grid; gap: clamp(2.2rem, 7vw, 3.2rem); }

/* En celular el texto va primero: se entiende antes de qué sección se trata.
   En escritorio vuelve al orden foto + texto. */
.about__copy  { order: 1; }
.about__media { order: 2; }

.about__media { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.arch--about { aspect-ratio: 4 / 5; }

/* Medallón con corazón sobre la foto */
.about__badge {
  position: absolute;
  right: 4%;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--blanco);
  border: 1px solid var(--dorado-claro);
  box-shadow: var(--sombra-2);
  color: var(--malva);
  font-size: 1.1rem;
}

.values { display: grid; gap: 1rem; margin-top: 2.2rem; }
.value {
  padding: 1.25rem 1.3rem;
  background: var(--blanco);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio);
  box-shadow: var(--sombra-1);
  transition: transform var(--media), box-shadow var(--media), border-color var(--media);
}
.value:hover {
  transform: translateY(-4px);
  border-color: var(--nude);
  box-shadow: var(--sombra-2);
}
.value .ico { color: var(--dorado); margin-bottom: .55rem; }
.value__title {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: .005em;
}
.value__text { margin-top: .25rem; font-size: .92rem; color: var(--tinta-suave); line-height: 1.6; }


/* ==========================================================================
   07 · SERVICIOS
   ========================================================================== */
.svc-grid { display: grid; gap: 1.1rem; }

.svc {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.2rem;
  background: var(--blanco);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-1);
  transition: transform var(--media), box-shadow var(--media), border-color var(--media);
}
.svc:hover {
  transform: translateY(-5px);
  border-color: var(--nude);
  box-shadow: var(--sombra-2);
}

.svc__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-bottom: 1rem;
  margin-bottom: .4rem;
  border-bottom: 1px solid var(--crema-3);
}
.svc__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  background: var(--nude-claro);
  color: var(--malva);
  font-size: 1rem;
}
.svc__title {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: .004em;
}

.svc__list { display: flex; flex-direction: column; }

.svc__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .72rem 0;
  border-bottom: 1px dashed var(--crema-3);
}
.svc__item:last-child { border-bottom: 0; }

.svc__name { flex: 1 1 auto; font-size: .96rem; }

/* Precio opcional: descomenta el <span class="svc__price"> en el HTML */
.svc__price {
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--tinta-suave);
  white-space: nowrap;
}

.svc__cta {
  flex: none;
  padding: .34rem .85rem;
  border: 1px solid var(--crema-3);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--malva-fuerte);
  white-space: nowrap;
  transition: background var(--rapida), border-color var(--rapida), color var(--rapida);
}
.svc__cta:hover {
  background: var(--malva-fuerte);
  border-color: var(--malva-fuerte);
  color: var(--blanco);
}

.svc-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  max-width: 620px;
  margin: 1.8rem auto 0;
  padding: .95rem 1.2rem;
  background: var(--blanco);
  border: 1px dashed var(--dorado-claro);
  border-radius: var(--radio);
  color: var(--tinta-suave);
  font-size: .9rem;
  text-align: left;
}
.svc-note .ico { color: var(--dorado); margin-top: .22rem; }


/* ==========================================================================
   08 · GALERÍA
   ========================================================================== */
/* Mosaico con columnas CSS: cada foto conserva su proporción real */
.gallery {
  columns: 2;
  column-gap: .7rem;
}
.gallery__item { break-inside: avoid; margin-bottom: .7rem; }

.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radio);
  background: var(--crema-3);
  box-shadow: var(--sombra-1);
  transition: box-shadow var(--media), transform var(--media);
}
.gallery__btn img { width: 100%; transition: transform .9s var(--ease), filter var(--media); }
.gallery__btn:hover { transform: translateY(-3px); box-shadow: var(--sombra-2); }
.gallery__btn:hover img { transform: scale(1.06); filter: saturate(1.06); }

.gallery__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: 2rem;
}


/* ==========================================================================
   09 · FORMAS DE PAGO
   ========================================================================== */
.pay { display: grid; gap: 1rem; }

.pay__item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.4rem 1.4rem;
  background: var(--blanco);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio);
  box-shadow: var(--sombra-1);
  transition: transform var(--media), box-shadow var(--media), border-color var(--media);
}
.pay__item:hover {
  transform: translateY(-4px);
  border-color: var(--nude);
  box-shadow: var(--sombra-2);
}
.pay__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--dorado-claro);
  background: var(--crema);
  color: var(--malva);
  font-size: .95rem;
}
.pay__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.pay__note {
  max-width: 560px;
  margin: 1.6rem auto 0;
  text-align: center;
  color: var(--tinta-suave);
  font-size: .93rem;
}


/* ==========================================================================
   10 · CÓMO AGENDAR
   ========================================================================== */
.book__grid { display: grid; gap: clamp(2.4rem, 8vw, 3rem); }

/* ── Línea de tiempo ───────────────────────────────────────────────────── */
.steps { position: relative; display: grid; gap: .2rem; }
/* Hilo vertical que une los pasos */
.steps::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 26px;
  bottom: 26px;
  width: 1px;
  background: linear-gradient(180deg, var(--dorado-claro), var(--nude), var(--dorado-claro));
}
.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .55rem 0;
}
.step__num {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: none;
  border-radius: 50%;
  background: var(--blanco);
  border: 1px solid var(--dorado);
  color: var(--malva-fuerte);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--crema);
  transition: background var(--rapida), color var(--rapida);
}
.step:hover .step__num { background: var(--malva-fuerte); color: var(--blanco); }
.step__text { padding-top: .55rem; font-size: 1rem; text-wrap: pretty; }

/* ── Tarjeta del formulario ────────────────────────────────────────────── */
.form-card {
  padding: clamp(1.4rem, 5vw, 2.1rem);
  background: var(--blanco);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-2);
}
.form-card__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: .004em;
}
.form-card__sub {
  margin-top: .45rem;
  margin-bottom: 1.5rem;
  color: var(--tinta-suave);
  font-size: .93rem;
  line-height: 1.6;
}
.form-card__noscript {
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  background: var(--nude-claro);
  border-radius: var(--radio-sm);
  font-size: .9rem;
}
.form-card__noscript a { color: var(--malva-fuerte); text-decoration: underline; }

.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .38rem; }
.field-row { display: grid; gap: 1.05rem; }

.field__label {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}
.req { color: var(--malva-fuerte); }

.field__input {
  width: 100%;
  padding: .78rem .95rem;
  min-height: 48px;
  background: var(--crema);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio-sm);
  font-size: 1rem;      /* 16px evita el zoom automático en iPhone */
  font-weight: 300;
  color: var(--tinta);
  transition: border-color var(--rapida), background var(--rapida),
              box-shadow var(--rapida);
}
.field__input::placeholder { color: #A99B99; }
.field__input:hover { border-color: var(--nude); }
.field__input:focus {
  outline: none;
  background: var(--blanco);
  border-color: var(--malva);
  box-shadow: 0 0 0 3px rgba(183, 110, 121, .16);
}
.field__textarea { resize: vertical; min-height: 96px; line-height: 1.6; }

/* Select con flecha propia */
.field__select-wrap { position: relative; }
.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field__chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
  color: var(--tinta-suave);
}

.field__hint { font-size: .82rem; color: var(--tinta-suave); line-height: 1.5; }

.field__error {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: #9A3B45;
}
/* Estado de error del campo */
.field.has-error .field__input { border-color: #C2606A; background: #FDF4F4; }

/* ── Chips de horario (radios disfrazados) ─────────────────────────────── */
.chips { display: flex; gap: .55rem; }
.chip { flex: 1 1 0; cursor: pointer; }
.chip input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.chip__face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem .6rem;
  min-height: 48px;
  background: var(--crema);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio-sm);
  font-size: .92rem;
  color: var(--tinta-suave);
  transition: background var(--rapida), border-color var(--rapida), color var(--rapida);
}
.chip:hover .chip__face { border-color: var(--nude); }
.chip input:checked + .chip__face {
  background: var(--malva-fuerte);
  border-color: var(--malva-fuerte);
  color: var(--blanco);
}
.chip input:focus-visible + .chip__face {
  outline: 2px solid var(--malva-fuerte);
  outline-offset: 3px;
}

.form__status {
  min-height: 1.2em;
  font-size: .88rem;
  text-align: center;
  color: var(--tinta-suave);
}
.form__status.is-error { color: #9A3B45; }
.form__status.is-ok    { color: #2E6B4F; }


/* ==========================================================================
   11 · POLÍTICAS
   ========================================================================== */
.policies { display: grid; gap: .7rem; }
.policy {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.05rem 1.2rem;
  background: var(--blanco);
  border: 1px solid var(--crema-3);
  border-left: 2px solid var(--nude);
  border-radius: var(--radio-sm);
  font-size: .96rem;
  line-height: 1.6;
  transition: border-left-color var(--rapida), transform var(--rapida), box-shadow var(--rapida);
}
.policy:hover {
  border-left-color: var(--malva);
  transform: translateX(3px);
  box-shadow: var(--sombra-1);
}
.policy .ico { margin-top: .28rem; color: var(--dorado); }


/* ==========================================================================
   12 · PREGUNTAS FRECUENTES
   ========================================================================== */
.acc {
  border: 1px solid var(--crema-3);
  border-radius: var(--radio);
  background: var(--blanco);
  overflow: hidden;
  box-shadow: var(--sombra-1);
}
.acc__item + .acc__item { border-top: 1px solid var(--crema-3); }

.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: .004em;
  transition: color var(--rapida), background var(--rapida);
}
.acc__q::-webkit-details-marker { display: none; }
.acc__q:hover { color: var(--malva-fuerte); background: var(--crema); }

.acc__chev {
  flex: none;
  color: var(--dorado);
  transition: transform var(--media);
}
.acc__item[open] .acc__chev { transform: rotate(180deg); }
.acc__item[open] .acc__q    { color: var(--malva-fuerte); }

.acc__a {
  padding: 0 1.25rem 1.25rem;
  color: var(--tinta-suave);
  font-size: .96rem;
  line-height: 1.7;
}


/* ==========================================================================
   13 · UBICACIÓN
   ========================================================================== */
.place {
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra-2);
}
.place__map { position: relative; height: 190px; overflow: hidden; }
.place__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Difuminada a propósito: es ambiental, no señala la dirección exacta */
  filter: blur(5px) saturate(.72) brightness(1.06);
  transform: scale(1.12);
}
.place__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(232,196,196,.42), rgba(251,247,244,.9));
}
.place__pin {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--malva-fuerte);
  filter: drop-shadow(0 6px 14px rgba(58,46,46,.16));
}
.place__body { padding: clamp(1.5rem, 5vw, 2.2rem); }
/* Ciudad y estado, en una pastilla con el hilo dorado */
.place__zona {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .85rem;
  padding: .32rem .9rem;
  border: 1px solid var(--dorado-claro);
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--tinta-suave);
}
.place__zona .ico { color: var(--dorado); }

.place__text {
  margin-top: .9rem;
  margin-bottom: 1.5rem;
  color: var(--tinta-suave);
  text-wrap: pretty;
}


/* ==========================================================================
   14 · CONTACTO
   ========================================================================== */
.contact { display: grid; gap: .8rem; }

.contact__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  min-height: 78px;
  background: var(--blanco);
  border: 1px solid var(--crema-3);
  border-radius: var(--radio);
  box-shadow: var(--sombra-1);
  transition: transform var(--media), box-shadow var(--media), border-color var(--media);
}
.contact__card:hover {
  transform: translateY(-3px);
  border-color: var(--nude);
  box-shadow: var(--sombra-2);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--nude-claro);
  color: var(--malva);
  font-size: .95rem;
}
.contact__icon--wa { background: #E6F2EA; color: #2E6B4F; }
.contact__icon--ig { background: #F7E9F0; color: #96436F; }
.contact__icon--tt { background: #EBEBEF; color: #2E2E38; }

.contact__body { display: flex; flex-direction: column; min-width: 0; }
.contact__label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}
.contact__value {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.contact__go {
  margin-left: auto;
  flex: none;
  color: var(--dorado);
  transition: transform var(--rapida);
}
.contact__card:hover .contact__go { transform: translateX(4px); }


/* ==========================================================================
   15 · CIERRE
   ========================================================================== */
.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 12vw, 6rem);
  background: linear-gradient(180deg, var(--crema) 0%, var(--nude-claro) 100%);
  text-align: center;
}
.closing__blobs { position: absolute; inset: 0; pointer-events: none; }
.closing__inner { position: relative; }
.closing__spark { margin: 0 auto 1rem; color: var(--dorado); }
.closing__title { max-width: 18ch; margin-inline: auto; }
.closing__text {
  margin: 1rem auto 2rem;
  max-width: 40ch;
  color: var(--tinta-suave);
  font-size: 1.05rem;
}


/* ==========================================================================
   16 · PIE DE PÁGINA
   ========================================================================== */
.footer {
  padding-top: clamp(2.6rem, 8vw, 4rem);
  background: var(--tinta);
  color: #EFE6E3;
}
.footer__grid { display: grid; gap: 2.2rem; }

.footer .brand:hover { opacity: .82; }

.footer__tag {
  margin-top: 1rem;
  max-width: 34ch;
  color: #C3B5B2;
  font-size: .92rem;
  line-height: 1.65;
}
.footer__only {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  padding: .4rem .9rem;
  border: 1px solid rgba(201, 166, 107, .42);
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .07em;
  color: var(--dorado-claro);
}

.footer__title {
  margin-bottom: .9rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--dorado-claro);
}
.footer__nav ul,
.footer__contact ul { display: grid; gap: .5rem; }
.footer__nav a,
.footer__contact a {
  color: #D6C9C6;
  font-size: .93rem;
  transition: color var(--rapida), padding-left var(--rapida);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--blanco); padding-left: .25rem; }

.footer__social {
  display: flex;
  gap: .6rem;
  margin-top: 1.1rem;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(239, 230, 227, .2);
  border-radius: 50%;
  font-size: 1.05rem;
  color: #EFE6E3;
  transition: background var(--rapida), border-color var(--rapida),
              color var(--rapida), transform var(--rapida);
}
.footer__social a:hover {
  background: var(--dorado);
  border-color: var(--dorado);
  color: var(--tinta);
  transform: translateY(-3px);
}

.footer__bar {
  display: grid;
  gap: .4rem;
  margin-top: 2.6rem;
  /* Espacio extra abajo para que el botón flotante de WhatsApp no tape
     el aviso de derechos reservados en celular. */
  padding: 1.4rem 0 5.5rem;
  /* El separador debe ir dentro del ancho del contenedor */
  border-top: 1px solid rgba(239, 230, 227, .14);
  font-size: .8rem;
  color: #AD9F9C;
  text-align: center;
}
.footer__credit { opacity: .8; }


/* ==========================================================================
   17 · BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  background: #2E7D5B;
  color: var(--blanco);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .03em;
  box-shadow: 0 10px 28px rgba(46, 125, 91, .34);
  transition: transform var(--rapida), box-shadow var(--rapida), background var(--rapida);
}
.wa-float:hover {
  background: #266A4D;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(46, 125, 91, .42);
}
.wa-float .ico { width: 1.4em; height: 1.4em; }

/* Anillo de pulso muy sutil */
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(46, 125, 91, .55);
  animation: waPulse 2.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .65; }
  70%  { transform: scale(1.16); opacity: 0;   }
  100% { transform: scale(1.16); opacity: 0;   }
}
/* El pulso es un efecto intrusivo: se apaga con movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .wa-float__pulse { animation: none; opacity: .4; }
}


/* ==========================================================================
   18 · VISTA AMPLIADA DE FOTOS (LIGHTBOX)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .4rem;
  padding: 1rem;
  background: rgba(42, 33, 33, .93);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--media);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__fig {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 100%;
}
.lightbox__fig img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radio-sm);
  box-shadow: var(--sombra-3);
  object-fit: contain;
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.05rem;
  transition: background var(--rapida), transform var(--rapida);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .24); transform: scale(1.06); }

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}


/* ==========================================================================
   19 · PUNTOS DE QUIEBRE
   ========================================================================== */

/* ── ≥ 560 px · celulares grandes ──────────────────────────────────────── */
@media (min-width: 560px) {
  .values     { grid-template-columns: repeat(3, 1fr); }
  .value      { padding: 1.4rem 1.2rem; }
  .gallery    { columns: 3; column-gap: .8rem; }
  .gallery__item { margin-bottom: .8rem; }
  .field-row  { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact    { grid-template-columns: 1fr 1fr; }
  .footer__bar { grid-template-columns: 1fr auto; text-align: left; padding-bottom: 2.6rem; }
  .footer__bar .footer__credit { text-align: right; }
}

/* ── ≥ 768 px · tablet ─────────────────────────────────────────────────── */
@media (min-width: 768px) {
  :root { --gutter: 32px; --alto-header: 76px; }

  .svc-grid   { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
  .pay        { grid-template-columns: repeat(3, 1fr); }
  .pay__item  { flex-direction: column; text-align: center; gap: .8rem; padding: 2rem 1.2rem; }
  .policies   { grid-template-columns: 1fr 1fr; }
  .place      { display: grid; grid-template-columns: 300px 1fr; align-items: stretch; }
  .place__map { height: 100%; min-height: 260px; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.4rem; }
  .hero__actions .btn { flex: 0 1 auto; }
  .about__media { max-width: 100%; }
}

/* ── ≥ 1024 px · escritorio · aquí aparece el menú horizontal ──────────── */
@media (min-width: 1024px) {
  :root { --alto-header: 86px; }

  /* La navegación deja de ser panel y se vuelve barra */
  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    visibility: visible;
    overflow: visible;
    flex-direction: row;
    align-items: center;
  }
  .nav__list { flex-direction: row; align-items: center; gap: 1.55rem; }
  .nav__item--home { display: none; }  /* el logo ya lleva al inicio */
  .nav__link {
    position: relative;
    padding: .35rem 0;
    border: 0;
    font-family: var(--sans);
    font-size: .84rem;
    font-weight: 400;
    letter-spacing: .055em;
    color: var(--tinta);
  }
  .nav__link:hover,
  .nav__link.is-active { padding-left: 0; color: var(--malva-fuerte); }
  /* Subrayado dorado que crece al pasar el cursor */
  .nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--dorado);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--media);
  }
  .nav__link:hover::after,
  .nav__link.is-active::after { transform: scaleX(1); }

  .nav__foot { display: none; }
  .burger    { display: none; }
  .nav-scrim { display: none; }
  .site-header__cta { display: inline-flex; margin-left: 1.6rem; }

  .brand__mono { height: 38px; }
  .brand__name { font-size: .62rem; letter-spacing: .24em; padding-left: .85rem; }
  .brand__name::before { height: 30px; }

  /* Hero a dos columnas */
  .hero__grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 3.5rem;
  }
  .arch--hero { max-width: 100%; }

  /* Quiénes somos a dos columnas: aquí sí, foto a la izquierda */
  .about__grid  { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 4rem; }
  .about__media { order: 1; }
  .about__copy  { order: 2; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }

  .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .svc      { padding: 1.7rem 1.4rem 1.3rem; }

  .gallery  { columns: 4; column-gap: 1rem; }
  .gallery__item { margin-bottom: 1rem; }

  /* Pasos + formulario, lado a lado */
  .book__grid { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 4rem; }

  .section__head { margin-bottom: 3.4rem; }
  .contact { grid-template-columns: repeat(4, 1fr); }
  .contact__card { flex-direction: column; align-items: flex-start; min-height: 168px; padding: 1.5rem; }
  .contact__go { margin-left: 0; margin-top: auto; }

  .wa-float { right: 26px; bottom: 26px; padding: 1rem 1.35rem; }

  .lightbox { padding: 2.5rem 4rem; gap: 1.5rem; }
  .lightbox__close, .lightbox__nav { width: 54px; height: 54px; }
}

/* ── ≥ 1280 px · pantallas grandes ─────────────────────────────────────── */
@media (min-width: 1280px) {
  .nav__list { gap: 1.9rem; }
  .nav__link { font-size: .87rem; }
  .hero { padding-bottom: clamp(4rem, 8vw, 6rem); }
  .hero__grid { gap: 5rem; }
}

/* En pantallas anchas los blobs se agrandan un poco para llenar el espacio */
@media (min-width: 1440px) {
  .blob--1 { width: 460px; height: 460px; }
  .blob--2 { width: 400px; height: 400px; }
}


/* ==========================================================================
   20 · IMPRESIÓN
   ========================================================================== */
@media print {
  .site-header, .nav, .nav-scrim, .burger,
  .wa-float, .lightbox, .hero__blobs, .closing__blobs { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 1.2rem; page-break-inside: avoid; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .75em; }
}
