/* ============ Leya Nails — tema glam (negro, oro y rosa) ============ */
@font-face { font-family: "Great Vibes"; src: url(/fonts/great-vibes.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Cinzel"; src: url(/fonts/cinzel-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0e0906;
  --bg-2: #171009;
  --bg-3: #221810;
  --card: rgba(255, 240, 220, .045);
  --card-2: rgba(255, 240, 220, .08);
  --line: rgba(226, 184, 102, .22);
  --line-2: rgba(226, 184, 102, .45);
  --gold: #e2b866;
  --gold-2: #f8e0a2;
  --gold-3: #a8783a;
  --pink: #ff9ec7;
  --pink-2: #ffd0e3;
  --pink-3: #e45c97;
  --ink: #fbf2e8;
  --muted: #c4b19c;
  --ok: #6fd39a;
  --bad: #ff8a80;
  --radius: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --glow: 0 0 0 1px var(--line), 0 10px 40px rgba(226, 184, 102, .12);
  --g-gold: linear-gradient(180deg, #fff4cc 0%, #f3cf7f 38%, #b4823e 62%, #f6dc9a 100%);
  --g-pink: linear-gradient(135deg, #ffc2dc 0%, #ff8fbf 45%, #e45c97 100%);
  --script: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* alias usados por el panel */
  --rose: var(--pink-3); --rose-dark: var(--gold); --rose-soft: var(--card-2);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(226, 184, 102, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 158, 199, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.15; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

.script { font-family: var(--script); font-weight: 400; }
.gold-text { background: var(--g-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pink-text { background: var(--g-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shine { background-size: 200% auto; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* ---------- Botones ---------- */
.btn {
  --bgc: var(--g-pink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 0; border-radius: 999px; padding: .85em 1.6em; min-height: 48px; cursor: pointer;
  font: 700 1rem var(--sans); letter-spacing: .02em; text-decoration: none; color: #3a0d22;
  background: var(--bgc); box-shadow: 0 8px 24px rgba(228, 92, 151, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .25s var(--ease), box-shadow .25s, filter .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); animation: sweep 3.8s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(228, 92, 151, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn:active { transform: scale(.97); }
.btn:disabled { filter: grayscale(.7) brightness(.7); cursor: not-allowed; transform: none; }
.btn.gold { --bgc: var(--g-gold); color: #3b2508; box-shadow: 0 8px 24px rgba(226, 184, 102, .3), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn.ghost { background: transparent; color: var(--gold-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: var(--card-2); }
.btn.wa { --bgc: linear-gradient(135deg, #4fe08a, #1fa855); color: #05301a; box-shadow: 0 8px 24px rgba(31, 168, 85, .35); }
.btn.small { padding: .5em 1.1em; min-height: 38px; font-size: .9rem; }
.btn.block { width: 100%; }

/* ---------- Cabecera ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.top.scrolled { background: rgba(14, 9, 6, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; white-space: nowrap; }
.brand .script { font-size: 2.1rem; line-height: 1; }
.brand .display { font-family: var(--display); font-size: 1rem; letter-spacing: .25em; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--g-gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 96px 0 56px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { font-family: var(--display); letter-spacing: .3em; font-size: .8rem; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--script); font-weight: 400; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: 1; margin: 0 0 6px; padding: .05em .1em .1em 0; filter: drop-shadow(0 4px 18px rgba(228, 92, 151, .35)); }
.hero h1 .gold-text { font-family: var(--display); font-size: .42em; letter-spacing: .2em; display: block; margin-top: .25em; filter: drop-shadow(0 2px 10px rgba(226, 184, 102, .35)); }
.lead { font-size: clamp(1.05rem, 2.3vw, 1.25rem); color: var(--muted); max-width: 30em; margin: 10px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; color: var(--ink); backdrop-filter: blur(6px); }

.hero-art { position: relative; justify-self: center; width: min(400px, 100%); }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 199, .45), rgba(226, 184, 102, .25) 45%, transparent 70%);
  filter: blur(30px); animation: pulse 5s ease-in-out infinite;
}
.hero-art img {
  position: relative; width: 100%; height: auto; border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px var(--line-2);
  animation: float 7s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(130% 100% at 50% 40%, #000 62%, transparent 100%);
  mask-image: radial-gradient(130% 100% at 50% 40%, #000 62%, transparent 100%);
}
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); pointer-events: none; }
.ring.r1 { inset: -6% -14%; animation: spin 40s linear infinite; border-style: dashed; }
.ring.r2 { inset: 6% -4%; animation: spin 60s linear infinite reverse; }
.ring::after { content: "✦"; position: absolute; top: -10px; left: 50%; color: var(--gold-2); font-size: 18px; text-shadow: 0 0 10px var(--gold); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-16px) rotate(.6deg); } }
@keyframes pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Destellos y corazones */
.fx { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.spark { position: absolute; width: var(--s, 6px); height: var(--s, 6px); background: var(--gold-2); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: twinkle var(--t, 3s) ease-in-out var(--d, 0s) infinite; filter: drop-shadow(0 0 6px var(--gold)); }
.spark.p { background: var(--pink-2); filter: drop-shadow(0 0 6px var(--pink)); }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(90deg); } }
.heart { position: absolute; bottom: -40px; font-size: var(--s, 18px); color: var(--pink); opacity: 0; animation: rise var(--t, 12s) linear var(--d, 0s) infinite; text-shadow: 0 0 12px rgba(255, 158, 199, .6); }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) translateX(0) rotate(0); } 10% { opacity: .8; } 90% { opacity: .6; } 100% { opacity: 0; transform: translateY(-105vh) translateX(var(--x, 30px)) rotate(25deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); color: var(--gold); font-size: 1.4rem; animation: bob 2s ease-in-out infinite; text-decoration: none; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (max-width: 860px) {
  .hero { padding-top: 84px; min-height: auto; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-art { order: -1; width: min(240px, 62%); }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .scroll-hint { display: none; }
}

/* ---------- Cinta ---------- */
.marquee { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(226, 184, 102, .06), rgba(255, 158, 199, .06)); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--display); letter-spacing: .25em; font-size: .95rem; color: var(--gold-2); white-space: nowrap; display: flex; gap: 40px; align-items: center; }
.marquee span::after { content: "✦"; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
section.block { padding: 88px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .script { font-size: clamp(2.8rem, 7vw, 4rem); display: block; line-height: 1; }
.section-head h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 2.4vw, 1.2rem); letter-spacing: .35em; text-transform: uppercase; margin: 6px 0 10px; }
.section-head p { margin: 0 auto; color: var(--muted); max-width: 34em; }
.divider { width: 120px; height: 14px; margin: 12px auto 0; background:
  linear-gradient(var(--gold), var(--gold)) center/100% 1px no-repeat; position: relative; }
.divider::after { content: "♥"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); background: var(--bg); padding: 0 8px; color: var(--pink); font-size: 14px; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.service {
  position: relative; border-radius: var(--radius); padding: 26px 24px 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  box-shadow: var(--glow); display: flex; flex-direction: column; gap: 8px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.service::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--gold-2), var(--pink), transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px rgba(228, 92, 151, .18); }
.service:hover::before { opacity: 1; animation: border-spin 3s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes border-spin { to { --a: 360deg; } }
.service .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: radial-gradient(circle at 30% 30%, rgba(255, 208, 227, .35), rgba(226, 184, 102, .15)); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 6px; transition: transform .4s var(--ease); }
.service:hover .ico { transform: rotate(-8deg) scale(1.08); }
.service img.cover { width: calc(100% + 48px); max-width: none; margin: -26px -24px 10px; aspect-ratio: 16/10; object-fit: cover; }
.service h3 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .06em; margin: 0; color: var(--gold-2); }
.service p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.service .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.price { font-weight: 800; font-size: 1.15rem; }
.price small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); -webkit-text-fill-color: var(--muted); }

/* Diseños */
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.chip { border: 0; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: .5em 1.15em; cursor: pointer; font: 600 .9rem var(--sans); min-height: 40px; transition: all .25s var(--ease); }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.chip.on { background: var(--g-pink); color: #3a0d22; box-shadow: 0 6px 18px rgba(228, 92, 151, .35); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 14px; }
.design { position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; cursor: pointer; background: var(--bg-3); box-shadow: var(--glow); transition: transform .4s var(--ease), box-shadow .4s; }
.design img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.design:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--gold), 0 18px 40px rgba(0, 0, 0, .5); }
.design:hover img { transform: scale(1.08); filter: saturate(1.15); }
.design .cap { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; text-align: left; color: #fff; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgba(10, 5, 3, .85)); }
.design .cap small { display: block; color: var(--gold-2); font-weight: 500; }
.design .star { position: absolute; top: 10px; left: 10px; background: var(--g-gold); color: #3b2508; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.empty { text-align: center; color: var(--muted); padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 22px 22px; border-radius: var(--radius); background: var(--card); box-shadow: var(--glow); text-align: center; }
.step .n { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; color: #3b2508; background: var(--g-gold); box-shadow: 0 0 0 6px rgba(226, 184, 102, .12), 0 8px 24px rgba(226, 184, 102, .3); }
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .08em; color: var(--gold-2); }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Contacto */
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.info .card { padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--glow); }
.info h3 { font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .08em; color: var(--gold-2); }
.info p { margin: 0; }
.shift-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.shift-line:last-child { border: 0; }

footer { text-align: center; padding: 40px 16px 110px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
footer .script { font-size: 2.2rem; display: block; }

/* Barra fija en móvil */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 25; display: none; gap: 10px; transform: translateY(140%); transition: transform .45s var(--ease); }
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; }
.mobile-cta .btn.wa { flex: 0 0 56px; padding: 0; font-size: 1.3rem; }
@media (max-width: 760px) { .mobile-cta { display: flex; } }
@media (min-width: 761px) { footer { padding-bottom: 40px; } }

/* ---------- Animaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(36px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1s; }

/* ---------- Diálogos ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(5, 2, 1, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet {
  width: min(560px, 100vw - 24px); max-height: min(92svh, 860px); overflow: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #1f160e, #120c08); border-radius: 26px;
  box-shadow: 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .7);
}
dialog[open] .sheet { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
@media (max-width: 600px) {
  dialog { margin: auto 0 0; width: 100%; }
  .sheet { width: 100vw; max-height: 94svh; border-radius: 26px 26px 0 0; }
  dialog[open] .sheet { animation: slideup .45s var(--ease); }
}
@keyframes slideup { from { transform: translateY(100%); } }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 22px 14px; position: sticky; top: 0; z-index: 2; background: linear-gradient(180deg, #1f160e 75%, transparent); }
.dlg-head h2 { font-family: var(--script); font-weight: 400; font-size: 2.3rem; line-height: 1; margin: 0; }
.x { border: 0; background: var(--card-2); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; flex: none; transition: transform .3s var(--ease), background .3s; }
.x:hover { transform: rotate(90deg); background: rgba(255, 158, 199, .25); }
.dlg-body { padding: 4px 22px 24px; }
.lightbox .sheet { width: min(620px, 100vw - 24px); }
.lightbox img { width: 100%; max-height: 64svh; object-fit: contain; background: #000; }

/* Pasos del formulario */
.progress { display: flex; gap: 8px; margin: 0 0 18px; }
.progress i { flex: 1; height: 5px; border-radius: 5px; background: var(--card-2); overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--g-pink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress i.on::after { transform: none; }
.step-title { font-family: var(--display); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.pane { animation: paneIn .45s var(--ease); }
.pane.back { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-40px); } }

.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.svc-opt { position: relative; text-align: left; border: 0; cursor: pointer; padding: 14px; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 .95rem var(--sans); transition: all .25s var(--ease); min-height: 76px; }
.svc-opt .e { font-size: 1.4rem; display: block; margin-bottom: 4px; }
.svc-opt small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }
.svc-opt:hover { box-shadow: inset 0 0 0 1.5px var(--gold); transform: translateY(-2px); }
.svc-opt.on { background: linear-gradient(160deg, rgba(255, 158, 199, .25), rgba(226, 184, 102, .12)); box-shadow: inset 0 0 0 2px var(--pink), 0 8px 22px rgba(228, 92, 151, .25); }
.svc-opt.on::after { content: "✓"; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--g-pink); color: #3a0d22; font-size: .8rem; display: grid; place-items: center; animation: popin .3s var(--ease); }
@keyframes popin { from { transform: scale(0); } }

/* Almanaque */
.cal { border-radius: 20px; padding: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-family: var(--display); font-weight: 600; letter-spacing: .1em; text-transform: capitalize; color: var(--gold-2); }
.cal-nav { border: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--card-2); color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: background .2s, transform .2s; }
.cal-nav:hover:not(:disabled) { background: rgba(226, 184, 102, .25); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid.anim { animation: paneIn .35s var(--ease); }
.cal-grid.anim.back { animation-name: paneBack; }
.cal-wd { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); padding: 4px 0; letter-spacing: .05em; }
.cal-day { position: relative; aspect-ratio: 1; min-height: 38px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; transition: all .2s var(--ease); }
.cal-day.open { background: rgba(226, 184, 102, .1); box-shadow: inset 0 0 0 1px var(--line); }
.cal-day.open::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.cal-day.open:hover { background: rgba(226, 184, 102, .25); transform: scale(1.06); }
.cal-day.full { color: var(--muted); text-decoration: line-through; cursor: not-allowed; opacity: .6; }
.cal-day.full::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--bad); }
.cal-day.closed { opacity: .22; cursor: not-allowed; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cal-day.on { background: var(--g-pink) !important; color: #3a0d22; box-shadow: 0 6px 18px rgba(228, 92, 151, .45) !important; transform: scale(1.08); }
.cal-day.on::after { background: #3a0d22; box-shadow: none; }
.cal-legend { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-size: .78rem; color: var(--muted); margin-top: 10px; }
.cal-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: var(--ok); }
.cal-legend span.f::before { background: var(--bad); }
.cal.loading .cal-grid { opacity: .4; pointer-events: none; }

.shifts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.shift { position: relative; overflow: hidden; border: 0; cursor: pointer; border-radius: 18px; padding: 16px 12px; color: var(--ink); text-align: center; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 1rem var(--sans); transition: all .3s var(--ease); animation: paneIn .4s var(--ease) both; }
.shift:nth-child(2) { animation-delay: .08s; }
.shift .e { font-size: 1.9rem; display: block; margin-bottom: 2px; transition: transform .4s var(--ease); }
.shift small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.shift:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--gold); transform: translateY(-2px); }
.shift:hover:not(:disabled) .e { transform: scale(1.15) rotate(-8deg); }
.shift.on { background: linear-gradient(160deg, rgba(255, 158, 199, .3), rgba(226, 184, 102, .15)); box-shadow: inset 0 0 0 2px var(--pink), 0 10px 26px rgba(228, 92, 151, .3); }
.shift:disabled { opacity: .4; cursor: not-allowed; }
.shift:disabled small { color: var(--bad); }

/* Formulario */
.field { margin-bottom: 14px; }
.field > label, .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; color: var(--gold-2); }
input, select, textarea {
  width: 100%; font: 16px var(--sans); padding: .8em .95em; border-radius: 14px; border: 0;
  background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: rgba(196, 177, 156, .6); }
input:focus, select:focus, textarea:focus { outline: 0; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 2px var(--pink), 0 0 0 4px rgba(255, 158, 199, .15); }
textarea { resize: vertical; min-height: 76px; }
.picked { display: flex; align-items: center; gap: 12px; border-radius: 16px; padding: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 14px; }
.picked img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.picked span { flex: 1; font-size: .95rem; }
.picked .x { width: 34px; height: 34px; font-size: 1.2rem; }
.hp { position: absolute; left: -9999px; }
.msg { padding: 11px 14px; border-radius: 14px; margin-bottom: 14px; font-size: .95rem; animation: shake .4s; }
.msg.err { background: rgba(255, 138, 128, .12); color: var(--bad); box-shadow: inset 0 0 0 1px rgba(255, 138, 128, .3); }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.nav-row { display: flex; gap: 10px; margin-top: 18px; }
.nav-row .btn { flex: 1; }
.nav-row .btn.ghost { flex: 0 0 auto; }
.summary { border-radius: 16px; padding: 14px 16px; margin: 0 0 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; display: grid; gap: 4px; }
.summary b { color: var(--gold-2); }

/* Éxito */
.success { text-align: center; padding: 6px 0 4px; position: relative; }
.okmark { width: 92px; height: 92px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--g-pink); box-shadow: 0 0 0 10px rgba(255, 158, 199, .12), 0 12px 40px rgba(228, 92, 151, .45); animation: popin .6s var(--ease); }
.okmark svg { width: 46px; height: 46px; stroke: #3a0d22; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-family: var(--script); font-weight: 400; font-size: 2.6rem; margin: 0 0 8px; }
.burst { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; font-size: 20px; animation: burst 1.3s var(--ease) forwards; }
@keyframes burst { from { opacity: 1; transform: translate(0, 0) scale(.6) rotate(0); } to { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.2) rotate(var(--r)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .fx, .burst { display: none; }
}

/* Teléfono con prefijo +53 */
.phone-group { display: flex; align-items: stretch; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s; overflow: hidden; }
.phone-group:focus-within { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 2px var(--pink), 0 0 0 4px rgba(255, 158, 199, .15); }
.phone-group.valid { box-shadow: inset 0 0 0 2px var(--ok); }
.phone-group.invalid { box-shadow: inset 0 0 0 2px var(--bad); animation: shake .4s; }
.phone-prefix { display: flex; align-items: center; padding: 0 12px 0 14px; font-weight: 700; color: var(--gold-2); border-right: 1px solid var(--line); white-space: nowrap; user-select: none; }
.phone-group input { flex: 1; min-width: 0; background: transparent !important; box-shadow: none !important; border-radius: 0; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.phone-count { display: flex; align-items: center; padding: 0 14px 0 6px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.phone-group.valid .phone-count { color: var(--ok); }
.phone-hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); transition: color .2s; }
.phone-hint.err { color: var(--bad); }
.phone-hint.ok { color: var(--ok); }
