/* =====================================================================
   GoNails · motor visual de las páginas públicas (compartido por todos los salones)
   La identidad de cada salón entra por 4 tokens que define theme_css():
   --brand, --on-brand, --brand-ink, --font-head, --font-body.
   Todo lo demás se DERIVA de ellos: nunca se fijan colores de un salón concreto.
   ===================================================================== */
:root {
  --brand: #a3164f;
  --on-brand: #fff;
  --brand-ink: #a3164f;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: Montserrat, system-ui, sans-serif;

  /* Superficies y texto (neutros cálidos, válidos para cualquier marca) */
  --ivory: #fbf8f4;
  --paper: #ffffff;
  --ink: #221b20;
  --ink-2: #4a4248;
  --muted: #6f666c;
  --line: #ebe3dd;

  /* Derivados de la marca */
  --brand-deep: color-mix(in srgb, var(--brand) 62%, #12070c);
  --blush: color-mix(in srgb, var(--brand) 7%, var(--ivory));
  --blush-2: color-mix(in srgb, var(--brand) 15%, var(--ivory));
  --brand-line: color-mix(in srgb, var(--brand) 28%, var(--ivory));

  /* Escalas */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(34, 27, 32, .04), 0 2px 8px rgba(34, 27, 32, .04);
  --shadow-md: 0 2px 6px rgba(34, 27, 32, .05), 0 18px 40px -12px rgba(34, 27, 32, .16);
  --shadow-lg: 0 30px 70px -20px color-mix(in srgb, var(--brand-deep) 45%, transparent);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --t-fast: 180ms; --t-med: 280ms; --t-slow: 700ms;
  --nav-h: 72px;
  --z-nav: 40; --z-float: 30; --z-menu: 60;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font: 400 16px/1.65 var(--font-body); color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.1; font-weight: 600; }
h1, h2 { font-family: var(--font-head); letter-spacing: -.01em; }
em { font-style: italic; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.hidden, [hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--font-body); letter-spacing: .01em; border: 1.5px solid transparent; cursor: pointer; background: var(--paper); color: var(--ink); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background var(--t-med), color var(--t-med), border-color var(--t-med); touch-action: manipulation; white-space: nowrap; }
.pbtn .icon { transition: transform var(--t-med) var(--ease-out); }
.pbtn:hover .icon { transform: translateX(3px); }
.pbtn:active { transform: scale(.97); }
.pbtn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pbtn-brand { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.pbtn-brand:hover { background: color-mix(in srgb, var(--brand) 88%, #000); box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--brand) 80%, transparent); }
.pbtn-ghost { background: transparent; border-color: var(--line); }
.pbtn-ghost:hover { border-color: var(--ink); }
.pbtn-outline { background: transparent; border-color: currentColor; }
.pbtn-light { background: var(--ivory); color: var(--ink); }
.pbtn-light:hover { background: #fff; }
.pbtn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.pbtn-lg { min-height: 56px; padding: 0 32px; font-size: 15.5px; }
.pbtn-block { width: 100%; }

/* ---------- Navegación ---------- */
.pnav { position: sticky; top: 0; z-index: var(--z-nav); height: var(--nav-h); display: flex; align-items: center; background: color-mix(in srgb, var(--ivory) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med); }
.pnav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(34, 27, 32, .35); }
.pnav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pbrand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pbrand img, .pmark { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.pmark { display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 600 14px var(--font-body); }
.pbrand-name { font: 600 22px/1.1 var(--font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pnav-links { display: flex; gap: 4px; }
.pnav-links a { position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color var(--t-fast); }
.pnav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.pnav-links a:hover, .pnav-links a.is-current { color: var(--ink); }
.pnav-links a:hover::after, .pnav-links a.is-current::after { transform: scaleX(1); }
.pnav-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform var(--t-med) var(--ease-out); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; z-index: var(--z-menu); background: var(--ivory); padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateY(-8px); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font: 600 36px/1.2 var(--font-head); padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); transition-delay: calc(var(--i) * 45ms + 60ms); }
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 58%; height: 100%; background: radial-gradient(ellipse at 70% 30%, var(--blush-2), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.hero-eyebrow .sep { color: var(--brand-line); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #c2410c; position: relative; }
.status-dot.is-open { background: #16a34a; }
.status-dot.is-open::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #16a34a; opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-title { font-size: clamp(46px, 7.2vw, 92px); line-height: .98; font-weight: 600; letter-spacing: -.02em; margin-bottom: 22px; text-wrap: balance; }
.hero-title em { color: var(--brand-ink); font-weight: 500; }
.hero-lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 520px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 0; margin: 44px 0 0; padding: 0; }
.hero-facts div { padding: 0 28px; border-left: 1px solid var(--line); }
.hero-facts div:first-child { padding-left: 0; border: 0; }
.hero-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.hero-facts dd { white-space: nowrap; margin: 2px 0 0; font: 600 30px/1.1 var(--font-head); font-variant-numeric: lining-nums tabular-nums; }

.hero-visual { position: relative; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden; background: var(--blush-2); box-shadow: var(--shadow-lg); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-art { background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand) 55%, #fff) 0%, transparent 55%), linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); display: grid; place-items: center; }
.arch-monogram { font: italic 500 clamp(160px, 22vw, 300px)/1 var(--font-head); color: color-mix(in srgb, var(--on-brand) 85%, transparent); position: relative; z-index: 1; }
.orb { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-brand) 30%, transparent); }
.orb-1 { width: 70%; aspect-ratio: 1; top: 12%; left: -18%; }
.orb-2 { width: 55%; aspect-ratio: 1; bottom: -8%; right: -14%; background: color-mix(in srgb, var(--on-brand) 8%, transparent); }
.float-card { position: absolute; left: -36px; bottom: 44px; display: flex; gap: 12px; align-items: center; padding: 14px 20px 14px 14px; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-md); transition: transform var(--t-med) var(--ease-out); z-index: 2; }
.float-card:hover { transform: translateY(-3px); }
.float-card b { display: block; font-size: 14.5px; }
.float-card small { color: var(--muted); font-size: 13px; }
.float-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blush-2); color: var(--brand-ink); }
.float-chip { position: absolute; right: -14px; top: 18%; display: inline-flex; gap: 6px; align-items: center; padding: 10px 16px; background: var(--paper); border-radius: 999px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-md); z-index: 2; }

/* Entrada del hero (se anima una sola vez al cargar) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-in { animation: heroIn 900ms var(--ease-out) both; animation-delay: calc(var(--d) * 110ms + 80ms); }
  .js .hero-visual.hero-in { animation-name: heroVisual; animation-duration: 1200ms; }
  .js .hero-visual .arch img { animation: heroZoom 1800ms var(--ease-out) both; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroVisual { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ---------- Marquesina de categorías ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 18px 0; }
.marquee-track { display: flex; gap: 32px; width: max-content; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font: italic 500 26px/1 var(--font-head); color: var(--ink-2); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--brand-ink); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.psec { padding: clamp(72px, 9vw, 120px) 0; }
.psec-tint { background: var(--blush); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .18em; margin-bottom: 14px; font-family: var(--font-body); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.02; margin: 0; text-wrap: balance; }
.sec-title em { color: var(--brand-ink); font-weight: 500; }

/* Filtros */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 14px var(--font-body); color: var(--ink-2); cursor: pointer; transition: background var(--t-med) var(--ease-out), color var(--t-med), border-color var(--t-med), transform var(--t-fast); }
.filter span { font-size: 12px; color: var(--muted); min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--ivory); transition: inherit; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter:active { transform: scale(.96); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }

/* Tarjetas de servicio */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med), opacity var(--t-med); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blush-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-media-art { display: grid; place-items: center; }
.svc-mono { font: italic 500 92px/1 var(--font-head); color: var(--brand-ink); opacity: .55; transition: transform 900ms var(--ease-out); }
.svc-card:hover .svc-mono { transform: scale(1.08) rotate(-4deg); }
.svc-media-art.v0 { background: radial-gradient(circle at 80% 10%, var(--blush-2), var(--blush) 60%); }
.svc-media-art.v1 { background: radial-gradient(circle at 15% 90%, var(--brand-line), var(--blush) 65%); }
.svc-media-art.v2 { background: linear-gradient(135deg, var(--blush) 0%, var(--blush-2) 100%); }
.svc-media-art::after { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--brand-line); top: 40%; left: -20%; }
.svc-cat { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--ink-2); z-index: 1; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.svc-body h3 { font: 600 26px/1.15 var(--font-head); margin: 0 0 8px; }
.svc-body p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-meta { display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--muted); }
.svc-extras { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--blush); color: var(--brand-ink); font-size: 12px; font-weight: 600; }
.svc-price { font: 600 24px/1 var(--font-head); font-variant-numeric: lining-nums tabular-nums; }
.svc-book { margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 999px; background: var(--blush); color: var(--brand-ink); font-weight: 600; font-size: 14.5px; transition: background var(--t-med), color var(--t-med); }
.svc-book .icon { transition: transform var(--t-med) var(--ease-out); }
.svc-book:hover { background: var(--brand); color: var(--on-brand); }
.svc-book:hover .icon { transform: translateX(3px); }
/* Transición de filtros */
.svc-grid.is-leaving .svc-card { opacity: 0; transform: translateY(8px); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--blush-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), filter var(--t-med); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0, 0, 0, .25)); opacity: 0; transition: opacity var(--t-med); }
.g-item:hover::after { opacity: 1; }
.gallery-few { grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: 300px; }
.gallery:not(.gallery-few) .g-0, .gallery:not(.gallery-few) .g-5 { grid-row: span 2; }
.gallery:not(.gallery-few) .g-3 { grid-column: span 2; }
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(15, 10, 13, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn var(--t-med) var(--ease-out); }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 80dvh; width: auto; margin: 0 auto; border-radius: var(--r-sm); animation: lbIn var(--t-med) var(--ease-out); }
.lightbox figcaption { margin-top: 14px; color: #ddd; font-size: 15px; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background var(--t-fast); }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-text { margin-top: 26px; font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 60ch; }
.hours-card { background: var(--paper); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.hours-card h3 { font: 600 26px/1.2 var(--font-head); margin-bottom: 18px; }
.hours-card ul { list-style: none; margin: 0; padding: 0; }
.hours-card li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.hours-card li:last-child { border: 0; }
.hours-card li.is-today { color: var(--brand-ink); font-weight: 600; }
.hours-card li small { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; padding: 2px 7px; border-radius: 99px; background: var(--blush-2); margin-left: 6px; }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.member { margin: 0; }
.member-ph { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--c) 22%, var(--ivory)), color-mix(in srgb, var(--c) 8%, var(--ivory))); display: grid; place-items: center; margin-bottom: 18px; }
.member-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.member:hover .member-ph img { transform: scale(1.04); }
.member-ph span { font: italic 500 72px/1 var(--font-head); color: color-mix(in srgb, var(--c) 75%, #000); opacity: .7; }
.member h3 { font: 600 24px/1.2 var(--font-head); margin: 0; }
.member-role { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-ink); font-weight: 600; }
.member p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.contact-solo { grid-template-columns: minmax(0, 560px); }
.contact-list { display: grid; gap: 12px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.contact-item:hover { border-color: var(--brand-line); transform: translateX(4px); }
.contact-item .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blush-2); color: var(--brand-ink); flex-shrink: 0; }
.contact-item small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-item > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.contact-item .go { color: var(--muted); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--blush); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.25) contrast(1.02); }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 96px) 24px; border-radius: var(--r-xl); background: radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--brand) 70%, transparent), transparent 55%), var(--brand-deep); color: #fff; }
.cta-band::after { content: ""; position: absolute; width: 480px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); right: -160px; bottom: -240px; }
.cta-band .kicker, .cta-band .sec-title em { color: color-mix(in srgb, var(--brand) 35%, #fff); }
.cta-band .kicker { justify-content: center; }
.cta-band p { color: rgba(255, 255, 255, .78); font-size: 17px; margin: 16px 0 32px; }

/* ---------- Footer ---------- */
.pfoot { border-top: 1px solid var(--line); padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--ink-2); font-size: 14.5px; }
.pfoot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pfoot-grid p { margin: 0 0 6px; }
.pfoot-tag { margin-top: 14px !important; color: var(--muted); max-width: 320px; }
.pfoot-h { font: 600 12px var(--font-body); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 0 0 12px; }
.pfoot a:hover { color: var(--brand-ink); }
.pfoot-social { display: flex; gap: 8px; margin-top: 12px; }
.pfoot-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: border-color var(--t-fast), color var(--t-fast); }
.pfoot-social a:hover { border-color: var(--brand-ink); }
.pfoot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); z-index: var(--z-float); transition: transform var(--t-med) var(--ease-out), bottom var(--t-med) var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }
.book-bar { display: none; }

/* ---------- Revelado al hacer scroll (componente reutilizable: [data-reveal]) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-motion) [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js:not(.no-motion) [data-reveal].is-visible { opacity: 1; transform: none; }
  .js:not(.no-motion) .svc-card[data-reveal].is-visible { transition: opacity var(--t-slow) var(--ease-out) calc(var(--i, 0) * 70ms), transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}

/* =====================================================================
   Reserva en línea (pages/public/reservar.php)
   ===================================================================== */
.book { padding: 40px 0 80px; }
.book-back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; min-height: 44px; }
.book-back:hover { color: var(--ink); }
.book h1 { font-size: clamp(38px, 5vw, 56px); margin: 4px 0 0; }
.book h1 em { color: var(--brand-ink); font-weight: 500; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; margin-top: 8px; }
.steps-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 26px 0 30px; list-style: none; padding: 0; }
.steps-bar li { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.steps-bar li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line); margin-bottom: 10px; transition: background var(--t-med); }
.steps-bar li.on { color: var(--ink); }
.steps-bar li.on::before { background: var(--brand); }
[data-step]:not(.hidden) { animation: stepIn var(--t-med) var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step-title { font: 600 32px/1.15 var(--font-head); margin: 0 0 20px; }
.opt-list { display: grid; gap: 10px; }
.opt { display: flex; gap: 16px; align-items: center; width: 100%; min-height: 64px; text-align: left; padding: 16px 20px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; font: inherit; color: inherit; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-med); }
.opt:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.opt:active { transform: scale(.99); }
.opt.sel { border-color: var(--brand); background: var(--blush); }
.opt b { display: block; font-weight: 600; }
.opt small { color: var(--muted); font-size: 13.5px; }
.opt .grow { flex: 1; min-width: 0; }
.opt .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; flex-shrink: 0; object-fit: cover; }
.opt-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-ink); margin: 18px 0 2px; }
.opt-cat:first-child { margin-top: 0; }
.month-label { font-weight: 600; margin: 0 0 12px; text-transform: capitalize; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: 0 0 70px; min-height: 76px; padding: 12px 6px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--paper); text-align: center; cursor: pointer; font: inherit; color: inherit; scroll-snap-align: start; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); }
.day:hover:not(:disabled) { border-color: var(--brand-line); }
.day:active:not(:disabled) { transform: scale(.96); }
.day small { display: block; font-size: 12px; color: var(--muted); text-transform: capitalize; }
.day b { display: block; font: 600 24px/1.2 var(--font-head); }
.day.sel { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.day.sel small { color: inherit; opacity: .85; }
.day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 20px; }
.slot { min-height: 46px; padding: 0 6px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper); font: 600 14.5px var(--font-body); cursor: pointer; color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); animation: fadeUp var(--t-med) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 18ms); }
.slot:hover { border-color: var(--brand); }
.slot:active { transform: scale(.95); }
.slot.sel { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.slot-skel { min-height: 46px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--blush) 0%, var(--blush-2) 50%, var(--blush) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.slots-msg { padding: 28px 18px; text-align: center; color: var(--muted); background: var(--blush); border-radius: var(--r-md); margin-top: 20px; }
.slots-msg .pbtn { margin-top: 12px; }
.slot-group { grid-column: 1 / -1; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: .12em; }
.pfield { margin-bottom: 16px; }
.pfield label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.pfield input, .pfield textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.pfield input:focus, .pfield textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.pfield.has-error input { border-color: #b91c1c; }
.field-error { display: block; color: #b91c1c; font-size: 13.5px; margin-top: 6px; }
.step-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }
.link-back { background: none; border: 0; color: var(--muted); font: 600 15px var(--font-body); cursor: pointer; min-height: 44px; padding: 0; }
.link-back:hover { color: var(--ink); }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.summary h2 { font: 600 26px/1.2 var(--font-head); margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sum-row span:first-child { color: var(--muted); }
.sum-row span:last-child { text-align: right; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-weight: 600; }
.sum-total span:last-child { font: 600 30px/1 var(--font-head); }
.perror { display: flex; gap: 10px; align-items: flex-start; background: #fdecec; color: #8f1414; padding: 14px 18px; border-radius: var(--r-md); margin: 18px 0 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Extras del servicio */
.opt-extras-hint { display: inline-block; margin-top: 4px; color: var(--brand-ink) !important; font-weight: 600; font-size: 12.5px !important; }
.extras-panel { margin: -4px 0 6px; padding: 18px 20px; border: 1.5px solid var(--brand); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); background: var(--paper); animation: fadeUp var(--t-med) var(--ease-out); }
.opt.sel[aria-expanded="true"] { border-radius: var(--r-md) var(--r-md) 0 0; }
.extras-title { margin: 0 0 6px; font-weight: 600; font-size: 14.5px; }
.extras-title span { color: var(--muted); font-weight: 400; }
.extra-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); transition: background var(--t-fast); }
.extra-row:last-of-type { border-bottom: 0; }
.extra-row .grow { flex: 1; min-width: 0; }
.extra-photo-btn { position: relative; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; flex-shrink: 0; background: var(--blush); }
.extra-photo-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med) var(--ease-out); }
.extra-photo-btn span { position: absolute; inset: auto 0 0; padding: 2px 0; font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); text-align: center; }
.extra-photo-btn:hover img { transform: scale(1.08); }
.extra-row b { display: block; font-weight: 600; font-size: 15px; }
.extra-row small { display: block; color: var(--muted); font-size: 13px; }
.extra-row .extra-desc { margin-top: 2px; }
.extra-row.on b { color: var(--brand-ink); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--ivory); flex-shrink: 0; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font: 600 20px/1 var(--font-body); color: var(--ink); cursor: pointer; transition: background var(--t-fast), transform var(--t-fast); touch-action: manipulation; }
.stepper button:hover:not(:disabled) { background: var(--blush-2); }
.stepper button:active:not(:disabled) { transform: scale(.9); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.toggle { position: relative; width: 52px; height: 32px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; flex-shrink: 0; transition: background var(--t-med); }
.toggle span { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform var(--t-med) var(--ease-out); }
.toggle.on { background: var(--brand); }
.toggle.on span { transform: translateX(20px); }
.extras-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.extras-foot b { font-variant-numeric: tabular-nums; }
.sum-row.sum-extra { font-size: 13.5px; padding: 8px 0; }
.sum-row.sum-extra span:first-child { color: var(--brand-ink); }
.sum-row.sum-extra span:last-child { font-weight: 500; }
.confirm-extras { margin: 0; padding: 0; list-style: none; text-align: right; }

/* Foto de referencia del cliente */
.label-like { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ref-drop { position: relative; display: block; border: 1.5px dashed var(--brand-line); border-radius: var(--r-md); background: var(--blush); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); overflow: hidden; }
.ref-drop:hover, .ref-drop.is-drag { border-color: var(--brand); background: var(--blush-2); }
.ref-drop:focus-within { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.ref-drop.has-error { border-color: #b91c1c; }
.ref-drop.has-file { border-style: solid; background: var(--paper); }
.ref-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.ref-empty { display: grid; justify-items: center; gap: 4px; padding: 22px 16px; text-align: center; color: var(--brand-ink); pointer-events: none; }
.ref-empty b { color: var(--ink); font-size: 15px; }
.ref-empty small { color: var(--muted); font-size: 13px; }
.ref-preview { display: flex; align-items: center; gap: 14px; padding: 12px; pointer-events: none; font-size: 14px; overflow-wrap: anywhere; }
.ref-preview img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; animation: fadeUp var(--t-med) var(--ease-out); }
.ref-remove { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: #b91c1c; }
#ref-help { display: block; margin-top: 6px; font-size: 13px; }
.ref-shot { display: block; margin: 18px auto 0; max-width: 260px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.ref-shot img { width: 100%; height: auto; }
.ref-shot figcaption { padding: 8px; font-size: 13px; color: var(--muted); }

/* Confirmación de cita */
.confirm-card { max-width: 580px; margin: 48px auto 72px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 44px); text-align: center; box-shadow: var(--shadow-md); animation: heroIn 700ms var(--ease-out) both; }
.confirm-card h1 { font-size: clamp(32px, 5vw, 42px); }
.confirm-ico { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--blush-2); color: var(--brand-ink); }
.confirm-ico .icon { animation: pop 600ms var(--ease-out) 200ms both; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.15); } to { transform: scale(1); } }
.confirm-ico.bad { background: #fdecec; color: #b91c1c; }
.confirm-card .sum-row { text-align: left; }
.confirm-actions { display: grid; gap: 10px; margin-top: 26px; }
.status-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--blush-2); color: var(--brand-ink); margin-bottom: 10px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pnav-links { display: none; }
  .menu-toggle { display: inline-block; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .wrap { width: calc(100% - 32px); }
  .hero-grid, .about, .contact, .book-grid, .pfoot-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; width: 86%; margin: 8px auto 0; }
  .arch { aspect-ratio: 5 / 4.6; }
  .float-card { left: -6%; bottom: 18px; }
  .float-chip { right: -6%; top: 10%; }
  .hero-facts { margin-top: 32px; }
  .hero-facts div { padding: 0 14px; }
  .hero-facts dt { font-size: 11px; letter-spacing: .1em; }
  .hero-facts dd { font-size: 22px; }
  .sec-head { margin-bottom: 28px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; width: calc(100% + 32px); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .gallery-few { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .summary { position: static; padding: 20px; }
  .steps-bar li { font-size: 0; }
  .map, .map iframe { min-height: 280px; }
  .pbrand-name { font-size: 20px; }
  /* Barra inferior de reserva en móvil */
  .book-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--ivory) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform var(--t-med) var(--ease-out); }
  .book-bar.is-shown { transform: none; }
  .book-bar.is-shown ~ .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); }
  /* En móvil WhatsApp aparece al pasar el hero, para no tapar los botones principales */
  .js .wa-float { width: 52px; height: 52px; opacity: 0; transform: scale(.8); pointer-events: none; transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), bottom var(--t-med) var(--ease-out); }
  .js body.past-hero .wa-float, .js.no-motion .wa-float { opacity: 1; transform: none; pointer-events: auto; }
  .pfoot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(44px, 12.5vw, 60px); }
  .hero-cta .pbtn { flex: 1 1 100%; }
  .pnav-actions .pbtn-sm { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; transform: none; }
}
