/* ==========================================================================
   Web pública v2 · Un solo motivo: la forma de la uña (var(--nail)).
   Colores claro/oscuro y opciones de diseño llegan desde el panel:
   <html data-buttons data-radius data-shadows data-header data-density data-type-scale
         data-anim-style data-anim-speed data-hover data-cursor data-theme>
   ========================================================================== */

:root {
  --r: 20px; --r-sm: 14px; --r-xs: 10px;
  --btn-r: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1320px;
  --header-h: 72px;
  --pad: clamp(80px, 8.5vw, 136px);
  --fs: 1;
  --spd: 1;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --step-small: calc(clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem) * var(--fs));
  --step-body: calc(clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem) * var(--fs));
  --step-lead: calc(clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem) * var(--fs));
  --step-head: calc(clamp(2.125rem, 1.4rem + 3vw, 4rem) * var(--fs));
  --step-display: calc(clamp(2.6rem, 1.3rem + 3.6vw, 4.6rem) * var(--fs));
  --sh-1: none; --sh-2: none; --sh-3: none; --sh-btn: none;
}
/* Opciones de diseño */
[data-radius="sharp"] { --r: 6px; --r-sm: 6px; --r-xs: 4px; }
[data-radius="round"] { --r: 30px; --r-sm: 20px; --r-xs: 14px; }
[data-buttons="rounded"] { --btn-r: 14px; }
[data-buttons="square"] { --btn-r: 4px; }
[data-density="compact"] { --pad: clamp(60px, 6vw, 96px); }
[data-density="airy"] { --pad: clamp(104px, 11vw, 184px); }
[data-type-scale="small"] { --fs: 0.93; }
[data-type-scale="large"] { --fs: 1.08; }
[data-anim-speed="calm"] { --spd: 1.45; }
[data-anim-speed="snappy"] { --spd: 0.65; }
[data-shadows="soft"] {
  --sh-1: 0 1px 2px hsl(var(--shadow-color) / .06), 0 2px 8px hsl(var(--shadow-color) / .05);
  --sh-2: 0 2px 6px hsl(var(--shadow-color) / .06), 0 12px 32px -8px hsl(var(--shadow-color) / .14);
  --sh-3: 0 4px 12px hsl(var(--shadow-color) / .08), 0 28px 64px -16px hsl(var(--shadow-color) / .26);
  --sh-btn: 0 6px 18px -6px color-mix(in srgb, var(--accent) 55%, transparent);
}
[data-shadows="medium"] {
  --sh-1: 0 1px 3px hsl(var(--shadow-color) / .1), 0 4px 14px hsl(var(--shadow-color) / .08);
  --sh-2: 0 4px 10px hsl(var(--shadow-color) / .1), 0 18px 44px -10px hsl(var(--shadow-color) / .22);
  --sh-3: 0 8px 20px hsl(var(--shadow-color) / .12), 0 40px 80px -20px hsl(var(--shadow-color) / .34);
  --sh-btn: 0 10px 24px -8px color-mix(in srgb, var(--accent) 65%, transparent);
}
[data-shadows="strong"] {
  --sh-1: 0 2px 6px hsl(var(--shadow-color) / .14), 0 8px 22px hsl(var(--shadow-color) / .12);
  --sh-2: 0 6px 16px hsl(var(--shadow-color) / .16), 0 26px 60px -12px hsl(var(--shadow-color) / .32);
  --sh-3: 0 12px 28px hsl(var(--shadow-color) / .18), 0 56px 110px -24px hsl(var(--shadow-color) / .45);
  --sh-btn: 0 14px 30px -8px color-mix(in srgb, var(--accent) 75%, transparent);
}
:root[data-theme="dark"] { --sh-btn: none; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html.fx-smooth { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-text); font-size: var(--step-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga";
  caret-color: var(--accent); transition: background-color 400ms ease, color 400ms ease;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1.5px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: color-mix(in srgb, var(--ink) 28%, transparent) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink) 24%, transparent); border-radius: 10px; border: 3px solid var(--bg); }
.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; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; text-decoration: none; transition: top 200ms var(--ease-out); }
.skip:focus { top: 16px; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 0.8125rem; font-weight: 500; margin-right: 10px; }
.pill .ic { width: 14px; height: 14px; color: var(--accent-text); }

/* ---------- Tipografía ---------- */
.h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-head); line-height: 1.04; letter-spacing: var(--display-track); text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem) * var(--fs)); line-height: 1.08; letter-spacing: var(--display-track); }
.lead { font-size: var(--step-lead); line-height: 1.5; max-width: 40ch; text-wrap: pretty; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent-text); text-decoration: none; }
.textlink .ic { transition: transform calc(220ms * var(--spd)) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .textlink:hover .ic { transform: translateX(4px); } .textlink:hover { text-decoration: underline; } }
.linklike { text-decoration: underline; text-underline-offset: 0.2em; }
.fineprint { font-size: var(--step-small); line-height: 1.5; color: var(--muted); }

/* ---------- El motivo ---------- */
.nail { border-radius: var(--nail); overflow: hidden; transition: border-radius 700ms var(--ease-in-out); isolation: isolate; }
.nail--swatch { position: relative; display: block; width: 100%; height: 100%; background: var(--polish); border-radius: inherit; }
.nail__gloss { position: absolute; left: 22%; top: 12%; width: 13%; height: 46%; border-radius: 999px; background: #fff; opacity: .28; transform: rotate(-8deg); }
.nail__fill { display: block; width: 100%; height: 100%; }

/* ---------- Botones: una forma, tres alturas, mismo ancho mínimo ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); min-width: calc(var(--h) * 2.6); padding: 0 24px; border-radius: var(--btn-r);
  font-weight: 500; font-size: 1rem; line-height: 1; white-space: nowrap; text-decoration: none; isolation: isolate; overflow: hidden;
  transition: transform calc(180ms * var(--spd)) var(--ease-out), background-color 220ms ease, color 220ms ease, box-shadow 260ms ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn .ic { width: 18px; height: 18px; transition: transform calc(260ms * var(--spd)) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 0.9375rem; min-width: 0; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-btn); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { background: var(--surface-2); color: var(--ink); }
.btn--light { background: var(--field-ink); color: var(--field); }
.btn--accent::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-hover); }
  .btn--accent:hover::before { transform: translateX(120%); transition: transform calc(900ms * var(--spd)) var(--ease-out); }
  .btn--ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
  .btn--ghost:hover { background: color-mix(in srgb, var(--surface-2) 80%, var(--ink) 9%); }
  .btn:hover .ic { transform: translateX(3px); }
  [data-hover="lift"] .btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
  [data-hover="lift"] .btn--accent:hover { box-shadow: var(--sh-btn), var(--sh-2); }
  [data-hover="glow"] .btn--accent:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 10px 30px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
}
.btn.is-loading > span, .btn.is-loading > .ic { opacity: 0; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 520ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-done { pointer-events: none; }

.iconbtn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface-2); color: var(--ink); transition: transform 160ms var(--ease-out), background-color 200ms ease; flex: none; }
.iconbtn .ic { width: 20px; height: 20px; }
.iconbtn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .iconbtn:hover { background: color-mix(in srgb, var(--surface-2) 80%, var(--ink) 10%); } }

/* ---------- Banners de promoción (franja superior) ---------- */
.promo-bar { position: relative; z-index: 41; overflow: hidden; color: var(--accent-ink); background: var(--accent); font-size: var(--step-small); transition: background-color 400ms ease, color 400ms ease, max-height 420ms var(--ease-out); max-height: 120px; }
.promo-bar[data-style="ink"], .promo-bar--ink { background: var(--ink); color: var(--bg); }
.promo-bar--tint { background: var(--tint); color: var(--ink); }
.promo-bar--surface { background: var(--surface); color: var(--ink); }
.promo-bar--field { background: var(--field); color: var(--field-ink); }
.promo-bar--outline { background: var(--bg); color: var(--ink); box-shadow: inset 0 -1px 0 var(--line); }
.promo-bar.is-closed { max-height: 0; }
.promo-bar__track { display: grid; padding: 10px 56px; }
.promo-bar__item { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; opacity: 0; transform: translateY(70%); transition: opacity calc(450ms * var(--spd)) ease, transform calc(600ms * var(--spd)) var(--ease-out); pointer-events: none; }
.promo-bar__item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.promo-bar__item.is-leaving { opacity: 0; transform: translateY(-70%); }
.promo-bar__icon .ic { width: 18px; height: 18px; }
.fx-icons .promo-bar__icon .ic { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(12deg); } }
.promo-bar__link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: underline; }
.promo-bar__link .ic { width: 15px; height: 15px; }
.promo-bar__close { position: absolute; right: 10px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; color: inherit; opacity: .8; }
.promo-bar__close .ic { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .promo-bar__close:hover { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); } }
.promo-code { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1.5px dashed currentColor; font-weight: 600; letter-spacing: 0.04em; color: inherit; transition: background-color 200ms ease; }
.promo-code .ic { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .promo-code:hover { background: color-mix(in srgb, currentColor 12%, transparent); } }
.promo-code.is-copied { background: color-mix(in srgb, currentColor 18%, transparent); }
.promo-countdown { font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 640px) { .promo-bar__track { padding: 10px 44px 10px 16px; } .promo-bar__item { justify-content: flex-start; text-align: left; gap: 6px 10px; } }

.scroll-progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: var(--bg); transition: background-color 300ms ease, box-shadow 300ms ease, transform calc(450ms * var(--spd)) var(--ease-out); }
[data-header="glass"] .site-header.is-scrolled { background: var(--glass); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 color-mix(in srgb, var(--line) 70%, transparent), var(--sh-1); }
[data-header="solid"] .site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), var(--sh-1); }
[data-header="transparent"] .site-header { background: transparent; }
[data-header="transparent"] .site-header.is-scrolled { background: var(--bg); box-shadow: var(--sh-1); }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: var(--gutter); max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-dot { width: 14px; height: 21px; border-radius: var(--nail); background: var(--accent); flex: none; transition: border-radius 700ms var(--ease-in-out), transform 400ms var(--ease-spring); }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand-dot { transform: rotate(-12deg) scale(1.1); } }
.brand-word { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.3rem; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-logo { width: auto; }
.brand-logo--dark { display: none; }
:root[data-theme="dark"] .brand-logo--light { display: none; }
:root[data-theme="dark"] .brand-logo--dark { display: block; }
@media (prefers-color-scheme: dark) { :root[data-mode="auto"]:not([data-theme="light"]) .brand-logo--light { display: none; } :root[data-mode="auto"]:not([data-theme="light"]) .brand-logo--dark { display: block; } }
.nav ul { display: flex; gap: 2px; align-items: center; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 0.9688rem; font-weight: 500; transition: color 200ms ease; }
.nav__link .ic { width: 16px; height: 16px; transition: transform 250ms var(--ease-out); }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform calc(320ms * var(--spd)) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover::after { transform: scaleX(1); } }
.nav__link.is-current::after { transform: scaleX(1); }
.nav__more { position: relative; }
.nav__more [aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav__drop { position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; padding: 8px; border-radius: var(--r-sm); background: var(--bg); box-shadow: var(--sh-3), 0 0 0 1px var(--line); display: grid; gap: 2px; transform-origin: top right; animation: popIn calc(200ms * var(--spd)) var(--ease-out); }
.nav__drop[hidden] { display: none; }
@keyframes popIn { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }
.nav__droplink { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .nav__droplink:hover { background: var(--surface-2); } }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__portal .ic { width: 18px; height: 18px; }
.menu-toggle { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: none; place-items: center; }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 320ms var(--ease-out); }
.menu-toggle__bars i:first-child { top: 0; } .menu-toggle__bars i:last-child { bottom: 0; }
.menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1400px) { .nav__link { padding: 0 10px; font-size: 0.9375rem; } .nav__link::after { left: 10px; right: 10px; } .site-header__inner { gap: 14px; } }
@media (max-width: 1240px) { .site-header__portal span { display: none; } }
.nav__link { white-space: nowrap; }
.brand { flex: none; }
.nav { min-width: 0; }
@media (max-width: 1120px) { .nav { display: none; } .menu-toggle { display: inline-grid; } .site-header__portal { display: none; } }
@media (max-width: 520px) { .site-header__actions > .btn--accent { display: none; } }

/* Interruptor claro/oscuro: el sol se convierte en luna */
.mode-toggle { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.mode-toggle:active { transform: scale(0.95); }
.mode-toggle__svg { width: 22px; height: 22px; overflow: visible; }
.mode-toggle__sun { transform-origin: center; transition: r 500ms var(--ease-out); }
.mode-toggle__cut { transition: cx 500ms var(--ease-out), cy 500ms var(--ease-out); cx: 30; cy: 0; }
.mode-toggle__rays { transform-origin: 12px 12px; transition: transform 500ms var(--ease-out), opacity 300ms ease; }
:root[data-theme="dark"] .mode-toggle__cut { cx: 17; cy: 7; }
:root[data-theme="dark"] .mode-toggle__sun { r: 8; }
:root[data-theme="dark"] .mode-toggle__rays { transform: rotate(90deg) scale(0.5); opacity: 0; }
@media (prefers-color-scheme: dark) {
  :root[data-mode="auto"]:not([data-theme="light"]) .mode-toggle__cut { cx: 17; cy: 7; }
  :root[data-mode="auto"]:not([data-theme="light"]) .mode-toggle__sun { r: 8; }
  :root[data-mode="auto"]:not([data-theme="light"]) .mode-toggle__rays { transform: rotate(90deg) scale(0.5); opacity: 0; }
}

/* Menú móvil a pantalla completa */
.menu { position: fixed; inset: 0; z-index: 35; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) max(24px, env(safe-area-inset-bottom)); display: flex; clip-path: circle(0% at calc(100% - 44px) 36px); transition: clip-path calc(620ms * var(--spd)) var(--ease-in-out); }
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); }
.menu[hidden] { display: none; }
.menu__inner { display: flex; flex-direction: column; justify-content: space-between; width: 100%; gap: 32px; overflow-y: auto; }
.menu__list li { overflow: hidden; }
.menu__list a { display: block; padding: 6px 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem, 8.5vw, 3.25rem); line-height: 1.1; letter-spacing: var(--display-track); text-decoration: none; transform: translateY(105%); transition: transform calc(600ms * var(--spd)) var(--ease-out), color 200ms ease; transition-delay: calc(120ms + var(--i) * 45ms); }
.menu.is-open .menu__list a { transform: none; }
@media (hover: hover) and (pointer: fine) { .menu__list a:hover { color: var(--accent-text); } }
.menu__foot { display: grid; gap: 10px; opacity: 0; transform: translateY(12px); transition: opacity 400ms ease 300ms, transform 500ms var(--ease-out) 300ms; }
.menu.is-open .menu__foot { opacity: 1; transform: none; }
.menu__foot .social { margin-top: 8px; }
html.menu-open { overflow: hidden; }

.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: transform 200ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .social a:hover { transform: translateY(-2px); background: var(--accent); color: var(--accent-ink); } }
.social .ic { width: 20px; height: 20px; }
.social--on-accent a { background: color-mix(in srgb, var(--accent-ink) 16%, transparent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .social--on-accent a:hover { background: var(--accent-ink); color: var(--accent); } }

/* ---------- Secciones y fondos elegibles ---------- */
.section { padding-block: var(--pad); position: relative; }
[data-section-bg] { background: var(--sbg); color: var(--sink); --muted: var(--smuted); }
[data-section-bg="surface"] { --sbg: var(--surface); --sink: var(--ink); --smuted: var(--muted); }
[data-section-bg="tint"] { --sbg: var(--tint); --sink: var(--ink); --smuted: color-mix(in srgb, var(--ink) 78%, var(--tint)); --surface-2: color-mix(in srgb, var(--tint) 80%, var(--ink) 10%); }
[data-section-bg="field"] { --sbg: var(--field); --sink: var(--field-ink); --smuted: color-mix(in srgb, var(--field-ink) 74%, var(--field)); --ink: var(--field-ink); --bg: var(--field); --surface: color-mix(in srgb, var(--field) 88%, var(--field-ink)); --surface-2: color-mix(in srgb, var(--field) 82%, var(--field-ink)); --line: color-mix(in srgb, var(--field) 74%, var(--field-ink)); --accent-text: color-mix(in srgb, var(--accent) 60%, var(--field-ink)); }
[data-section-bg="accent"] { --sbg: var(--accent); --sink: var(--accent-ink); --smuted: color-mix(in srgb, var(--accent-ink) 82%, var(--accent)); --ink: var(--accent-ink); --bg: var(--accent); --surface: color-mix(in srgb, var(--accent) 86%, var(--accent-ink)); --surface-2: color-mix(in srgb, var(--accent) 80%, var(--accent-ink)); --line: color-mix(in srgb, var(--accent) 70%, var(--accent-ink)); --accent-text: var(--accent-ink); }
[data-section-bg="accent"] .btn--accent { background: var(--accent-ink); color: var(--accent); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 88px); }
.section__head--split { grid-template-columns: 5fr 6fr; align-items: end; gap: 24px 8%; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }

/* ---------- Portada ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px 12px; min-height: calc(100svh - var(--header-h)); }
.hero__card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.hero__band { display: flex; height: 52px; flex: none; }
.hero__band span { flex: 1; background: var(--polish); transform-origin: top; }
.hero__body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: clamp(32px, 5vw, 76px) clamp(24px, 4.5vw, 76px); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; }
.chip-info { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 0.9063rem; box-shadow: var(--sh-1), 0 0 0 1px var(--line); transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
@media (hover: hover) and (pointer: fine) { .chip-info:hover { transform: translateY(-1px); box-shadow: var(--sh-2), 0 0 0 1px var(--line); } }
.chip-info[hidden] { display: none; }
.chip-info--live { animation: chipIn calc(600ms * var(--spd)) var(--ease-spring); }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(0.96); } }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1f9d5a; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.stars { display: inline-flex; gap: 1px; color: color-mix(in srgb, var(--ink) 26%, transparent); }
.stars .ic { width: 16px; height: 16px; }
.stars .is-on { color: #e2a52a; }
.stars--sm .ic { width: 14px; height: 14px; }
.stars--lg .ic { width: 22px; height: 22px; }
.hero__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-display); line-height: 1.02; letter-spacing: var(--display-track); text-wrap: balance; max-width: 16ch; }
.hero__text { font-size: var(--step-lead); line-height: 1.5; max-width: 38ch; }
.hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 10px; }
.hero__actions .btn { width: 100%; padding: 0 16px; }
.hero__actions .btn:only-child { grid-column: span 1; }
.hero__stage { position: relative; border-radius: var(--r); background: var(--tint); overflow: hidden; min-height: 520px; }
.hero__glow { display: none; position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 10%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 30%, transparent), transparent); filter: blur(30px); opacity: .7; }
.hero__nail { position: absolute; left: 50%; bottom: -12%; width: min(60%, 540px); aspect-ratio: 0.66; transform: translateX(-50%); background: var(--accent); box-shadow: var(--sh-3); }
.hero__nail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity calc(1400ms * var(--spd)) ease, transform calc(6000ms * var(--spd)) linear; }
.hero__nail img.is-on { opacity: 1; transform: scale(1); }
.hero__nail:has(img) { background: transparent; }
.hero__nail:has(img)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); pointer-events: none; }
.hero__polish { position: absolute; inset: 0; }
.hero__dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__dots i { width: 6px; height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 30%, transparent); transition: width 400ms var(--ease-out), background-color 300ms ease; }
.hero__dots i.is-on { width: 18px; background: var(--ink); }
.hero--full { grid-template-columns: 1fr; position: relative; }
.hero--full .hero__stage { position: absolute; inset: 0 12px 12px; min-height: 0; }
.hero--full .hero__nail { width: min(42%, 520px); left: auto; right: 6%; transform: none; }
.hero--full .hero__card { position: relative; z-index: 1; width: min(640px, 100%); margin: 40px; background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.shape-picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.shape-picker legend { font-size: var(--step-small); font-weight: 500; margin-bottom: 10px; padding: 0; }
.shape-picker__row { display: grid; grid-template-columns: repeat(5, 72px); gap: 6px; }
.shape-opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px 10px; border-radius: var(--r-xs); cursor: pointer; transition: background-color 200ms ease; }
.shape-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.shape-opt__nail { width: 22px; height: 34px; background: color-mix(in srgb, var(--ink) 18%, var(--surface)); transition: background-color 220ms ease, transform calc(400ms * var(--spd)) var(--ease-spring); }
.shape-opt__label { font-size: 0.8125rem; line-height: 1.2; text-align: center; color: var(--muted); }
.shape-opt input:checked ~ .shape-opt__nail { background: var(--accent); transform: translateY(-3px) scale(1.08); }
.shape-opt input:checked ~ .shape-opt__label { color: var(--ink); font-weight: 500; }
.shape-opt input:focus-visible ~ .shape-opt__nail { outline: 2px solid var(--accent-text); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .shape-opt:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__stage { order: -1; min-height: 0; height: 50svh; }
  .hero__nail { width: min(56%, 300px); bottom: -16%; }
  .hero__card { margin-top: -32px; z-index: 1; }
  .hero__band { height: 38px; }
  .hero__body { padding: 26px 20px 28px; gap: 20px; }
  .hero__title { font-size: calc(clamp(2.3rem, 10vw, 3.3rem) * var(--fs)); }
  .hero__actions { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { --h: 52px; font-size: 0.9688rem; }
  .shape-picker__row { grid-template-columns: repeat(5, 1fr); }
  .hero--full .hero__stage { position: relative; inset: auto; height: 50svh; }
  .hero--full .hero__card { margin: -32px 0 0; width: 100%; }
  .hero--full .hero__nail { left: 50%; right: auto; transform: translateX(-50%); width: min(56%, 300px); }
}

/* ---------- Frase ---------- */
.intro { padding: clamp(96px, 16vh, 184px) var(--gutter) clamp(24px, 4vh, 48px); display: flex; justify-content: center; }
.intro__text { max-width: min(880px, 70vw); font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.5rem, 1rem + 1.9vw, 2.25rem) * var(--fs)); line-height: 1.28; letter-spacing: -0.015em; text-align: center; text-wrap: balance; }
.intro__thumb { display: inline-block; height: 1.05em; width: 0.7em; margin: 0 0.14em; vertical-align: -0.16em; border-radius: var(--nail); overflow: hidden; box-shadow: var(--sh-1); transition: border-radius 700ms var(--ease-in-out), transform 400ms var(--ease-spring); }
@media (hover: hover) and (pointer: fine) { .intro__thumb:hover { transform: scale(1.5) rotate(-6deg); } }
.intro__thumb img { width: 100%; height: 100%; object-fit: cover; }
.intro__thumb .nail { width: 100%; height: 100%; }
@media (max-width: 700px) { .intro__text { max-width: none; text-align: left; font-size: 1.3rem; } .intro { justify-content: flex-start; padding-block: 88px; } }

/* ---------- Servicios ---------- */
.services__tabs { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; background: var(--sbg, var(--bg)); padding: 12px 0; margin-bottom: 8px; }
.services__tabs::-webkit-scrollbar { display: none; }
.services__tabs a { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--surface-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; transition: background-color 250ms ease, color 250ms ease; }
.services__tabs a.is-current { background: var(--ink); color: var(--bg); }
.menu-cat { padding-top: clamp(56px, 7vw, 96px); }
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.menu-cat__count { color: var(--muted); font-size: 1rem; white-space: nowrap; }
.menu-cat__desc { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.menu-item { display: grid; grid-template-columns: 56px 1fr 44px; gap: 18px; align-items: center; padding: 16px 18px 16px 16px; border-radius: var(--r-sm); background: var(--surface); transition: transform 300ms var(--ease-out), box-shadow 300ms ease, background-color 300ms ease; }
@media (hover: hover) and (pointer: fine) { [data-hover="lift"] .menu-item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); } [data-hover="glow"] .menu-item:hover { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); } }
.menu-item.is-picked { background: var(--tint); }
.menu-item__pic { width: 56px; height: 80px; background: var(--surface-2); align-self: start; }
.menu-item__pic img { width: 100%; height: 100%; object-fit: cover; }
.menu-item__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.menu-item__name { font-weight: 600; font-size: 1.0938rem; line-height: 1.3; }
.menu-item__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item__desc { color: var(--muted); font-size: 0.9688rem; line-height: 1.5; margin-top: 4px; max-width: 46ch; }
.menu-item__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: var(--step-small); color: var(--muted); }
.menu-item__meta span { display: inline-flex; align-items: center; gap: 6px; }
.menu-item__meta .ic { width: 16px; height: 16px; }
.menu-item__note { color: var(--accent-text); font-weight: 500; }
.add { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: background-color 220ms ease, color 220ms ease, transform 300ms var(--ease-spring), box-shadow 220ms ease; }
.add:active { transform: scale(0.94); }
.add__icon { position: relative; width: 20px; height: 20px; }
.add .ic { position: absolute; inset: 0; width: 20px; height: 20px; transition: opacity 200ms ease, transform 350ms var(--ease-spring), filter 200ms ease; }
.add__check { opacity: 0; transform: scale(0.4) rotate(-45deg); filter: blur(2px); }
.add[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-btn); }
.add[aria-pressed="true"] .add__plus { opacity: 0; transform: rotate(90deg) scale(0.5); filter: blur(2px); }
.add[aria-pressed="true"] .add__check { opacity: 1; transform: none; filter: none; }
@media (max-width: 860px) {
  .menu-list { grid-template-columns: 1fr; gap: 10px; }
  .menu-item { grid-template-columns: 48px 1fr 44px; gap: 14px; padding: 14px; }
  .menu-item__pic { width: 48px; height: 68px; }
  .menu-item { grid-template-columns: 44px 1fr 40px; gap: 12px; }
  .menu-item__pic { width: 44px; height: 62px; }
  .menu-item__row { flex-direction: column; gap: 2px; }
  .menu-item__price { color: var(--accent-text); }
}

/* ---------- Trabajos ---------- */
.gallery__split { display: grid; grid-template-columns: 5fr 6fr; gap: 48px 8%; align-items: center; }
.gallery__copy { display: grid; gap: 22px; justify-items: start; }
.gallery__caption { min-height: 1.6em; color: var(--muted); font-size: var(--step-small); transition: opacity 300ms ease, filter 300ms ease, transform 300ms ease; }
.gallery__caption.is-swapping { opacity: 0; filter: blur(3px); transform: translateY(4px); }
.frame { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 0.68; background: var(--surface); cursor: pointer; box-shadow: var(--sh-3); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity calc(900ms * var(--spd)) ease, transform calc(1400ms * var(--spd)) var(--ease-out); }
.frame img.is-on { opacity: 1; transform: none; }
.frame__progress { position: absolute; left: 22%; right: 22%; bottom: 8%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.frame__progress i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.frame.is-running .frame__progress i { animation: bar var(--hold, 3000ms) linear; }
@keyframes bar { to { transform: scaleX(1); } }
#trabajos-todos { margin-top: clamp(80px, 10vw, 160px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); font-size: 0.9375rem; font-weight: 500; transition: background-color 220ms ease, color 220ms ease, transform 160ms var(--ease-out); }
.chip__n { font-size: 0.8125rem; opacity: .7; font-variant-numeric: tabular-nums; }
.chip:active { transform: scale(0.96); }
.chip.is-on { background: var(--ink); color: var(--bg); }
.masonry { columns: 3 280px; column-gap: 14px; }
.masonry__item { break-inside: avoid; margin-bottom: 14px; }
.masonry__item.is-hidden { display: none; }
.tile { position: relative; display: block; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface); transform-style: preserve-3d; transition: transform 500ms var(--ease-out), box-shadow 400ms ease; }
.tile img { width: 100%; transition: transform 900ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.42), transparent 45%); opacity: 0; transition: opacity 300ms ease; }
.tile__title { position: absolute; left: 14px; bottom: 14px; z-index: 1; max-width: calc(100% - 28px); color: #fff; font-size: 0.9375rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity 300ms ease, transform 400ms var(--ease-out); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) { .tile:hover { box-shadow: var(--sh-3); } .tile:hover img { transform: scale(1.05); } .tile:hover::after { opacity: 1; } .tile:hover .tile__title { opacity: 1; transform: none; } }
@media (hover: none) { .tile::after { opacity: 1; } .tile__title { opacity: 1; transform: none; } }
@media (max-width: 860px) { .gallery__split { grid-template-columns: 1fr; } .frame { width: 72vw; } .masonry { columns: 2; column-gap: 8px; } .masonry__item { margin-bottom: 8px; } .tile { border-radius: var(--r-sm); } }

/* ---------- Cómo funciona ---------- */
.accordion { display: flex; height: 480px; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); }
.acc { position: relative; flex: 0 0 96px; background: var(--bgc); color: var(--fg); transition: flex-grow calc(560ms * var(--spd)) var(--ease-in-out), flex-basis calc(560ms * var(--spd)) var(--ease-in-out); overflow: hidden; }
.acc.is-open { flex: 1 1 auto; }
.acc__h { position: absolute; inset: 0; margin: 0; }
.acc__btn { position: absolute; inset: 0; width: 100%; text-align: left; color: inherit; }
.acc__btn span { position: absolute; left: 32px; bottom: 32px; transform-origin: left bottom; transform: rotate(-90deg) translateY(100%); white-space: nowrap; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.375rem; transition: opacity 260ms ease; }
@media (hover: hover) and (pointer: fine) { .acc:not(.is-open):hover { filter: brightness(1.06); } }
.acc.is-open .acc__btn { pointer-events: none; }
.acc.is-open .acc__btn span { opacity: 0; }
.acc__panel { position: absolute; inset: 0; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 360ms ease, transform 560ms var(--ease-out), visibility 0s linear 360ms; min-width: 340px; }
.acc.is-open .acc__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 240ms, 240ms, 0s; }
.acc__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); letter-spacing: var(--display-track); line-height: 1; }
.acc__text { font-size: var(--step-lead); line-height: 1.5; max-width: 34ch; }
@media (max-width: 860px) {
  .accordion { flex-direction: column; height: auto; }
  .acc, .acc.is-open { flex: none; }
  .acc__h { position: static; }
  .acc__btn { position: relative; display: block; height: 64px; padding: 0 20px; }
  .acc__btn span { position: static; transform: none; display: flex; align-items: center; height: 100%; font-size: 1.125rem; }
  .acc.is-open .acc__btn span { opacity: 1; }
  .acc__panel { position: static; min-width: 0; padding: 0 20px 24px; display: none; transform: none; }
  .acc.is-open .acc__panel { display: block; }
  .acc__title { display: none; }
  .acc__text { font-size: 1.0625rem; }
}

/* ---------- Sobre mí ---------- */
.about { padding-inline: 20px; }
.about__panel { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; min-height: 92svh; background: var(--field); color: var(--field-ink); border-radius: var(--r); overflow: hidden; padding: 56px; box-shadow: var(--sh-2); }
.about__left { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.about__left .h2 { max-width: 11ch; }
.about__pic { width: min(36vw, 500px); aspect-ratio: 0.68; margin-bottom: -18%; background: var(--accent); box-shadow: var(--sh-3); }
.about__pic img { width: 100%; height: 100%; object-fit: cover; }
.about__right { display: flex; flex-direction: column; gap: 48px; align-items: flex-start; padding-top: 12px; }
.about__block { max-width: 36ch; }
.about__h { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.2; margin-bottom: 12px; }
@media (max-width: 860px) {
  .about { padding-inline: 10px; }
  .about__panel { grid-template-columns: 1fr; padding: 32px 22px 0; min-height: 0; gap: 32px; }
  .about__left { display: contents; }
  .about__right { order: 1; gap: 32px; }
  .about__pic { order: 2; width: min(62vw, 300px); justify-self: center; margin-bottom: -30%; margin-top: 0; }
}

/* ---------- Equipo ---------- */
.team__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 48px 24px; }
.person { display: grid; gap: 6px; align-content: start; }
.person__pic { display: block; width: 100%; aspect-ratio: 0.72; background: var(--surface); margin-bottom: 14px; box-shadow: var(--sh-2); transition: transform 500ms var(--ease-out); }
.person__pic img { width: 100%; height: 100%; object-fit: cover; }
.person__initial { display: grid; place-items: center; font-family: var(--font-display); font-size: 4rem; color: #fff; }
.person__name { font-weight: 600; font-size: 1.25rem; }
.person__role { color: var(--muted); }
.person__bio { margin-top: 4px; font-size: 1rem; }
.person .textlink { margin-top: 8px; }

/* ---------- Bonos ---------- */
.promos__split { display: grid; grid-template-columns: 5fr 6fr; gap: 48px 8%; }
.promos__list { display: grid; gap: 12px; }
.promo { display: grid; grid-template-columns: 22px 1fr; gap: 18px; padding: 22px; border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--sh-1); }
.promo__dot { width: 22px; height: 32px; background: var(--accent); margin-top: 2px; }
.promo__row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.promo__t { font-weight: 600; font-size: 1.1875rem; }
.promo__p { font-weight: 600; white-space: nowrap; }
.promo__d { color: var(--muted); margin-top: 4px; }
@media (max-width: 860px) { .promos__split { grid-template-columns: 1fr; } }

/* ---------- Novedades ---------- */
.news__list { display: grid; gap: clamp(40px, 5vw, 64px); }
.post { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.post__pic { display: block; width: 100%; aspect-ratio: 0.72; background: var(--surface); box-shadow: var(--sh-2); }
.post__pic img { width: 100%; height: 100%; object-fit: cover; }
.post__body { display: grid; gap: 10px; max-width: 64ch; }
.post:not(:has(.post__pic)) { grid-template-columns: 1fr; }
.post__date { color: var(--muted); font-size: var(--step-small); display: flex; align-items: center; }
.post__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.5rem, 1.2rem + 1vw, 2.125rem) * var(--fs)); line-height: 1.12; letter-spacing: var(--display-track); }
@media (max-width: 700px) { .post { grid-template-columns: 96px 1fr; gap: 18px; } }

/* ---------- Opiniones ---------- */
.reviews__layout { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.rsum { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; padding: 28px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-2); }
.rsum__avg { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 4rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rsum__n { color: var(--muted); }
.rsum__empty { color: var(--muted); }
.rsum__bars { display: grid; gap: 6px; margin: 4px 0 8px; }
.rsum__bars li { display: grid; grid-template-columns: 12px 14px 1fr 28px; gap: 8px; align-items: center; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.rsum__bars .ic { width: 14px; height: 14px; color: #e2a52a; }
.rsum__track { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.rsum__track i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: var(--accent); transform-origin: left; }
.js.fx-anim .rsum:not(.is-in) .rsum__track i { transform: scaleX(0); }
.rsum.is-in .rsum__track i { transition: transform calc(1100ms * var(--spd)) var(--ease-out) 200ms; }
.rsum__pct { text-align: right; color: var(--muted); }
.rsum__how { font-size: var(--step-small); color: var(--muted); }
.rsum__how summary { cursor: pointer; font-weight: 500; color: var(--ink); }
.rsum__how p { margin-top: 8px; line-height: 1.5; }
.reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); min-height: 100%; transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) { [data-hover="lift"] .review:hover { transform: translateY(-3px); box-shadow: var(--sh-2); } }
.review[hidden] { display: none; }
.review__top { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.review__avatar { width: 44px; height: 44px; border-radius: var(--nail); background: var(--tint); color: var(--ink); display: grid; place-items: center; font-weight: 600; transition: border-radius 700ms var(--ease-in-out); }
.review__by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; line-height: 1.3; }
.review__ver { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8125rem; font-weight: 500; color: #1f7a4d; }
:root[data-theme="dark"] .review__ver { color: #6fd29c; }
.review__ver .ic { width: 15px; height: 15px; }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.8125rem; color: var(--muted); }
.review__text { margin: 0; font-size: 1rem; line-height: 1.6; }
.review__text[data-clamp] p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__text.is-open p { -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; font-weight: 500; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; font-size: 0.9375rem; }
.review__photo { border-radius: var(--r-sm); background: var(--bg); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.review__photo-btn { width: 100%; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 0.9375rem; font-weight: 500; }
.review__photo-btn .ic { width: 18px; height: 18px; }
.review__chev { margin-left: auto; transition: transform 350ms var(--ease-out); }
.review__photo.is-open .review__chev { transform: rotate(180deg); }
.review__photo-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows calc(450ms * var(--spd)) var(--ease-out); }
.review__photo.is-open .review__photo-wrap { grid-template-rows: 1fr; }
.review__photo-img { display: block; overflow: hidden; min-height: 0; padding: 0 10px; }
.review__photo.is-open .review__photo-img { padding-bottom: 10px; }
.review__photo-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xs); }
.review__reply { padding: 14px 16px; border-radius: var(--r-xs); background: var(--tint); font-size: 0.9375rem; }
.review__reply-by { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 4px; }
.review__reply-by .ic { width: 16px; height: 16px; color: var(--accent-text); }
.reviews__morewrap { grid-column: 2; }
@media (max-width: 1000px) { .reviews__layout { grid-template-columns: 1fr; } .rsum { position: static; } .reviews__morewrap { grid-column: 1; } }
@media (max-width: 700px) { .reviews__list { grid-template-columns: 1fr; } }
/* Formulario de opinión: estrellas */
.rate { border: 0; margin: 0; padding: 0; }
.rate .label { padding: 0; margin-bottom: 8px; font-weight: 500; font-size: 0.9375rem; }
.rate__row { display: flex; gap: 6px; flex-direction: row; align-items: center; }
.rate__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__s { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: color-mix(in srgb, var(--ink) 22%, transparent); transition: color 160ms ease, transform 300ms var(--ease-spring), background-color 160ms ease; }
.rate__s .ic { width: 30px; height: 30px; }
.rate__zero { font-weight: 600; font-size: 0.9375rem; background: var(--surface-2); color: var(--muted); width: 38px; }
.rate__s.is-lit { color: #e2a52a; }
@media (hover: hover) and (pointer: fine) { .rate__s:hover { transform: scale(1.12); } }
.rate__row input:focus-visible + .rate__s { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.rate__row input:checked + .rate__s { transform: scale(1.06); }
.rate__label { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); min-height: 1.5em; }
.photo-drop { position: relative; display: grid; place-items: center; min-height: 120px; border-radius: var(--r-sm); border: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease; overflow: hidden; }
.photo-drop.is-over { border-color: var(--accent); background: var(--tint); }
@media (hover: hover) and (pointer: fine) { .photo-drop:hover { border-color: var(--accent); background: var(--tint); } }
.photo-drop__empty { display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: 0.9375rem; }
.photo-drop__empty .ic { width: 26px; height: 26px; }
.photo-drop__prev { position: relative; width: 100%; }
.photo-drop__prev img { width: 100%; max-height: 220px; object-fit: cover; }
.photo-drop__prev .iconbtn { position: absolute; top: 8px; right: 8px; background: var(--bg); box-shadow: var(--sh-2); }

/* ---------- Preguntas ---------- */
.faq__split { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.faq__h { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; }
.faq__help { color: var(--muted); }
.faq__help a { color: var(--accent-text); font-weight: 500; }
.faq__list { display: grid; gap: 8px; }
.qa { background: var(--surface); border-radius: var(--r-sm); transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease; interpolate-size: allow-keywords; }
@media (hover: hover) and (pointer: fine) { .qa:hover { box-shadow: var(--sh-1); } }
.qa::details-content { height: 0; overflow: clip; transition: height calc(380ms * var(--spd)) var(--ease-out), content-visibility calc(380ms * var(--spd)) allow-discrete; }
.qa[open]::details-content { height: auto; }
.qa[open] { background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-btn); }
.qa__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 18px 24px; cursor: pointer; font-weight: 500; font-size: 1.125rem; line-height: 1.35; border-radius: var(--r-sm); }
.qa__q::-webkit-details-marker { display: none; }
.qa__sign { position: relative; flex: none; width: 16px; height: 16px; }
.qa__sign i { position: absolute; left: 0; top: 50%; width: 16px; height: 2.5px; margin-top: -1.25px; border-radius: 2px; background: currentColor; transition: transform 340ms var(--ease-out); }
.qa__sign i:last-child { transform: rotate(90deg); }
.qa[open] .qa__sign i:last-child { transform: rotate(0deg); }
.qa__a { padding: 0 24px 26px; }
.qa__a p { max-width: 58ch; font-size: 1.0313rem; }
@media (max-width: 860px) { .faq__split { grid-template-columns: 1fr; } .faq__h { position: static; } .qa__q { font-size: 1.0313rem; min-height: 64px; padding: 16px 20px; } .qa__a { padding: 0 20px 22px; } }

/* ---------- Newsletter ---------- */
.newsbox { display: grid; grid-template-columns: auto 1fr 1.1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-2); }
.newsbox__icon { width: 64px; height: 92px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.newsbox__icon .ic { width: 28px; height: 28px; }
.newsbox__copy { display: grid; gap: 8px; }
.newsbox__copy p { color: var(--muted); }
.news-form { display: grid; gap: 12px; }
.news-form__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.news-form__row input { min-width: 0; }
@media (max-width: 960px) { .newsbox { grid-template-columns: 1fr; } .newsbox__icon { width: 52px; height: 74px; } }
@media (max-width: 520px) { .news-form__row { grid-template-columns: 1fr; } }

/* ---------- Horario y ubicación ---------- */
.location__split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 8%; align-items: start; }
.open-state { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: 0.9375rem; font-weight: 500; }
.open-state:not(.is-open) .live-dot { background: var(--muted); }
.open-state:not(.is-open) .live-dot::after { display: none; }
.hours { width: 100%; max-width: 460px; margin-top: 28px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--accent-text); }
.location__place { display: grid; gap: 14px; }
.place { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: var(--r-sm); background: var(--surface); }
.place__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); }
.place__icon .ic { width: 24px; height: 24px; color: var(--accent-text); }
.place__t { font-weight: 600; font-size: 1.125rem; }
.place__d { color: var(--muted); }
.place-cta { display: grid; gap: 12px; justify-items: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--tint); color: var(--tint-ink); box-shadow: var(--sh-1); }
.place-cta__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--accent-text); box-shadow: var(--sh-1); }
.place-cta__ic .ic { width: 24px; height: 24px; }
.place-cta__t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.2; }
.place-cta__d { color: color-mix(in srgb, var(--tint-ink) 78%, var(--tint)); max-width: 40ch; }
.place-cta__next { font-weight: 600; font-size: var(--step-small); }
.place-cta .btn { margin-top: 6px; }
.reviews__layout--empty { display: block; }
.reviews__layout--empty .rsum { position: static; max-width: 520px; margin-inline: auto; text-align: center; justify-items: center; padding: 40px 32px; }
.reviews__layout--empty .rsum .btn { width: auto; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--sh-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.map__pin { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-btn); }
.fx-icons .map__pin .ic { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.map__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map__actions .btn { width: 100%; }
@media (max-width: 860px) { .location__split { grid-template-columns: 1fr; } }

/* ---------- Contacto (cupón) ---------- */
.coupon {
  --notch: 28px;
  position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--accent); color: var(--accent-ink); border-radius: var(--r);
  filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--accent) 30%, transparent));
  -webkit-mask: radial-gradient(circle var(--notch) at 42% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 42% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 42% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 42% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
[data-shadows="none"] .coupon { filter: none; }
.coupon__left { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 56px 48px; }
.coupon__left::after { content: ""; position: absolute; right: 0; top: 48px; bottom: 48px; border-right: 5px dotted var(--bg); }
.coupon__h { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(2rem, 1.4rem + 2.2vw, 3.25rem) * var(--fs)); line-height: 1.04; letter-spacing: var(--display-track); max-width: 9ch; }
.coupon__text { max-width: 30ch; }
.coupon__form { display: grid; gap: 14px; padding: 56px 48px; }
.coupon .fineprint, .coupon .check__label { color: var(--accent-ink); }
.coupon .check__label a, .coupon .fineprint a { color: inherit; }
.coupon input:not([type=checkbox]), .coupon textarea { background: color-mix(in srgb, var(--accent-ink) 92%, var(--accent)); color: #161314; }
.coupon .check__box { background: color-mix(in srgb, var(--accent-ink) 92%, var(--accent)); }
@media (max-width: 860px) {
  .coupon { grid-template-columns: 1fr; -webkit-mask: radial-gradient(circle var(--notch) at 0 34%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 34%, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle var(--notch) at 0 34%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 34%, #0000 98%, #000) right / 51% 100% no-repeat; }
  .coupon__left { padding: 36px 24px 40px; }
  .coupon__left::after { left: 36px; right: 36px; top: auto; bottom: 0; border-right: 0; border-bottom: 5px dotted var(--bg); }
  .coupon__form { padding: 36px 24px 32px; }
}

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label, .field .label { font-size: 0.9375rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), textarea, select {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-xs); border: 1.5px solid transparent;
  background: var(--bg); color: var(--ink); font-size: 1rem; line-height: 1.4; box-shadow: 0 0 0 1px var(--line);
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
textarea { resize: vertical; min-height: 104px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #d22b45; animation: shake 360ms var(--ease-out); }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.bk input:not([type=checkbox]):not([type=radio]), .bk textarea, .sheet input:not([type=checkbox]):not([type=radio]):not([type=file]), .sheet textarea { background: var(--surface); box-shadow: none; }
.check { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 0.9375rem; line-height: 1.45; }
.check--sm { font-size: 0.875rem; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check__box { width: 24px; height: 24px; border-radius: 8px; background: var(--bg); color: var(--accent-ink); display: grid; place-items: center; transition: background-color 200ms ease, transform 300ms var(--ease-spring); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 32%, transparent); }
.check__box .ic { width: 16px; height: 16px; opacity: 0; transform: scale(.5); transition: opacity 180ms ease, transform 300ms var(--ease-spring); }
.check input:checked + .check__box { background: var(--ink); color: var(--bg); box-shadow: none; transform: scale(1.06); }
.check input:checked + .check__box .ic { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.check__label a { color: var(--accent-text); }
.bk .check__box, .sheet .check__box { background: var(--surface); }

/* ---------- Pie ---------- */
.site-footer { background: var(--field); color: var(--field-ink); padding: clamp(72px, 10vw, 140px) 0 32px; margin-top: var(--pad); }
.mark { display: flex; align-items: flex-end; gap: 4px; height: clamp(150px, 28svh, 320px); }
.mark__nail { flex: 1 1 0; min-width: 0; height: calc(var(--h) * 1%); border-radius: var(--nail); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8%; transition: border-radius 700ms var(--ease-in-out), transform 500ms var(--ease-spring); }
@media (hover: hover) and (pointer: fine) { .mark__nail:hover { transform: translateY(-8px); } }
.mark__nail b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1rem, 3vw, 2.75rem); line-height: 1; }
.mark__nail--accent { background: var(--accent); color: var(--accent-ink); }
.mark__nail--ink { background: var(--field-ink); color: var(--field); }
.mark__nail--tint { background: var(--tint); color: var(--tint-ink); }
.mark__nail--surface { background: color-mix(in srgb, var(--field) 80%, var(--field-ink)); color: var(--field-ink); }
.mark__gap { flex: 0 0 2%; }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.4fr; gap: 40px; margin-top: 64px; }
.site-footer__h { font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a:not(.btn), .site-footer .linklike { text-decoration: none; font-size: 0.9688rem; color: var(--field-ink); }
@media (hover: hover) and (pointer: fine) { .site-footer a:not(.btn):hover, .site-footer .linklike:hover { text-decoration: underline; } }
.site-footer__contact { display: grid; gap: 6px; align-content: start; font-size: 0.9688rem; }
.site-footer__contact p { font-size: inherit; max-width: 30ch; }
.site-footer__contact .social { margin-top: 12px; }
.site-footer .social a { background: color-mix(in srgb, var(--field-ink) 12%, transparent); }
.site-footer__news { display: grid; gap: 10px; align-content: start; }
.site-footer__news > p { color: color-mix(in srgb, var(--field-ink) 78%, var(--field)); font-size: 0.9375rem; }
.site-footer__news input { background: color-mix(in srgb, var(--field) 86%, var(--field-ink)) !important; color: var(--field-ink) !important; box-shadow: none !important; }
.site-footer__news input::placeholder { color: color-mix(in srgb, var(--field-ink) 70%, var(--field)); }
.site-footer__news .check__label, .site-footer__news .check__label a { color: var(--field-ink); }
.site-footer__news .check__box { background: color-mix(in srgb, var(--field) 86%, var(--field-ink)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--field-ink) 40%, transparent); }
.site-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--field-ink) 16%, transparent); font-size: var(--step-small); }
@media (max-width: 1000px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } .site-footer__contact, .site-footer__news { grid-column: span 1; } }
@media (max-width: 860px) {
  .mark { flex-wrap: wrap; height: auto; row-gap: 6px; }
  .mark__nail { flex: 0 0 calc((100% - 4px * 7) / 8); height: calc(var(--h) * 0.2vw + 40px); }
  .mark__nail b { font-size: 6vw; }
  .mark__gap { display: none; }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; } .site-footer__contact, .site-footer__news { grid-column: 1 / -1; } .site-footer ul { gap: 6px; } }

/* ---------- Flotantes ---------- */
.cartbar { position: fixed; z-index: 30; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--ink); color: var(--bg); transform: translate(-50%, 0); transition: transform calc(520ms * var(--spd)) var(--ease-spring), opacity 300ms ease; box-shadow: var(--sh-3); }
.cartbar[hidden] { display: flex; transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.cartbar.is-bump { animation: bump 420ms var(--ease-spring); }
@keyframes bump { 40% { transform: translate(-50%, -6px) scale(1.03); } }
.cartbar__count { font-weight: 600; font-size: 0.9375rem; line-height: 1.2; }
.cartbar__sum { font-size: 0.875rem; opacity: .82; line-height: 1.2; font-variant-numeric: tabular-nums; }
.to-top { position: fixed; z-index: 25; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: var(--sh-2); opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; transition: opacity 300ms ease, transform 400ms var(--ease-spring); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__track { fill: none; stroke: var(--line); stroke-width: 2.5; }
.to-top__ring { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.to-top > .ic { width: 20px; height: 20px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .to-top:hover > .ic { transform: translateY(-3px); } }
.wa-float { position: fixed; z-index: 25; right: 20px; bottom: 84px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f9d5a; color: #fff; box-shadow: 0 10px 24px -6px rgba(31, 157, 90, .6); transition: transform 300ms var(--ease-spring); }
.wa-float .ic { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.08); } }
.fx-icons .wa-float { animation: waIn 700ms var(--ease-spring) 1.6s both; }
@keyframes waIn { from { transform: translateY(12px) scale(0.92); opacity: 0; } }
.wa-float__tip { position: absolute; right: calc(100% + 10px); white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 0.875rem; font-weight: 500; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity 200ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover .wa-float__tip { opacity: 1; transform: none; } }
.bookbar { display: none; }
@media (max-width: 760px) {
  .bookbar { position: fixed; z-index: 28; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: var(--sh-3), 0 0 0 1px var(--line); transform: translateY(140%); transition: transform calc(500ms * var(--spd)) var(--ease-spring); }
  .bookbar:has(> :only-child) { grid-template-columns: 1fr; }
  .bookbar.is-on { transform: none; }
  .bookbar .btn { --h: 50px; min-width: 0; padding: 0 12px; }
  .bookbar.is-on ~ .to-top, body:has(.bookbar.is-on) .to-top { bottom: 92px; }
  body:has(.bookbar.is-on) .wa-float { bottom: 156px; }
  body:has(.bookbar.is-on) .cartbar { bottom: 92px; }
  .to-top { right: 14px; } .wa-float { right: 14px; }
}

/* ---------- Hojas (diálogos) ---------- */
dialog { color: var(--ink); }
.sheet { position: fixed; margin: 0; padding: 0; border: 0; background: var(--bg); max-width: none; max-height: none; overflow: hidden; box-shadow: var(--sh-3); }
.sheet::backdrop { background: var(--scrim); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 360ms ease; }
.sheet.is-in::backdrop { opacity: 1; }
.sheet--book { inset: 0 0 0 auto; width: min(580px, 100vw); height: 100dvh; border-radius: var(--r) 0 0 var(--r); transform: translateX(100%); transition: transform calc(560ms * var(--spd)) var(--ease-drawer); }
.sheet--book.is-in { transform: none; }
.sheet--small { inset: auto 0 0 0; margin: 0 auto; width: min(640px, 100vw); border-radius: var(--r) var(--r) 0 0; transform: translateY(100%); transition: transform calc(480ms * var(--spd)) var(--ease-drawer); }
.sheet--small.is-in { transform: none; }
@media (min-width: 761px) { .sheet--review { inset: 0; margin: auto; height: fit-content; max-height: 92dvh; border-radius: var(--r); transform: translateY(24px) scale(0.97); opacity: 0; transition: transform calc(420ms * var(--spd)) var(--ease-out), opacity 300ms ease; } .sheet--review.is-in { transform: none; opacity: 1; } }
@media (max-width: 640px) { .sheet--book { inset: auto 0 0 0; width: 100vw; height: 94dvh; border-radius: var(--r) var(--r) 0 0; transform: translateY(100%); } }
.sheet__grip { display: none; }
@media (max-width: 760px) { .sheet__grip { display: block; position: absolute; top: 0; left: 0; right: 0; height: 26px; z-index: 2; touch-action: none; cursor: grab; } .sheet__grip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 40px; height: 5px; margin-left: -20px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 22%, transparent); } }
.sheet__body { padding: 24px; display: grid; gap: 16px; max-height: 90dvh; overflow-y: auto; }
.sheet__stick { position: sticky; bottom: -24px; margin: 0 -24px -24px; padding: 14px 24px max(20px, env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line); z-index: 2; }
.sheet__head { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.sheet__head h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; letter-spacing: -0.01em; flex: 1; outline: none; }
.sheet__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.sheet__actions .btn { min-width: 0; padding: 0 10px; }
@media (max-width: 560px) { .sheet__actions { grid-template-columns: 1fr; } }
.ck-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-sm); background: var(--surface); cursor: pointer; position: relative; }
.ck-row__t { font-weight: 600; }
.ck-row__d { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; width: 48px; height: 28px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 24%, var(--surface)); transition: background-color 220ms ease; flex: none; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 320ms var(--ease-spring); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch-input:checked + .switch, .switch--on { background: var(--accent); }
.switch-input:checked + .switch i, .switch--on i { transform: translateX(20px); }
.switch-input:focus-visible + .switch { outline: 2px solid var(--accent-text); outline-offset: 3px; }

/* Promoción emergente */
.promo-pop { inset: 0; margin: auto; width: min(460px, calc(100vw - 32px)); height: fit-content; border-radius: var(--r); overflow: hidden; transform: translateY(24px) scale(0.95); opacity: 0; transition: transform calc(520ms * var(--spd)) var(--ease-spring), opacity 300ms ease; }
.promo-pop.is-in { transform: none; opacity: 1; }
.promo-pop__img { height: 200px; overflow: hidden; }
.promo-pop__img img { width: 100%; height: 100%; object-fit: cover; }
.promo-pop__body { position: relative; display: grid; justify-items: center; gap: 14px; padding: 32px 28px 28px; text-align: center; }
.promo-pop__x { position: absolute; top: 12px; right: 12px; }
.promo-pop__icon { width: 64px; height: 92px; border-radius: var(--nail); display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: var(--sh-btn); }
.promo-pop__icon .ic { width: 28px; height: 28px; }
.fx-icons .promo-pop.is-in .promo-pop__icon { animation: wiggle 900ms var(--ease-out) 300ms; }
@keyframes wiggle { 20% { transform: rotate(-10deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
.promo-pop__t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.75rem; line-height: 1.1; letter-spacing: var(--display-track); }
.promo-pop__d { color: var(--muted); }
.promo-code--big { height: 48px; padding: 0 18px; font-size: 1.125rem; border-radius: 12px; color: var(--accent-text); }
.promo-pop__cd { font-size: 0.9375rem; color: var(--muted); }
.promo-pop__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 6px; }
.promo-pop__actions .btn { min-width: 0; padding: 0 12px; }
.promo-pop__actions .btn:only-child { grid-column: span 2; }

/* ---------- Reserva ---------- */
.bk { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; }
.bk .sheet__head { padding: 22px 24px 8px; }
.bk__title { font-size: 1.375rem; }
.bk__steps { display: flex; gap: 6px; padding: 8px 24px 14px; overflow-x: auto; scrollbar-width: none; }
.bk__steps li { flex: 1; min-width: 0; }
.bk__steps span { display: block; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; position: relative; }
.bk__steps span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform calc(480ms * var(--spd)) var(--ease-out); }
.bk__steps li.is-done span::after, .bk__steps li.is-current span::after { transform: scaleX(1); }
.bk__steps b { display: block; margin-top: 8px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk__steps li.is-current b { color: var(--ink); }
.bk__view { overflow-y: auto; padding: 8px 24px 24px; overscroll-behavior: contain; }
.bk__view > * { animation: bkIn calc(440ms * var(--spd)) var(--ease-out) both; }
.bk__view.is-back > * { animation-name: bkInBack; }
@keyframes bkIn { from { opacity: 0; transform: translateX(18px); filter: blur(3px); } }
@keyframes bkInBack { from { opacity: 0; transform: translateX(-18px); filter: blur(3px); } }
.bk__foot { padding: 14px 24px max(16px, env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; gap: 12px; box-shadow: 0 -1px 0 var(--line); }
.bk__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bk__sum-t { font-size: 0.9375rem; color: var(--muted); }
.bk__sum-v { font-weight: 600; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.bk__sum-v small { font-weight: 400; color: var(--muted); font-size: 0.875rem; margin-left: 6px; }
.bk__sum-v s { color: var(--muted); font-weight: 400; font-size: 0.9375rem; margin-right: 8px; }
.bk__group { margin-top: 20px; }
.bk__group:first-child { margin-top: 4px; }
.bk__gt { font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.opt { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; min-height: 68px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: background-color 220ms ease, color 220ms ease, transform 160ms var(--ease-out), box-shadow 220ms ease; margin-bottom: 8px; }
@media (hover: hover) and (pointer: fine) { .opt:hover { box-shadow: var(--sh-1); } }
.opt:active { transform: scale(0.985); }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt__name { font-weight: 500; line-height: 1.3; }
.opt__meta { font-size: 0.875rem; color: var(--muted); grid-column: 1; }
.opt__price { font-weight: 600; font-variant-numeric: tabular-nums; grid-row: 1 / span 2; grid-column: 2; display: flex; align-items: center; gap: 12px; }
.opt__tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 22%, transparent); transition: background-color 200ms ease, transform 300ms var(--ease-spring); }
.opt__tick .ic { width: 16px; height: 16px; opacity: 0; transform: scale(.5); transition: opacity 200ms ease, transform 300ms var(--ease-spring); }
.opt:has(input:checked) { background: var(--ink); color: var(--bg); }
.opt:has(input:checked) .opt__meta { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.opt:has(input:checked) .opt__tick { background: var(--accent); color: var(--accent-ink); box-shadow: none; transform: scale(1.1); }
.opt:has(input:checked) .opt__tick .ic { opacity: 1; transform: none; }
.opt:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.opt--staff { grid-template-columns: 44px 1fr auto; }
.opt__avatar { width: 44px; height: 60px; border-radius: var(--nail); overflow: hidden; background: var(--polish, var(--accent)); display: grid; place-items: center; color: #fff; font-weight: 600; grid-row: 1 / span 2; }
.opt__avatar img { width: 100%; height: 100%; object-fit: cover; }
.opt__avatar .ic { width: 22px; height: 22px; }
.opt--staff .opt__name, .opt--staff .opt__meta { grid-column: 2; }
.opt--staff .opt__price { grid-column: 3; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: var(--r-xs); background: var(--surface); font-weight: 500; font-size: 0.9375rem; transition: background-color 200ms ease, color 200ms ease; text-align: center; padding: 0 6px; }
.seg input:checked + span { background: var(--ink); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.cal { user-select: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cal__month { font-weight: 600; font-size: 1.0625rem; }
.cal__month::first-letter { text-transform: uppercase; }
.cal__nav { display: flex; gap: 6px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { font-size: 0.8125rem; color: var(--muted); text-align: center; padding: 6px 0; }
.cal__day { aspect-ratio: 1; max-height: 52px; border-radius: var(--r-xs); display: grid; place-items: center; font-variant-numeric: tabular-nums; font-weight: 500; position: relative; transition: background-color 180ms ease, color 180ms ease, transform 200ms var(--ease-spring); }
.cal__day:disabled { color: color-mix(in srgb, var(--ink) 34%, transparent); cursor: default; }
.cal__day.is-free { background: var(--surface); }
.cal__day.is-free::after { content: ""; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal__day.is-free:active { transform: scale(0.95); }
.cal__day.is-sel { background: var(--ink); color: var(--bg); transform: scale(1.04); }
.cal__day.is-sel::after { background: var(--bg); }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (hover: hover) and (pointer: fine) { .cal__day.is-free:hover:not(.is-sel) { background: color-mix(in srgb, var(--surface) 80%, var(--ink) 10%); } }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.slot { height: 46px; border-radius: var(--r-xs); background: var(--surface); font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color 180ms ease, color 180ms ease, transform 200ms var(--ease-spring); }
.slot:active { transform: scale(0.96); }
.slot.is-sel { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .slot:hover:not(.is-sel) { background: color-mix(in srgb, var(--surface) 80%, var(--ink) 10%); } }
.bk__note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-xs); background: var(--tint); color: var(--ink); font-size: 0.9375rem; line-height: 1.45; margin-top: 16px; }
.bk__note .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-text); }
.bk__note--warn { background: color-mix(in srgb, #e2a52a 18%, var(--bg)); }
.bk__empty { padding: 20px 0; color: var(--muted); }
.bk__wait { display: grid; gap: 12px; margin-top: 12px; padding: 18px; border-radius: var(--r-sm); background: var(--surface); }
.coupon-field { display: grid; gap: 8px; }
.coupon-field__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon-field__row input { text-transform: uppercase; letter-spacing: 0.04em; }
.coupon-ok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-xs); background: color-mix(in srgb, #1f9d5a 14%, var(--bg)); font-size: 0.9375rem; font-weight: 500; animation: chipIn 500ms var(--ease-spring); }
.coupon-ok .ic { width: 18px; height: 18px; color: #1f9d5a; }
.coupon-ok button { margin-left: auto; text-decoration: underline; font-weight: 400; }
.skeleton { height: 46px; border-radius: var(--r-xs); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.summary { background: var(--surface); border-radius: var(--r-sm); padding: 18px; display: grid; gap: 10px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.9688rem; }
.summary__row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__row--disc { color: #1f7a4d; }
:root[data-theme="dark"] .summary__row--disc { color: #6fd29c; }
.summary__row--total { font-weight: 600; font-size: 1.1875rem; margin-top: 6px; }
.summary__when { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.summary__when::first-letter { text-transform: uppercase; }
.summary__when .ic { color: var(--accent-text); }
.form-grid { display: grid; gap: 14px; }
.done { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 20px 0 8px; }
.done__mark { width: 84px; height: 120px; border-radius: var(--nail); background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; box-shadow: var(--sh-btn); animation: popBig 700ms var(--ease-spring); }
@keyframes popBig { from { transform: scale(0.6) rotate(-10deg); opacity: 0; } }
.done__mark svg { width: 40px; height: 40px; }
.done__mark path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 600ms var(--ease-out) 350ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.75rem; letter-spacing: var(--display-track); }
.done .summary { width: 100%; text-align: left; }
.done__actions { display: grid; gap: 8px; width: 100%; }
.pin-box { width: 100%; display: grid; gap: 6px; padding: 16px; border-radius: var(--r-sm); background: var(--tint); text-align: left; }
.pin-box__code { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 1.75rem; font-weight: 600; letter-spacing: 0.24em; font-variant-numeric: tabular-nums; }
.pin-box__code .iconbtn { letter-spacing: 0; flex: none; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 15px; border-radius: var(--nail); animation: fall var(--d) var(--ease-out) forwards; }
@keyframes fall { to { transform: translate(var(--x), 110vh) rotate(var(--r)); opacity: .9; } }

/* ---------- Visor ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 10, 11, .94); backdrop-filter: blur(8px); color: #fff; opacity: 0; transition: opacity 300ms ease; }
.lightbox.is-in { opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { position: absolute; inset: 64px 72px 96px; display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.lightbox__img { position: relative; display: grid; place-items: center; min-height: 0; }
.lightbox__img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-sm); transition: opacity 260ms ease, transform 420ms var(--ease-out), filter 260ms ease; }
.lightbox__img img.is-entering { opacity: 0; transform: scale(0.96); filter: blur(6px); }
.lightbox__cap { text-align: center; max-width: 60ch; margin-inline: auto; font-size: 1rem; line-height: 1.5; }
.lightbox__cap strong { display: block; font-weight: 600; font-size: 1.0625rem; }
.lightbox__count { position: absolute; top: 24px; left: 24px; font-size: 0.875rem; opacity: .7; font-variant-numeric: tabular-nums; }
.lightbox .iconbtn { position: absolute; background: rgba(255,255,255,.12); color: #fff; z-index: 2; }
.lightbox .iconbtn:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; margin-top: -22px; }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }
@media (max-width: 640px) { .lightbox__fig { inset: 64px 12px 88px; } .lightbox__nav { top: auto; bottom: 20px; margin: 0; } .lightbox__nav--prev { left: calc(50% - 52px); } .lightbox__nav--next { right: calc(50% - 52px); } }

/* ---------- Cookies ---------- */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; justify-content: flex-start; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__card { pointer-events: auto; width: min(460px, 100%); background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); color: var(--ink); border-radius: var(--r); padding: 22px; box-shadow: var(--sh-3), 0 0 0 1px var(--line); transform: translateY(24px); opacity: 0; transition: transform calc(560ms * var(--spd)) var(--ease-spring), opacity 300ms ease; }
.cookie.is-in .cookie__card { transform: none; opacity: 1; }
.cookie__title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.0625rem; margin-bottom: 6px; }
.cookie__title .ic { width: 20px; height: 20px; color: var(--accent-text); }
.cookie__text { font-size: 0.9375rem; line-height: 1.5; }
.cookie__text a { color: var(--accent-text); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 16px; }
.cookie__actions .btn { padding: 0 10px; min-width: 0; }

/* ---------- Avisos ---------- */
.toasts { position: fixed; z-index: 150; right: 16px; top: calc(var(--header-h) + 12px); display: grid; gap: 8px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; position: relative; overflow: hidden; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 14px 14px 16px 16px; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); box-shadow: var(--sh-3); font-size: 0.9375rem; line-height: 1.45; transform: translateX(110%); transition: transform calc(400ms * var(--spd)) var(--ease-out), opacity 240ms ease; }
.toast.is-in { transform: none; }
.toast.is-out { transform: translateX(110%); opacity: 0; transition-duration: 260ms; }
.toast .ic { width: 20px; height: 20px; margin-top: 1px; }
.toast--ok > .ic { color: #6ee7a0; }
.toast--error > .ic { color: #ff8a9a; }
.toast--info > .ic { color: #a9c6ff; }
:root[data-theme="dark"] .toast--ok > .ic { color: #1f9d5a; }
.toast__x { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; opacity: .7; }
.toast__x .ic { width: 16px; height: 16px; margin: 0; color: inherit; }
.toast__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .22; transform-origin: left; }
@media (max-width: 560px) { .toasts { left: 12px; right: 12px; width: auto; top: auto; bottom: max(86px, env(safe-area-inset-bottom)); } .toast { transform: translateY(140%); } .toast.is-out { transform: translateY(140%); } }

/* ---------- Precarga ---------- */
.preloader { position: fixed; inset: 0; z-index: 180; background: var(--bg); display: grid; place-items: center; transition: clip-path 700ms var(--ease-in-out); clip-path: inset(0 0 0 0); }
.preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__nail { width: 44px; height: 66px; border-radius: var(--nail); background: var(--surface-2); overflow: hidden; position: relative; }
.preloader__nail i { position: absolute; inset: 0; background: var(--accent); transform: translateY(100%); animation: fillUp 700ms var(--ease-in-out) 80ms forwards; }
@keyframes fillUp { to { transform: none; } }
.no-js .preloader { display: none; }

/* ---------- Cursor (9 estilos elegibles) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .fx-cursor.js .cursor { display: block; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; }
  /* Capa superior (popover): anula el aspecto por defecto del navegador */
  .fx-cursor.js .cursor[popover] { margin: 0; padding: 0; border: 0; background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; overflow: visible; color: inherit; inset: 0; }
  .fx-cursor.js:not([data-cursor="spotlight"]):not(.cursor-native), .fx-cursor.js:not([data-cursor="spotlight"]):not(.cursor-native) * { cursor: none !important; }
  .fx-cursor.js :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), textarea, select, [contenteditable], iframe, [data-cursor="native"]) { cursor: auto !important; }
  .fx-cursor.js.cursor-native .cursor { display: none; }
  .cursor { --cc: var(--accent); --cs: 1; }
  [data-cursor-color="ink"] .cursor { --cc: var(--ink); }
  [data-cursor-size="small"] .cursor { --cs: .75; }
  [data-cursor-size="large"] .cursor { --cs: 1.35; }
  /* La posición va en "translate" (no en "transform"): así los cambios de tamaño (scale) nunca desplazan el puntero */
  .cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: translate; }
  .cursor__dot { width: calc(8px * var(--cs)); height: calc(8px * var(--cs)); margin: calc(-4px * var(--cs)) 0 0 calc(-4px * var(--cs)); background: var(--cc); box-shadow: 0 0 0 1.5px rgba(255,255,255,.85), 0 1px 4px rgba(0,0,0,.35); transition: opacity 200ms ease, scale 220ms var(--ease-out); }
  .cursor__ring { width: calc(40px * var(--cs)); height: calc(40px * var(--cs)); margin: calc(-20px * var(--cs)) 0 0 calc(-20px * var(--cs)); box-shadow: inset 0 0 0 1.5px var(--cc), 0 0 0 1px rgba(255,255,255,.55); display: grid; place-items: center; transition: width 240ms var(--ease-out), height 240ms var(--ease-out), margin 240ms var(--ease-out), background-color 260ms ease, box-shadow 260ms ease, opacity 220ms ease, border-radius 400ms var(--ease-in-out); }
  .cursor__label { font: 600 0.8125rem/1 var(--font-text); letter-spacing: .01em; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity 180ms ease, transform 260ms var(--ease-out); white-space: nowrap; }
  .cursor.is-link .cursor__ring { width: calc(60px * var(--cs)); height: calc(60px * var(--cs)); margin: calc(-30px * var(--cs)) 0 0 calc(-30px * var(--cs)); background: color-mix(in srgb, var(--cc) 16%, transparent); }
  .cursor.is-link .cursor__dot { scale: .75; }
  .cursor.is-view .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--accent); box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); border-radius: var(--nail); }
  .cursor.is-view .cursor__label { opacity: 1; transform: none; }
  .cursor.is-view .cursor__dot { opacity: 0; }
  .cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot, .cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__trail { opacity: 0; }

  /* Anillo */
  [data-cursor="ring"] .cursor__dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; }
  /* Punto */
  [data-cursor="dot"] .cursor__ring { box-shadow: none; }
  [data-cursor="dot"] .cursor:not(.is-link):not(.is-view) .cursor__ring { opacity: 0; }
  /* Uña */
  [data-cursor="nail"] .cursor__ring { border-radius: var(--nail); width: calc(24px * var(--cs)); height: calc(34px * var(--cs)); margin: calc(-17px * var(--cs)) 0 0 calc(-12px * var(--cs)); background: linear-gradient(160deg, color-mix(in srgb, #fff 30%, var(--cc)), var(--cc) 55%); box-shadow: 0 0 0 1.5px rgba(255,255,255,.8), 0 4px 12px rgba(0,0,0,.25), inset 3px -5px 0 rgba(255,255,255,.18); }
  [data-cursor="nail"] .cursor__dot { opacity: 0; }
  [data-cursor="nail"] .cursor.is-link .cursor__ring { width: calc(32px * var(--cs)); height: calc(46px * var(--cs)); margin: calc(-23px * var(--cs)) 0 0 calc(-16px * var(--cs)); }
  /* Contraste: invierte en blanco y negro lo que tiene debajo, así se ve sobre cualquier foto o color */
  [data-cursor="blend"] .cursor__dot { background: transparent; box-shadow: 0 0 0 .5px rgba(128,128,128,.35); width: calc(12px * var(--cs)); height: calc(12px * var(--cs)); margin: calc(-6px * var(--cs)) 0 0 calc(-6px * var(--cs)); -webkit-backdrop-filter: invert(1) grayscale(1) contrast(1.4); backdrop-filter: invert(1) grayscale(1) contrast(1.4); }
  [data-cursor="blend"] .cursor__ring { box-shadow: 0 0 0 .5px rgba(128,128,128,.35); background: transparent; width: calc(12px * var(--cs)); height: calc(12px * var(--cs)); margin: calc(-6px * var(--cs)) 0 0 calc(-6px * var(--cs)); opacity: 0; -webkit-backdrop-filter: invert(1) grayscale(1) contrast(1.4); backdrop-filter: invert(1) grayscale(1) contrast(1.4); }
  [data-cursor="blend"] .cursor.is-link .cursor__ring { opacity: 1; width: calc(52px * var(--cs)); height: calc(52px * var(--cs)); margin: calc(-26px * var(--cs)) 0 0 calc(-26px * var(--cs)); }
  [data-cursor="blend"] .cursor.is-view .cursor__ring { opacity: 1; background: var(--accent); -webkit-backdrop-filter: none; backdrop-filter: none; }
  @supports not ((backdrop-filter: invert(1)) or (-webkit-backdrop-filter: invert(1))) {
    [data-cursor="blend"] .cursor { mix-blend-mode: difference; }
    [data-cursor="blend"] .cursor__dot, [data-cursor="blend"] .cursor.is-link .cursor__ring { background: #fff; }
  }
  /* Foco de luz: el cursor normal se mantiene y una luz suave le sigue */
  [data-cursor="spotlight"] .cursor__dot { display: none; }
  [data-cursor="spotlight"] .cursor__ring { width: 520px; height: 520px; margin: -260px 0 0 -260px; box-shadow: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); transition: opacity 300ms ease; }
  [data-cursor="spotlight"] .cursor__label { display: none; }
  [data-cursor="spotlight"] .cursor.is-view .cursor__ring, [data-cursor="spotlight"] .cursor.is-link .cursor__ring { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), transparent); border-radius: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; box-shadow: none; }
  /* Envolvente: el anillo abraza el botón como en el iPad */
  [data-cursor="morph"] .cursor__ring { margin: 0; width: 36px; height: 36px; transition: background-color 220ms ease, box-shadow 220ms ease, opacity 220ms ease; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 70%, transparent); background: color-mix(in srgb, var(--cc) 6%, transparent); }
  [data-cursor="morph"] .cursor.is-link .cursor__ring { margin: 0; background: color-mix(in srgb, var(--cc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cc) 30%, transparent); }
  [data-cursor="morph"] .cursor.is-view .cursor__ring { margin: 0; }
  [data-cursor="morph"] .cursor.is-link .cursor__dot { opacity: 1; scale: .75; }
  /* Gota de esmalte: se estira en la dirección del movimiento */
  [data-cursor="liquid"] .cursor__dot { opacity: 0; }
  [data-cursor="liquid"] .cursor__ring { width: calc(18px * var(--cs)); height: calc(18px * var(--cs)); margin: calc(-9px * var(--cs)) 0 0 calc(-9px * var(--cs)); background: radial-gradient(circle at 35% 30%, color-mix(in srgb, #fff 45%, var(--cc)), var(--cc) 60%); box-shadow: 0 0 0 1.5px rgba(255,255,255,.75), 0 3px 10px rgba(0,0,0,.25); }
  [data-cursor="liquid"] .cursor.is-link .cursor__ring { width: calc(46px * var(--cs)); height: calc(46px * var(--cs)); margin: calc(-23px * var(--cs)) 0 0 calc(-23px * var(--cs)); background: color-mix(in srgb, var(--cc) 22%, transparent); box-shadow: inset 0 0 0 1.5px var(--cc); }
  /* Estela */
  .cursor__trail { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 200ms ease; }
  [data-cursor="trail"] .cursor:not(.is-view) .cursor__ring { opacity: 0; }
  [data-cursor="trail"] .cursor.is-link .cursor__dot { opacity: 1; scale: 1.8; }
  /* Efectos al hacer clic */
  .cursor__fx { position: absolute; width: 0; height: 0; }
  .cursor__fx--ripple::before { content: ""; position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cc); animation: curRipple 600ms cubic-bezier(.23,1,.32,1) forwards; }
  @keyframes curRipple { from { transform: scale(.4); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
  .cursor__fx--burst i { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--cc); transform: rotate(var(--a)) translateX(0); animation: curBurst 560ms cubic-bezier(.23,1,.32,1) forwards; }
  @keyframes curBurst { to { transform: rotate(var(--a)) translateX(22px) scale(.3); opacity: 0; } }
}

/* ---------- Movimiento (visible por defecto; la animación solo se añade si el script arranca) ---------- */
.js.fx-anim [data-reveal]:not(.is-in) { opacity: 0; }
.js.fx-anim[data-anim-style="rise"] [data-reveal]:not(.is-in) { transform: translateY(26px); }
.js.fx-anim[data-anim-style="zoom"] [data-reveal]:not(.is-in) { transform: scale(0.94); }
.js.fx-anim[data-anim-style="blur"] [data-reveal]:not(.is-in) { filter: blur(10px); transform: translateY(10px); }
.js.fx-anim [data-reveal].is-in { transition: opacity calc(800ms * var(--spd)) var(--ease-out), transform calc(950ms * var(--spd)) var(--ease-out), filter calc(800ms * var(--spd)) var(--ease-out); transition-delay: var(--d, 0ms); }
.js.fx-anim [data-split] .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js.fx-anim [data-split] .w > span { display: inline-block; transition: transform calc(1000ms * var(--spd)) var(--ease-out), opacity calc(700ms * var(--spd)) ease; transition-delay: calc(var(--wi) * 60ms + 80ms); }
.js.fx-anim [data-split]:not(.is-in) .w > span { transform: translateY(108%); }
.js.fx-anim[data-anim-style="fade"] [data-split]:not(.is-in) .w > span, .js.fx-anim[data-anim-style="blur"] [data-split]:not(.is-in) .w > span { transform: none; opacity: 0; }
.js.fx-anim .hero__band span { transition: transform calc(800ms * var(--spd)) var(--ease-out); transition-delay: calc(var(--i) * 60ms + 100ms); }
.js.fx-anim .hero:not(.is-in) .hero__band span { transform: scaleY(0); }
.js.fx-anim .hero__nail { transition: transform calc(1400ms * var(--spd)) var(--ease-out) 200ms, opacity calc(900ms * var(--spd)) ease 200ms, border-radius 700ms var(--ease-in-out); }
.js.fx-anim .hero:not(.is-in) .hero__nail { transform: translateX(-50%) translateY(14%); opacity: 0; }
.js.fx-anim .hero--full:not(.is-in) .hero__nail { transform: translateY(14%); }
.js.fx-anim .mark__nail { transition: transform calc(900ms * var(--spd)) var(--ease-spring), opacity 600ms ease, border-radius 700ms var(--ease-in-out); transition-delay: calc(var(--i) * 40ms); }
.js.fx-anim .mark:not(.is-in) .mark__nail { transform: translateY(40%); opacity: 0; }
html:not(.fx-anim) *, html:not(.fx-anim) *::before, html:not(.fx-anim) *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
@media (prefers-reduced-motion: reduce) {
  .js.fx-anim [data-reveal]:not(.is-in) { transform: none !important; filter: none !important; }
  .js.fx-anim [data-split]:not(.is-in) .w > span, .js.fx-anim .hero:not(.is-in) .hero__band span, .js.fx-anim .mark:not(.is-in) .mark__nail { transform: none; }
  .js.fx-anim .hero:not(.is-in) .hero__nail { transform: translateX(-50%); }
  .menu { transition: opacity 200ms ease; clip-path: none; opacity: 0; } .menu.is-open { opacity: 1; }
  .menu__list a { transform: none; }
  .sheet--book, .sheet--small { transition: opacity 200ms ease; }
  .bk__view > * { animation: none; }
  .preloader { display: none; }
  .live-dot::after, .fx-icons .promo-bar__icon .ic, .fx-icons .map__pin .ic { animation: none; }
}
/* Iconos con vida (sutil) */
@media (hover: hover) and (pointer: fine) {
  .fx-icons .social a:hover .ic { animation: wiggle 600ms var(--ease-out); }
  .fx-icons .iconbtn:hover .ic { transform: scale(1.1); transition: transform 300ms var(--ease-spring); }
}

/* ---------- Páginas interiores (legal, Mis citas, gestionar cita, newsletter) ---------- */
.page { padding: clamp(40px, 7vw, 104px) 0 0; min-height: 60vh; }
.page__head { margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 16px; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.5rem, 1.2rem + 1vw, 2rem) * var(--fs)); letter-spacing: var(--display-track); line-height: 1.15; margin: 48px 0 14px; }
.prose h3 { font-weight: 600; font-size: 1.1875rem; margin: 28px 0 10px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent-text); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-nav a { height: 42px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--surface-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.manage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 6%; align-items: start; }
.manage__actions { display: grid; gap: 8px; }
@media (max-width: 860px) { .manage { grid-template-columns: 1fr; } }
.status { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; background: var(--surface-2); }
.status--confirmed { background: var(--accent); color: var(--accent-ink); }
.status--pending { background: color-mix(in srgb, #e2a52a 26%, var(--bg)); }
.status .ic { width: 16px; height: 16px; }

/* Mis citas */
.portal { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.portal__login { display: grid; gap: 16px; padding: 28px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-2); }
.portal__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
.portal__hello { padding: 24px; border-radius: var(--r); background: var(--field); color: var(--field-ink); display: grid; gap: 6px; }
.portal__hello .h3 { color: inherit; }
.code-input { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code-input input { text-align: center; font-size: 1.375rem !important; font-weight: 600; padding: 0 !important; height: 58px; font-variant-numeric: tabular-nums; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); gap: 2px; position: relative; }
.tabs button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; transition: color 250ms ease; }
.tabs button[aria-selected="true"] { color: var(--bg); }
.tabs__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--ink); transition: transform calc(320ms * var(--spd)) var(--ease-out), width calc(320ms * var(--spd)) var(--ease-out); }
[data-p-coupons]:empty { display: none; }
@media (max-width: 560px) { .portal .tabs { display: flex; } .portal .tabs button { flex: 1; } }
.appt-list { display: grid; gap: 12px; margin-top: 20px; }
.appt { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-1); transition: box-shadow 300ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .appt:hover { box-shadow: var(--sh-2); } }
.appt__date { display: grid; place-content: center; text-align: center; width: 76px; height: 92px; border-radius: var(--nail); background: var(--accent); color: var(--accent-ink); line-height: 1.1; }
.appt__date b { font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.appt__date small { font-size: 0.8125rem; }
.appt--past .appt__date { background: var(--surface-2); color: var(--ink); }
.appt__main { display: grid; gap: 6px; min-width: 0; }
.appt__t { font-weight: 600; font-size: 1.0625rem; }
.appt__t::first-letter { text-transform: uppercase; }
.appt__s { color: var(--muted); font-size: 0.9375rem; }
.appt__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.appt__actions .btn { min-width: 0; }
.coupons-mini { display: grid; gap: 8px; }
.coupon-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--tint); }
.coupon-mini b { letter-spacing: 0.06em; }
@media (max-width: 900px) { .portal { grid-template-columns: 1fr; } .portal__aside { position: static; } }
@media (max-width: 520px) { .appt { grid-template-columns: 60px 1fr; padding: 16px; gap: 14px; } .appt__date { width: 60px; height: 76px; } .appt__date b { font-size: 1.375rem; } .appt__actions .btn { flex: 1 1 calc(50% - 8px); } }

/* Vista previa en el panel: desactiva lo que molesta dentro del marco */
.is-preview .preloader, .is-preview .cookie, .is-preview .promo-pop { display: none !important; }

@media print { .site-header, .site-footer, .cookie, .cartbar, .toasts, .cursor, .bookbar, .to-top, .wa-float, .promo-bar { display: none !important; } }

/* Transición circular al cambiar de modo claro/oscuro */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 9999; }
.location__split .lead { margin-top: 16px; }
.location__split .hours { width: 100%; max-width: 560px; }
[hidden] { display: none !important; }
.field-hint { margin-top: -4px; }
.portal[data-portal-login] { grid-template-columns: minmax(340px, 420px) 1fr; align-items: stretch; }
.stack-info { display: grid; gap: 14px; grid-template-rows: repeat(3, 1fr) auto; }
.stack-info .place { padding: 22px 24px; align-content: center; }
@media (max-width: 900px) { .portal[data-portal-login] { grid-template-columns: 1fr; } .stack-info { grid-template-rows: none; } }

@media (max-width: 700px) { .services__tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; } }
.portal__logout { justify-self: center; }

/* ==========================================================================
   Portadas v3: siete diseños de primera pantalla (Mi web › Portada y diseños)
   ========================================================================== */
.hero[data-height="large"] { min-height: min(86svh, 860px); }
.hero[data-height="auto"] { min-height: 0; }
.hero[data-align="center"] .hero__body, .hero[data-align="center"] .stage__body, .hero[data-align="center"] .darkroom__body { align-items: center; text-align: center; }
.hero[data-align="center"] .hero__title, .hero[data-align="center"] .hero__text { margin-inline: auto; }
.hero[data-align="center"] .hero__chips, .hero[data-align="center"] .hero__actions { justify-content: center; }
.hero-pic { position: relative; margin: 0; overflow: hidden; background: var(--tint); border-radius: var(--r); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-pic.is-drawn { display: grid; place-items: center; }
.hero-pic__nail { width: 44%; aspect-ratio: 0.66; box-shadow: var(--sh-2); }
.hero__hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 55%, transparent); color: inherit; z-index: 2; }
.hero__hint span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: currentColor; animation: hint 1.8s var(--ease-in-out) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Ken Burns: la foto visible se acerca muy despacio */
.hero[data-kenburns] img.is-on, .hero[data-kenburns] .hero-pic img { animation: kenburns calc(16s * var(--spd)) ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* --- Estudio: foto de borde a borde en media pantalla --- */
.hero--stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; min-height: calc(100svh - var(--header-h) - var(--bar-h, 0px)); }
.stage__media { position: relative; overflow: hidden; background: var(--tint); min-height: 420px; }
.stage__fade { position: absolute; inset: 0; }
.stage__fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity calc(1400ms * var(--spd)) ease; }
.stage__fade img.is-on { opacity: 1; }
.stage__fade .hero__polish { position: absolute; inset: 22% 30%; border-radius: var(--nail); }
.stage__body { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(40px, 6vw, 112px) clamp(24px, 6vw, 112px); }
.stage__body .hero__title { font-size: calc(clamp(2.8rem, 1.2rem + 4.4vw, 5.6rem) * var(--fs)); max-width: 12ch; }
.stage__body .hero__band { height: 10px; border-radius: 10px; overflow: hidden; margin-top: 8px; max-width: 420px; }

/* --- Sala oscura: tus trabajos iluminados en un fondo oscuro --- */
.hero--darkroom { --ink: #f4efee; --muted: #b9afb0; --bg: #0f0d0e; --surface: #1b1819; --surface-2: #242022; --line: #2e2a2c; --glass: rgba(15,13,14,.7); position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; justify-items: center; gap: 28px; padding: clamp(32px, 5vh, 64px) var(--gutter) clamp(72px, 10vh, 104px); min-height: calc(100svh - var(--header-h) - var(--bar-h, 0px)); background: #0f0d0e; color: var(--ink); overflow: hidden; isolation: isolate; }
.darkroom__light { position: absolute; inset: -20% 10% auto; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%); filter: blur(10px); z-index: -1; opacity: .9; animation: breathe calc(9s * var(--spd)) var(--ease-in-out) infinite alternate; }
@keyframes breathe { from { transform: scale(.94); opacity: .7; } to { transform: scale(1.04); opacity: 1; } }
.darkroom__exhibit { align-self: center; display: grid; place-items: center; }
.darkroom__frame { position: relative; width: min(30vh, 280px, 58vw); aspect-ratio: 0.66; overflow: hidden; background: var(--accent); box-shadow: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06); }
.darkroom__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity calc(1400ms * var(--spd)) ease; }
.darkroom__frame img.is-on { opacity: 1; }
.darkroom__body { display: grid; justify-items: center; text-align: center; gap: 22px; max-width: 980px; }
.darkroom__title { font-size: calc(clamp(2.4rem, 1rem + 4.2vw, 5.4rem) * var(--fs)); font-weight: 300; max-width: 14ch; letter-spacing: -0.035em; }
.hero--darkroom .hero__text { color: var(--muted); }
.hero--darkroom .chip-info { background: rgba(255,255,255,.08); color: inherit; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.hero--darkroom .btn--ghost { background: rgba(255,255,255,.1); color: var(--ink); }

/* --- Hoja de contactos: el nombre en grande y filas de trabajos --- */
.hero--sheet { display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: clamp(28px, 4vh, 48px); padding: clamp(28px, 5vh, 64px) 0 clamp(20px, 3vh, 36px); min-height: calc(100svh - var(--header-h)); }
.sheet-hero__top { display: grid; gap: clamp(22px, 3.5vh, 40px); }
.sheet-hero__title { font-size: calc(clamp(3rem, 0.6rem + 8.4vw, 9.5rem) * var(--fs)); line-height: .92; letter-spacing: -0.045em; max-width: none; }
.sheet-hero__cols { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px 5%; align-items: start; }
.sheet-hero__cols .hero__text { font-size: var(--step-body); max-width: 40ch; }
.sheet-hero__cols .hero__actions { grid-template-columns: 1fr; justify-items: stretch; }
.sheet-hero__small { color: var(--muted); margin-bottom: 12px; }
.sheet-hero__rows { display: grid; gap: 8px; }
.sheet-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sheet-row__track { display: flex; gap: 8px; width: max-content; animation: slide calc(60s * var(--spd)) linear infinite; }
.sheet-row.is-rev .sheet-row__track { animation-direction: reverse; animation-duration: calc(72s * var(--spd)); }
.sheet-row:hover .sheet-row__track, .sheet-row:focus-within .sheet-row__track { animation-play-state: paused; }
.sheet-row__frame { flex: none; height: clamp(110px, 17vh, 190px); aspect-ratio: 4 / 5; border-radius: var(--r-xs); overflow: hidden; background: var(--surface); display: grid; place-items: center; transition: transform 300ms var(--ease-out); }
.sheet-row__frame img { width: 100%; height: 100%; object-fit: cover; }
.sheet-row__frame .nail { width: 40%; aspect-ratio: .66; }
@media (hover: hover) and (pointer: fine) { .sheet-row__frame:hover { transform: translateY(-4px) scale(1.03); } }
@keyframes slide { to { transform: translateX(-50%); } }

/* --- Galería: titular ligero enorme y fotos colgadas a distintos tamaños --- */
.hero--wall { display: block; padding: clamp(24px, 5vh, 56px) 0 clamp(40px, 7vh, 80px); min-height: calc(100svh - var(--header-h)); }
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); row-gap: 24px; align-items: start; }
.wall__title { grid-column: 1 / -1; font-size: calc(clamp(3rem, 0.8rem + 7.2vw, 8.6rem) * var(--fs)); font-weight: 300; line-height: .95; letter-spacing: -0.045em; max-width: 13ch; position: relative; z-index: 1; }
.wall__main { grid-column: 6 / 13; grid-row: 2 / 4; aspect-ratio: 16 / 11; margin-top: calc(clamp(3rem, 0.8rem + 7.2vw, 8.6rem) * -0.16 * var(--fs)); box-shadow: var(--sh-2); }
.wall__side { display: contents; }
.wall__copy { grid-column: 1 / 6; grid-row: 2; display: grid; gap: 18px; align-content: start; max-width: 460px; }
.wall__small { grid-column: 1 / 3; grid-row: 3; aspect-ratio: 4 / 5; }
.wall__copy .hero__text { font-size: var(--step-body); }
.wall__tiny { grid-column: 3 / 6; grid-row: 3; aspect-ratio: 1; width: 64%; justify-self: end; align-self: end; box-shadow: var(--sh-2); }

/* --- Cartel: titular fijo y fotos que pasan por debajo --- */
.hero--poster { position: relative; display: block; padding: 0; min-height: 0; }
.poster__pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h) - var(--bar-h, 0px)); display: grid; place-items: center; padding: 24px var(--gutter) clamp(150px, 22vh, 210px); z-index: 2; pointer-events: none; mix-blend-mode: difference; color: #fff; }
.poster__title { font-size: calc(clamp(3.2rem, 0.4rem + 10.5vw, 12.5rem) * var(--fs)); line-height: .88; letter-spacing: -0.05em; text-align: center; max-width: 11ch; color: inherit; }
.poster__title .marker { background-image: none; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .08em; }
.poster__foot { position: sticky; bottom: clamp(12px, 3vh, 28px); z-index: 3; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; width: min(var(--maxw), calc(100% - var(--gutter) * 2)); margin: 0 auto clamp(12px, 3vh, 28px); padding: 14px 18px; border-radius: var(--r); background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--sh-2); }
.poster__foot .hero__text { font-size: var(--step-body); max-width: 52ch; }
.poster__foot .hero__actions { grid-template-columns: repeat(2, auto); }
.poster__foot .hero__actions .btn { width: auto; }
.poster__stack { position: relative; margin-top: calc((100svh - var(--header-h) - var(--bar-h, 0px)) * -1); display: grid; justify-items: center; gap: 12vh; padding: 28vh 0 18vh; z-index: 1; }
.poster__pic { width: min(38vw, 480px); aspect-ratio: 4 / 5; box-shadow: var(--sh-3); }
.poster__pic--1 { justify-self: start; margin-left: 8vw; }
.poster__pic--2 { justify-self: end; margin-right: 8vw; }
.js.fx-anim .poster__pic { transform: translateY(var(--py, 0px)) rotate(var(--pr, 0deg)); will-change: transform; }

/* --- Cinta de texto bajo la portada --- */
.ribbon { overflow: hidden; padding: 16px 0; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: var(--display-weight); font-size: calc(clamp(1.125rem, 0.9rem + 0.9vw, 1.75rem) * var(--fs)); letter-spacing: -0.01em; white-space: nowrap; }
.ribbon--ink { background: var(--ink); color: var(--bg); }
.ribbon--tint { background: var(--tint); color: var(--tint-ink); }
.ribbon--outline { background: transparent; color: var(--ink); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide calc(48s * var(--spd)) linear infinite; padding-left: 28px; }
.ribbon[data-speed="slow"] .ribbon__track { animation-duration: calc(80s * var(--spd)); }
.ribbon[data-speed="fast"] .ribbon__track { animation-duration: calc(28s * var(--spd)); }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__dot { width: 12px; height: 18px; flex: none; background: currentColor; opacity: .55; }
.ribbon.is-off .ribbon__track, .sheet-row.is-off .sheet-row__track { animation-play-state: paused; }

/* --- Titular con palabra resaltada: *palabra* --- */
.marker { font-style: inherit; position: relative; white-space: nowrap; background-image: linear-gradient(color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 34%, transparent)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% 0.32em; transition: background-size calc(900ms * var(--spd)) var(--ease-out) calc(700ms * var(--spd)); }
.js.fx-anim .hero:not(.is-in) .marker, .js.fx-anim [data-split]:not(.is-in) .marker { background-size: 0% 0.32em; }

/* --- Cómo entra el titular (Portada › Movimiento) --- */
.js.fx-anim .hero[data-motion="blur"] [data-split]:not(.is-in) .w > span { transform: translateY(20%); opacity: 0; filter: blur(10px); }
.js.fx-anim .hero[data-motion="blur"] [data-split] .w > span { transition-property: transform, opacity, filter; }
.js.fx-anim .hero[data-motion="mask"] [data-split] .w { clip-path: inset(0 0 -0.12em 0); }
.js.fx-anim .hero[data-motion="mask"] [data-split]:not(.is-in) .w > span { transform: translateY(100%) rotate(4deg); transform-origin: 0 100%; }
.js.fx-anim .hero[data-motion="none"] [data-split]:not(.is-in) .w > span { transform: none; opacity: 1; }

/* --- Efectos extra --- */
.js.fx-img-reveal [data-img-reveal] { clip-path: inset(0 0 0 0); transition: clip-path calc(1100ms * var(--spd)) var(--ease-in-out); }
.js.fx-img-reveal [data-img-reveal]:not(.is-in) { clip-path: inset(100% 0 0 0); }
.js.fx-img-reveal [data-img-reveal] img { transition: transform calc(1400ms * var(--spd)) var(--ease-out); }
.js.fx-img-reveal [data-img-reveal]:not(.is-in) img { transform: scale(1.18); }
.fx-heading-line .section .h2 { position: relative; padding-bottom: 0.18em; }
.fx-heading-line .section .h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--accent); transform-origin: left; transition: transform calc(800ms * var(--spd)) var(--ease-out) 300ms; }
.fx-heading-line .section .h2:not(.is-in)::after { transform: scaleX(0); }
.fx-heading-line [data-align="center"] .h2::after, .fx-heading-line .section__head--center .h2::after { left: 50%; margin-left: -28px; }
.fx-grain body::after { content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.fx-cta-pulse [data-cta] { animation: ctaPulse 2.4s var(--ease-out) 2.2s 2 both; }
@keyframes ctaPulse { 0%, 100% { box-shadow: var(--sh-btn), 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 60% { box-shadow: var(--sh-btn), 0 0 0 14px transparent; } }
.scroll-count { position: fixed; z-index: 45; right: 14px; top: calc(var(--header-h) + 10px); padding: 4px 10px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.75rem; font-variant-numeric: tabular-nums; color: var(--muted); box-shadow: var(--sh-1); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.scroll-count.is-on { opacity: 1; }
.svc-peek { position: fixed; z-index: 60; width: 180px; aspect-ratio: 4 / 5; border-radius: var(--nail); overflow: hidden; pointer-events: none; box-shadow: var(--sh-3); opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity 200ms ease, transform 300ms var(--ease-out); }
.svc-peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.svc-peek img { width: 100%; height: 100%; object-fit: cover; }

/* --- Portadas en tablet y móvil: cada una con su propia composición --- */
@media (max-width: 900px) {
  .hero--stage { grid-template-columns: 1fr; min-height: 0; }
  .stage__media { height: 44svh; min-height: 280px; }
  .stage__body { padding: 32px var(--gutter) 40px; gap: 22px; }
  .sheet-hero__cols { grid-template-columns: 1fr; gap: 18px; }
  .sheet-hero__cols .hero__actions { grid-template-columns: 1fr 1fr; }
  .wall__title { max-width: 10ch; }
  .wall__main { grid-column: 1 / -1; grid-row: 2; margin-top: -0.4em; }
  .wall__copy { grid-column: 1 / -1; grid-row: 3; max-width: none; }
  .wall__small, .wall__tiny { display: none; }
  .poster__pic { width: 64vw; }
  .poster__pic--1 { margin-left: 4vw; } .poster__pic--2 { margin-right: 4vw; }
  .poster__foot { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .poster__foot .hero__actions { grid-template-columns: 1fr 1fr; }
  .poster__foot .hero__actions .btn { width: 100%; }
}
@media (max-width: 560px) {
  .poster__foot .hero__text { display: none; }
  .hero--darkroom { gap: 20px; }
  .darkroom__frame { width: min(30vh, 58vw); }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon__track, .sheet-row__track, .darkroom__light, .hero__hint span { animation: none !important; }
  .hero[data-kenburns] img { animation: none !important; }
  .fx-grain body::after { display: none; }
  .js.fx-img-reveal [data-img-reveal]:not(.is-in) { clip-path: inset(0 0 0 0); }
}
.ts-box { min-height: 65px; display: flex; justify-content: center; } .ts-box[hidden] { display: none; }

/* ---------- Web en pausa (modo mantenimiento) ---------- */
.maint { min-height: 100dvh; background: radial-gradient(900px 520px at 15% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%), radial-gradient(800px 480px at 110% 110%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%), var(--bg); }
.maint__main { min-height: 100dvh; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top)) var(--gutter) max(24px, env(safe-area-inset-bottom)); }
.maint__card { width: min(560px, 100%); display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(32px, 6vw, 56px) clamp(22px, 5vw, 48px); border-radius: calc(var(--r) * 1.4); background: var(--glass); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: var(--sh-3), inset 0 0 0 1px var(--line); animation: maintIn 700ms var(--ease-out) both; }
@keyframes maintIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.maint__brand { text-decoration: none; color: var(--ink); }
.maint__nail { position: relative; width: 44px; height: 62px; border-radius: var(--nail); overflow: hidden; background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 40%, transparent); }
.maint__nail i { position: absolute; inset: 0; background: linear-gradient(170deg, color-mix(in srgb, #fff 30%, var(--accent)), var(--accent) 60%); transform: translateY(100%); animation: maintFill 2.6s var(--ease-in-out) infinite alternate; }
@keyframes maintFill { to { transform: translateY(8%); } }
.maint__t { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.maint__d { color: var(--muted); font-size: 1.0625rem; line-height: 1.55; max-width: 42ch; text-wrap: pretty; }
.maint__until { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--ink); font-weight: 500; font-size: .9375rem; }
.maint__until .ic { width: 18px; height: 18px; }
.maint__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.maint__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: .875rem; color: var(--muted); margin-top: 8px; }
.maint__foot a { color: inherit; }
@media (max-width: 480px) { .maint__actions { display: grid; width: 100%; } .maint__actions .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .maint__card, .maint__nail i { animation: none; } .maint__nail i { transform: translateY(20%); } }
.maint-pill { position: fixed; z-index: 70; left: 50%; top: calc(var(--header-h, 64px) + var(--bar-h, 0px) + 10px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .8125rem; font-weight: 500; text-decoration: none; box-shadow: var(--sh-2); white-space: nowrap; }

/* ---------- Preguntas frecuentes v5 ---------- */
.faq__lead { color: var(--muted); max-width: 36ch; }
.faq__search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: var(--r-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 6px; transition: box-shadow 200ms ease; }
.faq__search:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.faq__search .ic { width: 20px; height: 20px; color: var(--muted); flex: none; }
.faq__search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; height: 100%; }
.faq__cats { margin-bottom: 6px; }
.faq__none { padding: 18px 4px; }
.qa[hidden] { display: none; }

/* Avisos en la capa superior (popover): se anula el aspecto por defecto del navegador */
.toasts[popover] { margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; color: inherit; left: auto; bottom: auto; height: auto; max-height: none; inset-inline-start: auto; }
@media (max-width: 560px) { .toasts[popover] { left: 12px; right: 12px; top: auto; bottom: max(86px, env(safe-area-inset-bottom)); } }

/* ==========================================================================
   v5 · Página de cada servicio
   ========================================================================== */
.svcpage { padding: clamp(24px, 4vw, 48px) 0 clamp(80px, 10vw, 140px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: clamp(24px, 4vw, 44px); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.svcpage__hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.svcpage__intro { display: grid; gap: 20px; justify-items: start; }
.svcpage__title { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: calc(clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem) * var(--fs)); line-height: 1; text-wrap: balance; }
.svcpage__city { display: block; color: var(--muted); font-size: .55em; line-height: 1.2; margin-top: .25em; }
.svcpage__facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 0; margin: 8px 0 4px; border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
.svcpage__facts > div { padding: 14px 22px; display: grid; gap: 2px; }
.svcpage__facts > div + div { box-shadow: inset 1px 0 0 var(--line); }
.svcpage__facts dt { font-size: .8125rem; color: var(--muted); }
.svcpage__facts dd { margin: 0; font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.svcpage__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.svcpage__note { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .9375rem; }
.svcpage__note .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.svcpage__pic { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--nail); overflow: hidden; background: var(--surface); box-shadow: var(--sh-3); justify-self: end; width: min(100%, 460px); }
.svcpage__pic img, .svcpage__pic .nail { width: 100%; height: 100%; object-fit: cover; display: block; }
.svcpage__text { margin: clamp(56px, 8vw, 104px) 0 0; font-size: 1.0625rem; line-height: 1.7; }
.svcpage__text p:first-child { font-size: 1.1875rem; color: var(--ink); }
.svcpage__block { margin-top: clamp(56px, 8vw, 104px); display: grid; gap: 24px; }
.svcpage__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svcpage__photos figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); position: relative; aspect-ratio: 4 / 5; }
.svcpage__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.svcpage__photos figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .8125rem; font-weight: 500; width: fit-content; max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) { .svcpage__photos figure:hover img { transform: scale(1.04); } }
.svcpage__others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svcpage__others a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n i" "m i"; align-items: center; gap: 2px 16px; padding: 18px 22px; border-radius: var(--r-sm); background: var(--surface); color: var(--ink); text-decoration: none; transition: background-color 200ms ease, transform 200ms var(--ease-out); }
.svcpage__oname { grid-area: n; font-weight: 600; }
.svcpage__ometa { grid-area: m; color: var(--muted); font-size: .9375rem; }
.svcpage__others .ic { grid-area: i; width: 20px; height: 20px; color: var(--accent-text); transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .svcpage__others a:hover { background: var(--surface-2); } .svcpage__others a:hover .ic { transform: translateX(4px); } }
.svcpage__bar { position: fixed; z-index: 30; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translate(-50%, 160%); display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--sh-3), 0 0 0 1px var(--line); transition: transform 500ms var(--ease-spring); max-width: calc(100vw - 24px); }
.svcpage__bar.is-on { transform: translate(-50%, 0); }
.svcpage__bar > div { min-width: 0; }
.svcpage__bar-t { font-weight: 600; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svcpage__bar-d { font-size: .8125rem; color: var(--muted); }
.menu-item__more { font-size: .875rem; font-weight: 500; color: var(--accent-text); text-decoration: none; }
.menu-item__more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .svcpage__hero { grid-template-columns: 1fr; }
  .svcpage__pic { justify-self: stretch; width: 100%; aspect-ratio: 4 / 3; order: -1; border-radius: var(--r); }
  .svcpage__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svcpage__others { grid-template-columns: 1fr; }
  .svcpage__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .svcpage__facts > div { padding: 12px 14px; }
  .svcpage__bar { left: 12px; right: 12px; transform: translateY(160%); justify-content: space-between; }
  .svcpage__bar.is-on { transform: none; }
}

/* ==========================================================================
   v5 · Carta de colores con probador
   ========================================================================== */
.colors__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head head" "stage side"; gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 80px); align-items: start; }
.colors__head { grid-area: head; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.colors__stage { grid-area: stage; position: sticky; top: calc(var(--header-h) + 24px); --skin: #f1d3c2; display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-2); }
.colors__side { grid-area: side; min-width: 0; }
.tryhand { position: relative; height: clamp(260px, 30vw, 380px); display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 0 8%; border-radius: calc(var(--r) - 6px); background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--polish) 16%, var(--surface-2)), var(--surface-2)); overflow: hidden; transition: background 600ms ease; }
.tryhand__f { position: relative; width: 19%; border-radius: 999px 999px 0 0; background: linear-gradient(90deg, color-mix(in srgb, var(--skin) 88%, #000) 0, var(--skin) 22%, var(--skin) 70%, color-mix(in srgb, var(--skin) 90%, #000)); display: flex; align-items: flex-start; justify-content: center; padding-top: 9%; transition: background-color 400ms ease; }
.tryhand__f--1 { height: 70%; } .tryhand__f--2 { height: 86%; } .tryhand__f--3 { height: 80%; } .tryhand__f--4 { height: 62%; }
.tryhand__nail { position: relative; width: 76%; aspect-ratio: 0.7; flex: none; background: var(--polish); box-shadow: inset 0 -2px 4px rgba(0,0,0,.12); }
.tryhand__paint { position: absolute; inset: 0; border-radius: inherit; background: inherit; }
.nail__gloss { z-index: 2; }
/* Acabados */
[data-finish="mate"] .nail__gloss { display: none; }
[data-finish="mate"] .tryhand__nail, .swatch__nail[data-finish="mate"] { box-shadow: none; filter: saturate(.92); }
[data-finish="metalizado"] .tryhand__paint, .swatch__nail[data-finish="metalizado"] .tryhand__paint { background: linear-gradient(135deg, color-mix(in srgb, var(--polish) 55%, #fff) 0%, var(--polish) 38%, color-mix(in srgb, var(--polish) 70%, #000) 62%, color-mix(in srgb, var(--polish) 60%, #fff) 100%); }
[data-finish="cromo"] .tryhand__paint, .swatch__nail[data-finish="cromo"] .tryhand__paint { background: linear-gradient(160deg, #fff 0%, var(--polish) 22%, color-mix(in srgb, var(--polish) 55%, #000) 46%, #fff 58%, var(--polish) 76%, color-mix(in srgb, var(--polish) 65%, #000) 100%); }
[data-finish="purpurina"] .tryhand__paint, .swatch__nail[data-finish="purpurina"] .tryhand__paint { background: radial-gradient(circle at 20% 30%, #fff 0 .8px, transparent 1.5px) 0 0 / 9px 11px, radial-gradient(circle at 60% 70%, rgba(255,255,255,.8) 0 .6px, transparent 1.2px) 3px 2px / 7px 6px, radial-gradient(circle at 40% 50%, color-mix(in srgb, var(--polish) 50%, #fff) 0 1.1px, transparent 1.8px) 5px 4px / 13px 12px, radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--polish) 70%, #000) 0 .7px, transparent 1.3px) 1px 6px / 8px 9px, linear-gradient(160deg, color-mix(in srgb, var(--polish) 80%, #fff), var(--polish)); }
[data-finish="francesa"] .tryhand__paint, .swatch__nail[data-finish="francesa"] .tryhand__paint { background: linear-gradient(to top, #f0d4cc 0 66%, var(--polish) 66%); }
[data-finish="francesa"] .tryhand__nail, .swatch__nail[data-finish="francesa"] { background: #f0d4cc; }
.colors__stage.is-painting .tryhand__paint { animation: paintUp 520ms cubic-bezier(.23,1,.32,1) both; }
.colors__stage.is-painting .tryhand__f--2 .tryhand__paint { animation-delay: 50ms; } .colors__stage.is-painting .tryhand__f--3 .tryhand__paint { animation-delay: 100ms; } .colors__stage.is-painting .tryhand__f--4 .tryhand__paint { animation-delay: 150ms; }
@keyframes paintUp { from { clip-path: inset(100% 0 0 0 round 40%); } to { clip-path: inset(0 0 0 0 round 0); } }
.colors__now { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.colors__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; letter-spacing: var(--display-track); line-height: 1.15; }
.colors__meta { color: var(--muted); font-size: .9375rem; }
.colors__skin { display: flex; gap: 8px; }
.colors__skin button { width: 28px; height: 28px; border-radius: 50%; background: var(--sk); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: box-shadow 200ms ease, transform 160ms var(--ease-out); }
.colors__skin button.is-on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.colors__skin button:active { transform: scale(.92); }
.colors__tones { margin-bottom: 20px; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.swatches > li[hidden] { display: none; }
.swatch { position: relative; width: 100%; display: grid; justify-items: center; gap: 10px; padding: 16px 8px 14px; border-radius: var(--r-sm); background: var(--surface); text-align: center; transition: background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out); }
.swatch__nail { position: relative; width: 38px; height: 54px; background: var(--polish); box-shadow: inset 0 -2px 3px rgba(0,0,0,.14), 0 4px 10px -4px color-mix(in srgb, var(--polish) 70%, transparent); }
.swatch__name { font-size: .875rem; font-weight: 500; line-height: 1.25; }
.swatch__new { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .6875rem; font-weight: 600; letter-spacing: .02em; }
.swatch.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
@media (hover: hover) and (pointer: fine) { .swatch:hover { transform: translateY(-2px); box-shadow: var(--sh-1); } .swatch.is-on:hover { box-shadow: inset 0 0 0 2px var(--ink), var(--sh-1); } }
.swatch:active { transform: scale(.97); }
@media (max-width: 960px) {
  .colors__grid { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "side"; }
  .colors__head { grid-template-columns: 1fr; }
  .colors__stage { position: relative; top: auto; }
  .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .swatch { padding: 12px 4px 10px; } .swatch__name { font-size: .78rem; } .swatch__new { top: 4px; right: 4px; font-size: .625rem; padding: 1px 5px; }
}
@media (prefers-reduced-motion: reduce) { .colors__stage.is-painting .tryhand__paint { animation: none; } }
/* Color en la reserva */
.bk-colors { border: 0; padding: 0; margin: 0; min-width: 0; }
.bk-colors legend { padding: 0; margin-bottom: 8px; font-weight: 500; font-size: .9375rem; }
.bk-colors__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; margin: 0 -2px; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.bk-colors__row::-webkit-scrollbar { display: none; }
.bk-color { position: relative; flex: none; width: 76px; display: grid; justify-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: var(--r-xs); background: var(--surface); cursor: pointer; scroll-snap-align: start; transition: box-shadow 180ms ease; }
.bk-color input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-color__dot { position: relative; width: 26px; height: 36px; background: var(--polish); display: grid; place-items: center; }
.bk-color--none .bk-color__dot { background: var(--surface-2); border-radius: 50%; width: 36px; height: 36px; color: var(--muted); }
.bk-color--none .bk-color__dot .ic { width: 18px; height: 18px; }
.bk-color__n { font-size: .75rem; line-height: 1.2; text-align: center; }
.bk-color:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.bk-color:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Antes y después ---------- */
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
.compare { position: relative; display: block; max-width: min(92vw, 900px); max-height: 80vh; border-radius: var(--r-sm); overflow: hidden; user-select: none; touch-action: pan-y; }
.compare img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { width: 100%; height: 100%; object-fit: cover; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 3; }
.compare__handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.compare__handle .ic { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; padding: 10px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #111; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.compare__tag { position: absolute; z-index: 2; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: .8125rem; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.compare__tag--b { left: 12px; } .compare__tag--a { right: 12px; }
.compare__range:focus-visible ~ .compare__handle .ic { outline: 3px solid var(--accent); outline-offset: 2px; }
.tile__ba { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); font-size: .75rem; font-weight: 600; }
.tile__ba .ic { width: 14px; height: 14px; }
/* Abierto ahora */
.chip-info--open .live-dot { background: var(--muted); box-shadow: none; animation: none; }
.chip-info--open.is-open .live-dot { background: #1f9d5a; }
.open-state.is-open .live-dot { background: #1f9d5a; }
/* Tarjeta de fidelidad en "Mis citas" */
.loyal { display: grid; gap: 16px; padding: 22px; border-radius: var(--r); background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000)); color: var(--accent-ink); margin: 18px 0; box-shadow: var(--sh-2); }
.loyal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.loyal__t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.25rem; }
.loyal__s { font-size: .9375rem; opacity: .85; }
.loyal__stamps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; justify-items: center; }
.loyal__st { width: 100%; max-width: 46px; aspect-ratio: .72; border-radius: var(--nail); background: color-mix(in srgb, var(--accent-ink) 14%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent-ink) 35%, transparent); display: grid; place-items: center; }
.loyal__st.is-on { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.loyal__st .ic { width: 16px; height: 16px; }
.loyal__r { display: flex; align-items: center; gap: 8px; font-size: .9375rem; }
.loyal__r .ic { width: 18px; height: 18px; }

/* ==========================================================================
   v5 · Portadas nuevas: Arco y Pase de fotos
   ========================================================================== */
.hero--arch { display: grid; justify-items: center; text-align: center; gap: clamp(32px, 5vw, 64px); padding: clamp(40px, 6vw, 88px) var(--gutter) 0; overflow: hidden; }
.arch__body { display: grid; justify-items: center; gap: 22px; max-width: 900px; }
.arch__body .hero__chips, .arch__body .hero__actions { justify-content: center; }
.arch__title { font-size: calc(clamp(2.8rem, 1.3rem + 5vw, 6.2rem) * var(--fs)); max-width: 14ch; margin-inline: auto; }
.arch__body .hero__text { max-width: 46ch; margin-inline: auto; }
.arch__stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: clamp(16px, 3vw, 44px); width: min(100%, 1100px); }
.arch__main { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--tint); box-shadow: var(--sh-3); }
.arch__fade { position: absolute; inset: 0; }
.arch__fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity calc(1400ms * var(--spd)) ease, transform 8s linear; }
.arch__fade img.is-on { opacity: 1; }
.arch__fade .hero__polish { position: absolute; inset: 24% 30%; border-radius: var(--nail); }
.arch__side { margin: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surface); box-shadow: var(--sh-2); margin-bottom: 14%; }
.arch__side--l { transform: translateY(-6%); } .arch__side--r { transform: translateY(-18%); }
.arch__side img, .arch__side .nail { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--arch .hero__band { width: min(100%, 1100px); height: 12px; border-radius: 12px; overflow: hidden; margin-top: -1px; }
@media (max-width: 760px) { .arch__stage { grid-template-columns: 1fr 2fr 1fr; gap: 10px; } .arch__side { margin-bottom: 30%; } }

.hero--slides { position: relative; display: grid; align-items: end; min-height: calc(100svh - var(--header-h) - var(--bar-h, 0px)); padding: 0; overflow: hidden; color: #fff; background: #111; }
.slides__media { position: absolute; inset: 0; }
.slides__fade { position: absolute; inset: 0; }
.slides__fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity calc(1400ms * var(--spd)) ease, transform calc(7000ms * var(--spd)) linear; }
.slides__fade img.is-on { opacity: 1; transform: none; }
.slides__fade .hero__polish { position: absolute; inset: 18% 38%; border-radius: var(--nail); }
.slides__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,8,9,.82) 0%, rgba(10,8,9,.35) 45%, rgba(10,8,9,.1) 75%), linear-gradient(90deg, rgba(10,8,9,.45), transparent 60%); }
.slides__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-block: clamp(40px, 7vw, 96px); width: 100%; }
.slides__body { display: grid; gap: 22px; justify-items: start; max-width: 760px; }
.slides__title { font-size: calc(clamp(2.8rem, 1.2rem + 5vw, 6.4rem) * var(--fs)); color: #fff; max-width: 13ch; }
.hero--slides .hero__text { color: rgba(255,255,255,.86); max-width: 44ch; }
.hero--slides .chip-info { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero--slides .btn--ghost { background: rgba(255,255,255,.14); color: #fff; }
.slides__count { display: flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.9); }
.slides__bars { display: flex; gap: 6px; }
.slides__bars b { width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.slides__bars b.is-on::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: slideBar var(--hold, 6s) linear forwards; }
@keyframes slideBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) { .slides__wrap { grid-template-columns: 1fr; } .slides__count { order: -1; } .hero--slides { min-height: 86svh; } }
@media (prefers-reduced-motion: reduce) { .slides__fade img { transform: none; } .slides__bars b.is-on::after { animation: none; transform: none; } }
.hero.hero--arch { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.hero--arch .arch__body { justify-items: center; text-align: center; }
.hero--arch .hero__chips, .hero--arch .hero__actions { justify-content: center; }
.hero--arch .hero__text { text-align: center; }
.hero--slides .slides__body .hero__chips { justify-self: stretch; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Últimos huecos ---------- */
.lastmin { border-block: 1px solid var(--line); background: var(--surface); opacity: 0; transform: translateY(-6px); transition: opacity 400ms ease, transform 500ms var(--ease-out); }
.lastmin.is-in { opacity: 1; transform: none; }
.lastmin__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 14px; }
.lastmin__t { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9375rem; }
.lastmin__t span:last-child { color: var(--muted); }
.lastmin__slots { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lastmin__day { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.lastmin__day:first-child { margin-left: 0; }
.lastmin__slot { height: 38px; padding: 0 16px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out), box-shadow 180ms ease; }
@media (hover: hover) and (pointer: fine) { .lastmin__slot:hover { background: var(--accent); color: var(--accent-ink); box-shadow: none; } }
.lastmin__slot:active { transform: scale(.96); }
@media (max-width: 760px) { .lastmin__in { padding-block: 12px; } .lastmin__slots { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .lastmin__slots::-webkit-scrollbar { display: none; } .lastmin__slot, .lastmin__day { flex: none; } }

/* ---------- Tarjetas regalo ---------- */
.gifts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gifts__stage { position: sticky; top: calc(var(--header-h, 72px) + 24px); display: grid; place-items: center; padding: clamp(12px, 3vw, 40px) 0; }
.gcard { --gc-bg: var(--accent); --gc-ink: var(--accent-ink, #fff); --gc-soft: color-mix(in srgb, var(--gc-ink) 70%, transparent);
  position: relative; overflow: hidden; isolation: isolate; width: min(100%, 460px); aspect-ratio: 1.586; border-radius: 22px; padding: clamp(18px, 4%, 28px);
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 4px; background: var(--gc-bg); color: var(--gc-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 30px 60px -28px rgba(0,0,0,.45), 0 10px 20px -12px rgba(0,0,0,.25);
  transform: rotate(-2.5deg); transition: background 400ms ease, color 400ms ease, transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gifts__stage:hover .gcard { transform: rotate(0deg) translateY(-4px); } }
.gcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 46%, transparent 60%); mix-blend-mode: soft-light; pointer-events: none; }
.gcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.gcard__brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; text-transform: none; font-size: 1rem; }
.gcard__label { color: var(--gc-soft); }
.gcard__value { align-self: center; font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gcard.is-svc .gcard__value { font-size: clamp(1.375rem, 3.6vw, 2rem); line-height: 1.1; }
.gcard__body { display: grid; gap: 2px; min-width: 0; }
.gcard__to { font-weight: 600; }
.gcard__msg { font-style: italic; color: var(--gc-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .9375rem; }
.gcard__msg:empty, .gcard__from:empty { display: none; }
.gcard__from { font-size: .875rem; color: var(--gc-soft); }
.gcard__code { margin-top: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; letter-spacing: .12em; color: var(--gc-soft); }
.gcard__deco { position: absolute; z-index: -1; pointer-events: none; }
.gcard--lacado { --gc-bg: linear-gradient(140deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, #000) 100%); }
.gcard--lacado .gcard__deco { right: -14%; top: -30%; width: 62%; aspect-ratio: .62; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; background: radial-gradient(60% 40% at 35% 25%, rgba(255,255,255,.55), transparent 70%), rgba(255,255,255,.12); transform: rotate(24deg); }
.gcard--nude { --gc-bg: linear-gradient(150deg, #f3e3d6, #e2c4b0); --gc-ink: #3b2a22; }
.gcard--nude .gcard__deco { inset: auto -10% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(59,42,34,.18); box-shadow: 0 0 0 22px rgba(255,255,255,.18), 0 0 0 44px rgba(59,42,34,.05); }
.gcard--noche { --gc-bg: radial-gradient(120% 90% at 100% 0%, #2b2440 0%, #14121c 60%); --gc-ink: #f5ead2; }
.gcard--noche .gcard__value { background: linear-gradient(100deg, #e8c77d, #fff3cf 45%, #c99b47); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gcard--noche .gcard__deco { inset: 0; background-image: radial-gradient(1.4px 1.4px at 20% 30%, #e8c77d 50%, transparent 51%), radial-gradient(1px 1px at 70% 20%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 85% 65%, #e8c77d 50%, transparent 51%), radial-gradient(1px 1px at 40% 80%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 58% 48%, #e8c77d 50%, transparent 51%); opacity: .8; }
.gcard--confeti { --gc-bg: #fff6ef; --gc-ink: #2a1d1a; }
.gcard--confeti .gcard__deco { inset: 0; background-image: radial-gradient(circle at 12% 18%, #ff8fab 0 5px, transparent 6px), radial-gradient(circle at 88% 22%, #ffd166 0 6px, transparent 7px), radial-gradient(circle at 78% 82%, #06d6a0 0 5px, transparent 6px), radial-gradient(circle at 30% 88%, #8ecae6 0 4px, transparent 5px), radial-gradient(circle at 62% 12%, var(--accent) 0 4px, transparent 5px), radial-gradient(circle at 94% 56%, #ff8fab 0 3px, transparent 4px); }
.gcard--floral { --gc-bg: linear-gradient(160deg, #eef3e8, #d7e4cf); --gc-ink: #24331f; }
.gcard--floral .gcard__deco { right: -8%; bottom: -18%; width: 52%; aspect-ratio: 1; background: radial-gradient(circle, #f6c9cf 0 14%, transparent 15%), conic-gradient(from 0deg, rgba(219,140,155,.55) 0 12.5%, transparent 0 25%, rgba(219,140,155,.55) 0 37.5%, transparent 0 50%, rgba(219,140,155,.55) 0 62.5%, transparent 0 75%, rgba(219,140,155,.55) 0 87.5%, transparent 0); border-radius: 50%; -webkit-mask: radial-gradient(circle, #000 68%, transparent 69%); mask: radial-gradient(circle, #000 68%, transparent 69%); }
.gifts__form { display: grid; gap: 22px; }
.gifts__set { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.gifts__lg { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 2px; }
.gifts__amounts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chipr { position: relative; }
.chipr input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chipr span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.chipr input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.chipr input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.chipr:active span { transform: scale(.96); }
.gifts__other { flex: 1 0 100%; }
.gifts__designs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gdesign { position: relative; display: grid; gap: 6px; justify-items: center; cursor: pointer; }
.gdesign input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gdesign__sw { width: 100%; aspect-ratio: 1.586; border-radius: 10px; background: var(--gc-bg, var(--accent)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: box-shadow 180ms ease, transform 180ms var(--ease-out); }
.gdesign input:checked ~ .gdesign__sw { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.gdesign input:focus-visible ~ .gdesign__sw { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.gdesign__t { font-size: .8125rem; color: var(--muted); text-align: center; }
.gdesign input:checked ~ .gdesign__t { color: var(--ink); font-weight: 600; }
.gifts__done { display: grid; gap: 14px; padding: clamp(20px, 4vw, 32px); border-radius: var(--r, 18px); background: var(--surface); outline: none; }
.gifts__ok { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.gifts__ok .icon { width: 28px; height: 28px; color: var(--accent-text); }
.gifts__acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .gifts__grid { grid-template-columns: 1fr; }
  .gifts__stage { position: relative; top: 0; padding: 4px 0 8px; }
  .gcard { transform: rotate(-1.5deg); }
}
@media (max-width: 420px) { .gifts__designs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .gdesign__t { font-size: .6875rem; } }
@media (prefers-reduced-motion: reduce) { .gcard { transition: none; } }

/* ---------- Página de una tarjeta regalo ---------- */
.giftpage { padding-block: calc(var(--header-h, 72px) + clamp(32px, 6vw, 72px)) clamp(48px, 8vw, 96px); }
.giftpage__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.giftpage__card { display: grid; place-items: center; }
.giftpage__card .gcard { width: min(100%, 520px); }
.giftpage__info { display: grid; gap: 16px; justify-items: start; }
.giftpage__state { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface); font-size: .875rem; font-weight: 600; }
.giftpage__state .icon { width: 16px; height: 16px; }
.giftpage__state--active { background: color-mix(in srgb, #1f9d5a 14%, var(--bg)); color: #17794a; }
.giftpage__state--pending { background: color-mix(in srgb, #d99a1e 16%, var(--bg)); color: #8a5d06; }
.giftpage__state--expired { color: #b42318; }
.giftpage__code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.giftpage__code b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.25rem; letter-spacing: .1em; }
.giftpage__acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .giftpage__in { grid-template-columns: 1fr; } .giftpage__card .gcard { transform: rotate(-1.5deg); } }
@media print {
  .site-header, .site-footer, .no-print, .cookie, .cursor, .lastmin { display: none !important; }
  .giftpage { padding: 0; } .giftpage__in { grid-template-columns: 1fr; } .gcard { transform: none; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Aviso "Añadir como app" ---------- */
.a2hs { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 12px; border-radius: 20px; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(0,0,0,.35); transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform 520ms var(--ease-out), opacity 300ms ease; }
.a2hs.is-in { transform: none; opacity: 1; }
.a2hs__ic { width: 44px; height: 44px; border-radius: 11px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.a2hs__txt { min-width: 0; flex: 1; }
.a2hs__t { font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.a2hs__d { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.a2hs__share { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; color: #0a84ff; }
.a2hs__go { height: 36px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .875rem; flex: none; }
.a2hs__go:active { transform: scale(.96); }
.a2hs__x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); flex: none; }
.a2hs__x .icon { width: 18px; height: 18px; }
@media (min-width: 600px) { .a2hs { left: auto; right: 20px; width: 380px; } }
@media (prefers-reduced-motion: reduce) { .a2hs { transition: opacity 200ms ease; transform: none; } }

/* ---------- Pagos online ---------- */
.paybtns { display: grid; gap: 8px; }
.btn--paypal { background: #ffc439; color: #111; }
.btn--paypal b { font-weight: 800; font-style: italic; color: #003087; }
@media (hover: hover) and (pointer: fine) { .btn--paypal:hover { background: #f2b52a; } }
.paynow { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-sm, 14px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-block: 16px; text-align: left; }
.paynow--req { box-shadow: inset 0 0 0 1.5px var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.paynow__t { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.paynow__t .ic, .paynow__t .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-text); }
.paynow--ok { display: flex; align-items: center; gap: 10px; color: #17794a; font-weight: 600; }
.paynow--ok .icon { width: 20px; height: 20px; }
.paypage { padding-block: calc(var(--header-h, 72px) + 48px) 72px; }
.paypage__card { max-width: 560px; margin-inline: auto; display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(24px, 5vw, 48px); border-radius: var(--r, 20px); background: var(--surface); }
.paypage__ic { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); }
.paypage__ic .icon { width: 30px; height: 30px; }
.paypage__card--ok .paypage__ic { color: #17794a; } .paypage__card--bad .paypage__ic { color: #b42318; } .paypage__card--wait .paypage__ic { color: #8a5d06; }

/* ---------- ¿Qué me hago? ---------- */
.finder-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; margin-bottom: 28px; padding: 16px 18px; border-radius: var(--r, 20px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; color: inherit; transition: box-shadow 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .finder-cta:hover { box-shadow: inset 0 0 0 1.5px var(--accent); } .finder-cta:hover .finder-cta__go .ic { transform: translateX(3px); } }
.finder-cta:active { transform: scale(.99); }
.finder-cta__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.finder-cta__ic .ic { width: 22px; height: 22px; }
.finder-cta__txt { display: grid; gap: 2px; min-width: 0; }
.finder-cta__txt b { font-size: 1.0625rem; }
.finder-cta__txt span { color: var(--muted); font-size: .9375rem; }
.finder-cta__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-text); white-space: nowrap; }
.finder-cta__go .ic { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (max-width: 560px) { .finder-cta { grid-template-columns: auto minmax(0, 1fr); } .finder-cta__go { grid-column: 2; } }
.finder { display: grid; gap: 16px; padding-bottom: 8px; }
.finder__dots { display: flex; gap: 6px; }
.finder__dots i { width: 22px; height: 4px; border-radius: 99px; background: var(--line); transition: background-color 300ms ease, width 300ms var(--ease-out); }
.finder__dots i.is-on { background: var(--accent); width: 34px; }
.finder__q { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; line-height: 1.15; letter-spacing: var(--display-track); }
.finder__opts { display: grid; gap: 10px; }
.finder__opt { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 12px 16px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; font-weight: 500; color: inherit; transition: box-shadow 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out); }
.finder__opt .ic { width: 22px; height: 22px; color: var(--accent-text); flex: none; }
@media (hover: hover) and (pointer: fine) { .finder__opt:hover { box-shadow: inset 0 0 0 1.5px var(--accent); } }
.finder__opt:active { transform: scale(.98); }
.finder__opt.is-on { box-shadow: inset 0 0 0 2px var(--accent); }
.finder__back { justify-self: start; }
.finder__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.finder__eyebrow .ic { width: 16px; height: 16px; }
.finder__best { display: grid; gap: 6px; padding: 18px; border-radius: 18px; background: var(--surface); }
.finder__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.625rem; line-height: 1.1; }
.finder__name span { color: var(--muted); font-size: 1.125rem; }
.finder__meta { font-weight: 600; font-variant-numeric: tabular-nums; }
.finder__also { font-size: .875rem; color: var(--muted); }
.finder__more { display: grid; gap: 8px; }
.finder__alt { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); text-align: left; color: inherit; }
.finder__alt small { color: var(--muted); white-space: nowrap; }
html, body { overflow-x: clip; }

/* ---------- Mis citas: retoque y álbum ---------- */
.retouch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-block: 16px; padding: 16px 18px; border-radius: var(--r, 20px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.retouch.is-soon { box-shadow: inset 0 0 0 1.5px var(--accent); }
.retouch.is-late { background: color-mix(in srgb, var(--accent) 7%, var(--bg)); box-shadow: inset 0 0 0 1.5px var(--accent); }
.retouch__ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1; background: radial-gradient(closest-side, var(--surface) 78%, transparent 80% 100%), conic-gradient(var(--accent) calc(var(--p) * 1turn), var(--line) 0); }
.retouch.is-late .retouch__ring { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 7%, var(--bg)) 78%, transparent 80% 100%), conic-gradient(var(--accent) 1turn, var(--line) 0); }
.retouch__ring b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.retouch__ring small { font-size: .6875rem; color: var(--muted); }
.retouch__t { font-weight: 650; font-size: 1.0625rem; }
.retouch__s { color: var(--muted); font-size: .9063rem; }
@media (max-width: 640px) { .retouch { grid-template-columns: auto minmax(0, 1fr); } .retouch__go { grid-column: 1 / -1; } }
.album { margin-block: 20px; }
.album__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.album__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; letter-spacing: var(--display-track); }
.album__n { color: var(--muted); font-size: .875rem; }
.album__strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.album__item { scroll-snap-align: start; display: grid; gap: 8px; margin: 0; }
.album__pic { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.album__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .album__pic:hover img { transform: scale(1.04); } }
.album__item figcaption { display: grid; gap: 2px; font-size: .8125rem; }
.album__item figcaption span { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.album-dlg__img { width: 100%; max-height: 62vh; object-fit: contain; border-radius: 16px; background: var(--surface); }
.album-dlg .sheet__body { display: grid; gap: 14px; }
.album, .retouch, .loyal { min-width: 0; max-width: 100%; }
.album__strip { max-width: 100%; overscroll-behavior-x: contain; }

/* ---------- Marca: logo y nombre conviviendo ---------- */
.brandmark { display: inline-flex; align-items: center; gap: clamp(8px, .55em, 12px); min-width: 0; }
.brandmark .brand-logo { display: block; height: var(--logo-h, 34px); max-height: var(--logo-h, 34px); width: auto; max-width: min(240px, 46vw); object-fit: contain; flex: none; }
.brandmark .brand-logo--dark { display: none; }
:root[data-theme="dark"] .brandmark .brand-logo--light { display: none; }
:root[data-theme="dark"] .brandmark .brand-logo--dark { display: block; }
@media (prefers-color-scheme: dark) { :root[data-mode="auto"]:not([data-theme="light"]) .brandmark .brand-logo--light { display: none; } :root[data-mode="auto"]:not([data-theme="light"]) .brandmark .brand-logo--dark { display: block; } }
/* Con nombre al lado: el símbolo no pasa de 1,9 veces la altura de las letras, y el nombre se alinea a su centro óptico */
.brandmark--logo_name .brand-logo { height: min(var(--logo-h, 34px), 2.6rem); max-width: 64px; }
.brandmark--logo_name .brand-word { line-height: 1; padding-top: .06em; }
@media (max-width: 560px) {
  .brandmark .brand-logo { max-height: min(var(--logo-h, 34px), 40px); max-width: 52vw; }
  .brandmark--logo_name .brand-logo { max-height: 34px; }
  .brandmark--logo_name .brand-word { font-size: 1.125rem; }
}
