:root {
  --ink: #1A1714;
  --muted: #6B6257;
  --line: #E4D9C8;
  --line-2: #D5C8B4;
  --ivory: #F7F2EA;
  --white: #FFFFFF;
  --black: #000000;
  --gold: #D6B25E;
  --gold-light: #EBD08A;
  --gold-text: #8C6A24;
  --error: #A3352B;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --caps: 'Cinzel', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.45; }
body.has-bar { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--gold-text); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }

/* Encabezado negro con el logo */
.hero { position: relative; overflow: hidden; background: var(--black); padding: 14px 24px 60px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-top { width: 100%; max-width: 560px; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.hero-tag { font-size: 11px; letter-spacing: 3px; color: var(--gold); }
.hero-link { font-size: 12px; letter-spacing: 2px; color: var(--gold-light); text-decoration: none; padding: 12px 0; }
/* Animación del logo: entrada con destello, brillo que recorre las letras, estrellas que centellean y polvo dorado */
.logo-stage { position: relative; width: min(300px, 78vw); padding: 10px 0 6px; }
.logo-wrap { position: relative; z-index: 2; aspect-ratio: 858 / 598; }
.hero-logo { display: block; width: 100%; height: auto; animation: logo-in 1.8s cubic-bezier(.16, .8, .24, 1) both; }
.logo-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 214, .0) 42%, rgba(255, 250, 232, .95) 50%, rgba(255, 246, 214, 0) 58%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 160% 0; -webkit-mask: url(./assets/logo-essenza-alpha.webp) center / contain no-repeat; mask: url(./assets/logo-essenza-alpha.webp) center / contain no-repeat; mix-blend-mode: screen; animation: shine 6.5s ease-in-out 1.5s infinite; }
.spark { position: absolute; width: 26px; height: 26px; transform: translate(-50%, -50%) scale(0); filter: drop-shadow(0 0 4px #fff3c4) drop-shadow(0 0 10px #e8c770); animation: twinkle 3.4s ease-in-out infinite; pointer-events: none; }
.spark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, #fff 0 18%, #fff3c4 34%, #e8c770 70%); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
.spark.s1 { left: 55.6%; top: 19.6%; animation-delay: 2.1s; }
.spark.s2 { left: 49.8%; top: 91%; width: 22px; height: 22px; animation-delay: 3.6s; }
.spark.s3 { left: 9%; top: 52%; width: 14px; height: 14px; animation-delay: 4.7s; animation-duration: 4.2s; }
.logo-glow { position: absolute; z-index: 0; left: 50%; top: 52%; width: 150%; aspect-ratio: 1.6; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(214, 178, 94, .26), rgba(214, 178, 94, .08) 55%, transparent 75%); animation: glow 5s ease-in-out 1s infinite alternate both; pointer-events: none; }
.dust { position: absolute; z-index: 1; inset: -20px -40px 0; pointer-events: none; }
.dust i { position: absolute; bottom: 0; width: 3px; height: 3px; border-radius: 50%; background: #f3d98b; box-shadow: 0 0 6px 1px rgba(235, 208, 138, .8); opacity: 0; animation: rise 8s linear infinite; }
.dust i:nth-child(1) { left: 6%; animation-delay: .2s; animation-duration: 9s; }
.dust i:nth-child(2) { left: 14%; animation-delay: 3.1s; width: 2px; height: 2px; }
.dust i:nth-child(3) { left: 22%; animation-delay: 1.4s; animation-duration: 10s; }
.dust i:nth-child(4) { left: 30%; animation-delay: 5.2s; width: 2px; height: 2px; }
.dust i:nth-child(5) { left: 38%; animation-delay: 2.3s; animation-duration: 7s; }
.dust i:nth-child(6) { left: 46%; animation-delay: 6.4s; animation-duration: 11s; }
.dust i:nth-child(7) { left: 54%; animation-delay: .9s; width: 2px; height: 2px; }
.dust i:nth-child(8) { left: 61%; animation-delay: 4.3s; animation-duration: 9.5s; }
.dust i:nth-child(9) { left: 68%; animation-delay: 2.8s; }
.dust i:nth-child(10) { left: 75%; animation-delay: 7.1s; width: 2px; height: 2px; animation-duration: 10s; }
.dust i:nth-child(11) { left: 82%; animation-delay: 1.9s; animation-duration: 8.5s; }
.dust i:nth-child(12) { left: 89%; animation-delay: 5.8s; }
.dust i:nth-child(13) { left: 95%; animation-delay: 3.7s; width: 2px; height: 2px; animation-duration: 9s; }
.dust i:nth-child(14) { left: 50%; animation-delay: 8.2s; animation-duration: 12s; }
.hero-top { animation: fade-in 1.2s ease .9s both; }
.sheet { animation: sheet-up 1s cubic-bezier(.16, .8, .24, 1) .6s both; }
@keyframes logo-in { 0% { opacity: 0; transform: scale(1.1); filter: blur(12px) brightness(2.2); } 60% { opacity: 1; filter: blur(0) brightness(1.35); } 100% { opacity: 1; transform: scale(1); filter: blur(0) brightness(1); } }
@keyframes shine { 0% { background-position: 160% 0; } 28%, 100% { background-position: -60% 0; } }
@keyframes twinkle { 0%, 100% { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; } 12% { transform: translate(-50%, -50%) scale(1.15) rotate(45deg); opacity: 1; } 24% { transform: translate(-50%, -50%) scale(.85) rotate(90deg); opacity: .9; } 36% { transform: translate(-50%, -50%) scale(0) rotate(135deg); opacity: 0; } }
@keyframes glow { from { opacity: .7; transform: translate(-50%, -50%) scale(.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 70% { opacity: .6; } 100% { transform: translate(12px, -230px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheet-up { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }

/* Hoja marfil */
.sheet { background: var(--ivory); margin-top: -36px; border-radius: 28px 28px 0 0; padding: 32px 22px 0; min-height: 60vh; }
.sheet > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.eyebrow { margin: 0; font-family: var(--caps); font-size: 12px; letter-spacing: 4px; color: var(--gold-text); }
h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 9vw, 42px); line-height: 1.08; }
h1 em { font-style: italic; }
.intro-text { margin: 0; font-size: 15px; color: var(--muted); max-width: 330px; }
.progress { width: 100%; height: 3px; background: var(--line); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 25%; background: #B08A3E; border-radius: 2px; transition: width .3s ease; }
.steps { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 500; }
.steps li.done { color: var(--gold-text); }

/* Contenido de cada paso */
.booking { padding: 34px 0 10px; scroll-margin-top: 12px; }
.step-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; outline: none; }
.step-intro { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.sub-title { margin: 30px 0 4px; font-family: var(--serif); font-weight: 600; font-size: 26px; }
.sub-title span { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); }
.group { margin: 20px 0 4px; font-size: 11px; letter-spacing: 3px; color: var(--gold-text); }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; }
.error { color: var(--error); font-size: 14px; margin: 10px 0; }
.error:empty { display: none; }
.back { display: inline-flex; align-items: center; gap: 6px; border: none; background: none; padding: 10px 0; min-height: 44px; margin-bottom: 4px; font-size: 13px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.link { border: none; background: none; padding: 12px 0; min-height: 44px; font-size: 14px; color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }

/* Servicios */
.services { list-style: none; margin: 0; padding: 0; }
.service { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 0; border: none; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.service .check { flex: 0 0 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; color: transparent; transition: background .15s; }
.service.on .check { background: var(--ink); color: var(--gold-light); }
.service .info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.service .info strong { font-size: 17px; font-weight: 500; }
.service .info small { font-size: 13px; color: var(--muted); }
.service .price { font-family: var(--serif); font-size: 19px; font-weight: 600; white-space: nowrap; }
.service.quote { flex-wrap: wrap; }
.notes { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.notes li::before { content: '* '; color: var(--gold-text); }
.quote-link { font-size: 13px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 22px; color: var(--ink); text-decoration: none; white-space: nowrap; }

/* Días */
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 10px; margin: 6px -2px 0; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: 0 0 64px; height: 84px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; scroll-snap-align: start; }
.day .d-wd { font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.day .d-n { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; }
.day .d-mo { font-size: 11px; color: var(--muted); }
.day.on { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }
.day.on .d-wd, .day.on .d-mo { color: var(--gold-light); }
.day:disabled { background: transparent; border-style: dashed; border-color: var(--line-2); color: #8F857A; }
.month { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 14px; margin-top: 8px; }
.month-nav { display: flex; align-items: center; justify-content: space-between; }
.month-nav strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.month-nav button { width: 44px; height: 44px; border: none; background: none; font-size: 24px; color: var(--ink); }
.month-nav button:disabled { color: var(--line-2); }
.weekdays, .month-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.weekdays { font-size: 12px; color: var(--muted); padding: 4px 0; }
.month-days button { height: 44px; border: none; border-radius: 12px; background: none; font-size: 15px; }
.month-days button.on { background: var(--ink); color: var(--gold-light); font-weight: 500; }
.month-days button:disabled { color: #B3A99C; }

/* Horarios */
.times .group { margin-top: 16px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.slot { min-width: 82px; height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--white); font-size: 15px; }
.slot.on { background: var(--ink); border-color: var(--ink); color: var(--gold-light); }

/* Datos */
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.field span { letter-spacing: 0; }
.field input { height: 46px; border: none; border-bottom: 1px solid var(--ink); background: transparent; border-radius: 0; font-size: 17px; letter-spacing: 0; color: var(--ink); padding: 0; }
.field input::placeholder { color: #9A9085; }
.field input:focus { outline: none; border-bottom: 2px solid var(--gold-text); }

/* Confirmación */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.card-eyebrow { margin: 0 0 2px; font-family: var(--caps); font-size: 12px; letter-spacing: 3px; color: var(--gold-text); }
.row { display: flex; justify-content: space-between; gap: 14px; font-size: 15px; }
.row span:last-child { text-align: right; }
.muted-row { color: var(--muted); font-size: 14px; }
.muted-row span:last-child { color: var(--ink); }
.row.total { font-weight: 500; font-size: 16px; padding-top: 4px; }
.row.total span:last-child { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.rule { height: 1px; background: var(--line); }
.card-note { margin: 0; font-size: 13px; color: var(--muted); }
.facts { list-style: none; margin: 14px 0 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #3F3830; }
.facts svg { flex: 0 0 20px; color: var(--gold-text); }

/* Resultado */
.result { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 20px; }
.result .card { width: 100%; text-align: left; }
.result-icon { width: 60px; height: 60px; border-radius: 30px; background: var(--ink); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.result-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 10px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 26px; border: none; font-family: var(--caps); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-decoration: none; white-space: nowrap; }
.btn.gold { background: var(--gold); color: var(--black); }
.btn.gold:disabled { background: #4A4234; color: #A69D8C; }
.btn.ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }

/* Barra fija inferior */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--black); border-radius: 22px 22px 0 0; padding: 14px 18px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); }
.bar[hidden] { display: none; }
.bar-inner { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bar-line { font-size: 12px; color: #B9AF9F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-total { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--gold-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pie */
.foot { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 0 34px; text-align: center; color: var(--muted); }
.foot-brand { font-family: var(--caps); font-size: 13px; letter-spacing: 4px; color: var(--ink); }
.foot-by { font-family: var(--serif); font-style: italic; font-size: 17px; }
.foot-address { font-size: 13px; margin-top: 6px; }
.foot small { font-size: 11px; margin-top: 8px; }
.foot a { color: var(--muted); }

/* Conoce a Gabriela (hasta abajo) */
.about { display: grid; gap: 20px; padding: 26px 0 8px; border-top: 1px solid var(--line); margin-top: 26px; }
.portrait { position: relative; margin: 0 auto; width: min(190px, 52vw); }
.portrait-frame { position: relative; overflow: hidden; aspect-ratio: 720 / 1051; border-radius: 999px 999px 16px 16px; background: #E4D5BE; box-shadow: 0 22px 40px -26px rgba(70, 48, 14, .55); }
.portrait-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait-frame::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(176, 138, 62, .75); border-radius: 999px 999px 11px 11px; pointer-events: none; }
.portrait .spark.p1 { left: 86%; top: 12%; width: 16px; height: 16px; animation-delay: 1s; }
.portrait .spark.p2 { left: 12%; top: 30%; width: 10px; height: 10px; animation-delay: 2.7s; animation-duration: 4s; }
.portrait figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 10px; text-align: center; }
.pc-name { font-family: var(--serif); font-size: 21px; font-weight: 600; white-space: nowrap; }
.pc-role { font-size: 10px; letter-spacing: 2px; color: var(--gold-text); white-space: nowrap; }
.about-copy { display: flex; flex-direction: column; gap: 12px; }
.about-copy h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 8.4vw, 40px); line-height: 1.06; text-wrap: balance; }
.about-copy h2 em { font-style: italic; color: var(--gold-text); }
.about-copy > p:not(.eyebrow) { margin: 0; font-size: 16px; line-height: 1.6; color: #3F3830; }
.about-facts { list-style: none; margin: 8px 0 4px; padding: 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.about-facts li { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.about-facts li + li { border-left: 1px solid var(--line); }
.about-facts strong { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; color: var(--ink); }
.about-facts span { font-size: 12px; color: var(--muted); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 6px; }
.btn.dark { background: var(--ink); color: var(--gold-light); }
.text-link { font-size: 14px; color: var(--gold-text); padding: 12px 0; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.16, .8, .24, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (min-width: 720px) {
  .about { grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 40px; }
  .portrait { width: 200px; }
}

@media (min-width: 720px) {
  .hero { padding-bottom: 72px; }
  .sheet { margin-left: auto; margin-right: auto; max-width: 720px; padding: 44px 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero-logo, .hero-top, .sheet, .logo-glow { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .logo-shine, .spark, .dust { display: none; }
}

/* Aviso de privacidad */
.legal-page { background: var(--black); }
.legal-top { display: flex; justify-content: center; padding: 22px 24px 54px; }
.legal-top img { width: 150px; height: auto; }
.legal { padding-bottom: 48px; }
.legal h1 { margin: 8px 0 4px; }
.legal h2 { margin: 26px 0 6px; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.legal p:not(.eyebrow) { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: #3F3830; }
.legal-date { color: var(--muted) !important; font-size: 13px !important; }
.legal-back { margin-top: 28px !important; }
