/* ==========================================================================
   Colores — cambia estas variables para ajustar la marca
   ========================================================================== */
:root {
  --bg: #ffffff;
  --tint: #faf6f5;          /* blanco cálido muy sutil para el bloque de agenda */
  --surface: #ffffff;
  --ink: #2b1a1a;
  --muted: #84706e;
  --line: #ebe1df;
  --accent: #4d1e1e;        /* color de contraste */
  --accent-ink: #ffffff;
  --accent-soft: #f3e9e7;
  --accent-light: #e7cfc9;  /* tono claro del acento para usar sobre fondos oscuros */
  --danger: #a3261e;
  --font-title: "Didot Web", "Didot", "Bodoni 72", "Bodoni MT", "Didot LT STD", Georgia, serif;
  --font-body: "Acumin Web", "Acumin", "Acumin Pro", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14px/1.75 var(--font-body);
  letter-spacing: .07em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
/* Nada puede ensanchar la página en celular (clip no rompe los elementos sticky) */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-title); font-weight: 400; text-transform: uppercase;
  line-height: 1.02; letter-spacing: .02em; margin: 0 0 .5em; color: var(--accent);
}
h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); }
h1 em { font-style: italic; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }
.keep-case { text-transform: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
#sobre-mi { padding-bottom: clamp(40px, 5vw, 70px); }
#paquetes { padding-top: clamp(50px, 6vw, 90px); }
.section-tint { background: var(--bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .32em; color: var(--accent); margin-bottom: 18px; }
.muted { color: var(--muted); }
.lead { font-size: 1rem; max-width: 520px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 17px 34px; border: 1px solid var(--accent); border-radius: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 600 .74rem var(--font-body); letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, opacity .2s;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--accent-ink); }
.btn-light-fill { background: #fff; color: var(--accent); border-color: #fff; }
.btn-light-fill:hover { background: transparent; color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--accent); }
.btn-sm { padding: 11px 20px; }
.btn-block { width: 100%; padding: 20px; }

.demo-banner { background: var(--accent); color: #fff; text-align: center; font-size: .66rem; letter-spacing: .2em; padding: 8px 16px; }

/* ==========================================================================
   Hero — fondo blanco, lettering centrado, logo y nieve
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100svh; padding: 110px 20px 80px; background: var(--bg);
}
.hero-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: clamp(22px, 3vw, 36px) clamp(20px, 4vw, 48px);
}
.hero-logo img { display: block; width: clamp(64px, 6vw, 86px); height: auto; }
.hero-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: .66rem; letter-spacing: .16em; }
.hero-links a { color: var(--accent); text-decoration: none; position: relative; }
.hero-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.hero-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.hero-lettering-wrap { position: relative; z-index: 1; display: flex; justify-content: center; will-change: translate; }
.hero-lettering { margin: 0; line-height: 0; }
.hero-lettering img {
  display: block; height: auto;
  width: min(84vw, calc(74svh * .71), 540px);   /* 0.71 = proporción del lettering */
  transform: scale(1.08); transition: transform 2.6s cubic-bezier(.2, .7, .2, 1); will-change: transform;
}
/* Al abrirse la cortinilla el lettering se asienta y luego flota suave con el mouse */
.hero-ready .hero-lettering img { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1); }
.hero-settled .hero-lettering img { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ==========================================================================
   El set de este año
   ========================================================================== */
.set { padding-bottom: clamp(40px, 6vw, 80px); }
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.set h2 em { font-style: italic; }
.set-copy .btn { margin-top: 18px; }
.set-photo-wrap { overflow: hidden; }
.set-photo-wrap .photo { aspect-ratio: 5 / 7; scale: 1.12; object-position: 50% 60%; }
.photo-sobre-mi { object-position: 50% 30%; }

/* ==========================================================================
   Sobre mí
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-photo-wrap { overflow: hidden; }
.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo-wrap .photo { scale: 1.12; }
.photo-placeholder {
  display: grid; place-items: center; text-align: center; color: var(--accent);
  background: linear-gradient(160deg, #f3e9e7, #e2cdc8);
  font-family: var(--font-title); font-size: 1.4rem; letter-spacing: .1em;
}
.photo-placeholder small { display: block; font: .62rem var(--font-body); letter-spacing: .2em; color: var(--muted); margin-top: 8px; }
.values { list-style: none; padding: 32px 0 0; margin: 36px 0 0; display: flex; gap: clamp(28px, 5vw, 60px); border-top: 1px solid var(--line); }
.values li { display: flex; flex-direction: column; }
.values strong { font-style: italic; font-family: var(--font-title); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--accent); }
.values span { font-size: .68rem; letter-spacing: .24em; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   Galería — carrusel 3D
   ========================================================================== */
.gallery { margin-top: clamp(90px, 12vw, 160px); outline: none; overflow-x: clip; }
.hint-mob, .plans-swipe { display: none; }
/* Celular: la galería avanza con el scroll (la sección se queda fija mientras pasan las fotos) */
.gallery.scroll-mode { height: calc(80svh + (var(--gal-pasos, 10) - 1) * 24svh); margin-top: 40px; }
.scroll-mode .gal-sticky { position: sticky; top: 10svh; height: 80svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.scroll-mode .gal-btn { display: none; }
.scroll-mode .hint-desk { display: none; }
.scroll-mode .hint-mob { display: inline; }
.scroll-mode .gal-progress button.is-active.playing::after { animation: none; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.gallery-head h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }
.gallery-controls { display: flex; align-items: center; gap: 12px; }
.gallery-count { font-size: .72rem; letter-spacing: .24em; color: var(--muted); margin-right: 12px; }
.gallery-count b { color: var(--accent); font-weight: 600; }
.gal-btn {
  width: 52px; height: 52px; border: 1px solid var(--accent); background: transparent; color: var(--accent);
  font-size: 1.1rem; cursor: pointer; transition: background .3s, color .3s;
}
.gal-btn:hover { background: var(--accent); color: #fff; }

.gallery .gal-stage { margin-top: 10px; }
.gal-stage {
  --w: clamp(220px, 27vw, 360px);
  position: relative; height: calc(var(--w) * 1.42); perspective: 1600px;
  cursor: grab; touch-action: pan-y; user-select: none;
}
.gal-stage.dragging { cursor: grabbing; }
.gal-item {
  position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 3 / 4; margin: 0;
  transform-style: preserve-3d; will-change: transform, opacity;
}
.gal-card {
  position: absolute; inset: 0; overflow: hidden; background: var(--accent-soft);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out, box-shadow .4s;
  box-shadow: 0 30px 60px -30px rgba(43, 14, 14, .45);
}
.gal-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1.06); transition: transform .8s var(--ease), filter .6s; }
.gal-item:not(.is-active) .gal-card img, .gal-item:not(.is-active) .gal-ph { filter: grayscale(.6) brightness(.82); }
.gal-item.is-active .gal-card img { transform: scale(1); }
.gal-item.is-active .gal-card { box-shadow: 0 50px 80px -30px rgba(43, 14, 14, .6); cursor: zoom-in; }
.gal-card::after { /* brillo que sigue al cursor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 55%);
}
.gal-item.is-active .gal-card:hover::after { opacity: 1; }
.gal-ph {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: rgba(255,255,255,.92);
  font-family: var(--font-title); font-size: 3.4rem; line-height: 1; transition: filter .6s;
}
.gal-ph small { font: .58rem var(--font-body); letter-spacing: .2em; margin-top: 12px; opacity: .75; }
.gal-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-size: .66rem; letter-spacing: .22em;
  background: linear-gradient(transparent, rgba(30, 10, 10, .65)); opacity: 0; transform: translateY(10px); transition: .5s var(--ease);
}
.gal-item.is-active .gal-caption { opacity: 1; transform: none; }
.gal-progress { display: flex; gap: 6px; margin-top: 36px; }
.gal-progress button { flex: 1; height: 18px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.gal-progress button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.gal-progress button::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 2px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.gal-progress button.is-active::after { transform: scaleX(1); }
.gal-progress button.is-active.playing::after { animation: fill var(--dur, 4s) linear; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gal-hint { text-align: center; font-size: .62rem; letter-spacing: .3em; color: var(--muted); margin-top: 18px; }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(30, 10, 10, .94); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lbIn .45s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; width: min(88vw, 900px); height: min(82dvh, 1000px); display: grid; place-items: center; animation: lbZoom .5s var(--ease); }
@keyframes lbZoom { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.lb-figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-figure .gal-ph { position: static; width: min(70vw, 520px); aspect-ratio: 3 / 4; font-size: 6rem; }
.lb-close, .lb-nav { position: absolute; background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; width: 54px; height: 54px; cursor: pointer; font-size: 1.3rem; transition: background .3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.12); }
.lb-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ==========================================================================
   Paquetes — cambian al color de contraste en hover
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 44px 30px 34px;
  background: var(--surface); color: var(--ink); border-right: 1px solid var(--line);
  transition: background .55s var(--ease), color .55s var(--ease);
}
.plan:last-child { border-right: 0; }
.plan h3 { font-size: 1.9rem; transition: color .55s var(--ease); }
.badge {
  position: absolute; top: -12px; left: 30px; background: #fff; font-size: .58rem; font-weight: 600; letter-spacing: .24em;
  padding: 6px 10px; border: 1px solid var(--accent); color: var(--accent); transition: .55s var(--ease);
}
.plan-desc { color: var(--muted); font-size: .78rem; min-height: 4.4em; transition: color .55s var(--ease); }
.price { font-style: italic; font-family: var(--font-title); font-size: 2.7rem; line-height: 1; margin: 6px 0 8px; color: var(--accent); transition: color .55s var(--ease); }
.price small { font-style: normal; display: block; margin-top: 10px; font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; color: var(--muted); transition: color .55s var(--ease); }
.plan-meta { color: var(--muted); font-size: .72rem; letter-spacing: .2em; transition: color .55s var(--ease); }
.plan ul { list-style: none; padding: 22px 0 0; margin: 4px 0 30px; border-top: 1px solid var(--line); display: grid; align-content: start; gap: 12px; font-size: .74rem; flex: 1; transition: border-color .55s; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "—"; color: var(--accent); transition: color .55s; }
.plan .btn { width: 100%; }

.plan:hover, .plan:focus-within { background: var(--accent); color: #fff; }
.plan:hover h3, .plan:hover .price, .plan:focus-within h3, .plan:focus-within .price { color: #fff; }
.plan:hover .plan-desc, .plan:hover .plan-meta, .plan:hover .price small,
.plan:focus-within .plan-desc, .plan:focus-within .plan-meta, .plan:focus-within .price small { color: var(--accent-light); }
.plan:hover ul { border-color: rgba(255,255,255,.2); }
.plan:hover li::before { color: var(--accent-light); }
.plan:hover .badge { background: var(--accent); border-color: #fff; color: #fff; }
.plan:hover .btn { background: #fff; color: var(--accent); border-color: #fff; }
.plan:hover .btn:hover { background: transparent; color: #fff; }

/* Paquete único: una sola tarjeta ancha */
.plans--single { display: block; border: 0; max-width: 980px; margin: 0 auto; }
.plan.plan--single {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center;
  border: 1px solid var(--line); padding: clamp(32px, 5vw, 64px);
}
.plan--single h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .2em; }
.plan--single .price { font-size: clamp(3.4rem, 7vw, 5.4rem); margin: 18px 0 0; }
.plan--single .plan-main { border-right: 1px solid var(--line); padding-right: clamp(20px, 4vw, 60px); transition: border-color .55s; }
.plan--single ul { border-top: 0; padding-top: 0; margin: 0 0 22px; font-size: .8rem; gap: 14px; }
.plan-anticipo { font-family: var(--font-title); font-size: 1.35rem; color: var(--accent); margin: 0 0 2px; letter-spacing: .03em; transition: color .55s; }
.plan--single .plan-meta { margin: 0 0 24px; }
.plan--single .btn { width: auto; }
.plan:hover .plan-anticipo, .plan:focus-within .plan-anticipo { color: #fff; }
.plan--single:hover .plan-main { border-color: rgba(255,255,255,.25); }

/* Resumen del paquete dentro del formulario */
.pkg-resumen { border: 1px solid var(--line); padding: 18px 20px; background: var(--tint); }
.pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.pkg-top strong { font-family: var(--font-title); font-weight: 400; font-size: 1.25rem; color: var(--accent); letter-spacing: .04em; }
.pkg-precio { font-family: var(--font-title); font-size: 1.4rem; color: var(--accent); white-space: nowrap; }
.pkg-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .72rem; color: var(--ink); }
.pkg-lista li::before { content: "— "; color: var(--accent); }

/* Código de descuento (dentro del bloque de pago) */
.cupon-row { display: flex; gap: 10px; }
.summary .cupon input { background: transparent; color: #fff; border-bottom-color: rgba(255,255,255,.5); text-transform: uppercase; }
.summary .cupon input::placeholder { color: rgba(255,255,255,.55); }
.summary .cupon input:focus { border-color: #fff; }
.cupon-btn { background: #fff; color: var(--accent); border-color: #fff; flex: none; }
.cupon-btn:hover { background: transparent; color: #fff; }
.cupon-estado { margin: 0; font-size: .66rem; letter-spacing: .14em; }
.cupon-estado:empty { display: none; }
.cupon-estado.ok { color: #cfe8c9; }
.cupon-estado.error { color: #ffb4ab; }

.plans-notes { text-align: center; margin-top: 40px; font-size: .74rem; color: var(--muted); }
.plans-notes p { margin: 0 0 6px; }
.plans-notes p:first-child { color: var(--accent); font-weight: 600; }

/* Cinta en onda */
.wave-marquee { display: block; overflow: hidden; margin-top: clamp(20px, 3.5vw, 50px); text-decoration: none; }
.wave-marquee svg { display: block; width: 100%; height: auto; overflow: visible; }
.wave-text { font-family: var(--font-title); font-size: 66px; letter-spacing: .06em; fill: var(--accent); }
.wave-marquee:hover .wave-text { fill: #6b2c2c; }

/* ==========================================================================
   Formulario
   ========================================================================== */
.form, .success { padding: 0; }
.form { display: grid; gap: 26px; }
.field { display: grid; gap: 10px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-weight: 600; font-size: .7rem; letter-spacing: .24em; color: var(--accent); }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; font: 400 .9rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  background: var(--bg); border: 0; border-bottom: 1px solid #cdbcb9; border-radius: 0; padding: 12px 2px;
  transition: border-color .3s;
}
input[type="email"] { text-transform: none; }
::placeholder { color: #b9a9a6; text-transform: uppercase; }
select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234d1e1e' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 26px; }
textarea { resize: vertical; border: 1px solid #cdbcb9; padding: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.invalid input, .invalid select, .invalid .dropzone, .invalid .scheduler, .invalid textarea { border-color: var(--danger); }
.error { color: var(--danger); font-size: .66rem; letter-spacing: .14em; margin: 0; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Extras (casillas) */
.extras { display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: .78rem; letter-spacing: .1em; color: var(--ink); font-weight: 400; padding: 14px 16px; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.check:hover { border-color: var(--accent); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 18px; height: 18px; border: 1px solid var(--accent); display: grid; place-items: center; transition: background .25s; }
.check-box::after { content: "✓"; color: #fff; font-size: .7rem; opacity: 0; }
.check input:checked ~ .check-box { background: var(--accent); }
.check input:checked ~ .check-box::after { opacity: 1; }
.check input:focus-visible ~ .check-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check-text { flex: 1; }
.extras-lista { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.extras-lista .num { font-family: var(--font-title); font-size: 1.05em; }
/* Extra con cantidad */
.check.qty { cursor: default; }
.check.qty.on { border-color: var(--accent); background: var(--accent-soft); }
.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--accent); flex: none; }
.qty-btn { width: 36px; height: 36px; border: 0; background: transparent; color: var(--accent); font-size: 1.1rem; cursor: pointer; transition: background .25s, color .25s; }
.qty-btn:hover { background: var(--accent); color: #fff; }
.qty-ctrl input { width: 42px; padding: 6px 0; border: 0; text-align: center; font-family: var(--font-title); font-style: italic; font-size: 1.1rem; color: var(--accent); background: transparent; -moz-appearance: textfield; }
.qty-ctrl input::-webkit-outer-spin-button, .qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.check-price { font-weight: 600; color: var(--accent); white-space: nowrap; }

/* Calendario */
.scheduler { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; border: 1px solid var(--line); padding: 22px; background: var(--tint); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-title { font-family: var(--font-title); font-size: 1.3rem; letter-spacing: .06em; color: var(--accent); }
.cal-nav { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--accent); transition: .3s; }
.cal-nav:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .62rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding: 4px 0; }
.day {
  aspect-ratio: 1; border: 0; font: 500 .85rem var(--font-body); color: var(--ink);
  background: transparent; cursor: default; position: relative; transition: background .25s, color .25s, border-color .25s;
}
.day.available { background: #fff; border: 1px solid var(--line); cursor: pointer; }
.day.available::after { content: ""; position: absolute; bottom: 5px; left: 50%; translate: -50% 0; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.day.available:hover { border-color: var(--accent); }
.day.blocked { color: #c4b5b2; text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(77,30,30,.045) 5px 7px); }
.day.off { color: #d9cecc; }
.day.today { font-weight: 700; }
.day.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.day.selected::after { background: #fff; }
.cal-msg { display: grid; place-items: center; text-align: center; min-height: 260px; color: var(--muted); gap: 14px; font-size: .76rem; padding: 0 12px; }
.spinner { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.slots { border-left: 1px solid var(--line); padding-left: 24px; }
.slots-title { font-family: var(--font-title); font-size: 1.15rem; color: var(--accent); margin-bottom: 14px; letter-spacing: .04em; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: 330px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.slot {
  padding: 12px 6px; border: 1px solid var(--line); background: #fff;
  font: 600 .76rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: .25s;
}
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.slots-empty { grid-column: 1 / -1; color: var(--muted); font-size: .76rem; margin: 0; }

.legend { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 20px; font-size: .62rem; letter-spacing: .16em; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 13px; height: 13px; display: inline-block; }
.sw-available { background: #fff; border: 1px solid var(--line); box-shadow: inset 0 -4px 0 -2px var(--accent); }
.sw-blocked { background: repeating-linear-gradient(135deg, #eadfdd 0 3px, #f8f3f2 3px 5px); }
.sw-selected { background: var(--accent); }

/* Resumen y pago */
.summary { display: grid; gap: 22px; background: var(--accent); color: #fff; padding: clamp(22px, 4vw, 38px); }
.summary label { color: var(--accent-light); }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 18px; }
.total span { font-size: .72rem; letter-spacing: .24em; font-weight: 600; white-space: nowrap; }
.total strong { font-style: italic; font-family: var(--font-title); font-weight: 400; font-size: 2.4rem; white-space: nowrap; }
.desglose { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 0; font-size: .74rem; }
.desglose:empty { display: none; }
.desglose dt { color: var(--accent-light); }
.desglose dd { margin: 0; padding-left: 20px; text-align: right; white-space: nowrap; }
.desglose .strong { color: #fff; font-weight: 600; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.2); }
.anticipo-nota { margin: -8px 0 0; color: var(--accent-light); font-size: .7rem; }
.anticipo-nota:empty { display: none; }
.resumen-cita { margin: -8px 0 0; color: var(--accent-light); font-size: .72rem; }
.resumen-cita:empty { display: none; }
.payment-title { font-size: .8rem; margin-bottom: 14px; }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: .78rem; }
.bank dt { color: var(--accent-light); }
.bank dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; word-break: break-all; }
.copy { font: 600 .58rem var(--font-body); letter-spacing: .2em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.5); background: transparent; padding: 4px 10px; cursor: pointer; color: #fff; }
.copy:hover { background: #fff; color: var(--accent); }
.dropzone {
  display: block; border: 1px dashed rgba(255,255,255,.55); padding: 22px; text-align: center;
  cursor: pointer; font-size: .72rem; letter-spacing: .18em; color: #fff; transition: .3s;
}
.dropzone:hover { background: rgba(255,255,255,.06); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone.has-file { border-style: solid; }
.summary .invalid .dropzone { border-color: #ffb4ab; }
.summary .error { color: #ffb4ab; }
.form-status { text-align: center; margin: -8px 0 0; font-size: .74rem; }
.form-status:empty { display: none; }
.form-status.error { color: var(--danger); }

.success { text-align: center; }
.success-icon { width: 68px; height: 68px; margin: 0 auto 20px; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 1.6rem; border-radius: 50%; }

/* Footer */
.footer { background: var(--accent); color: #fff; padding: 56px 0; font-size: .7rem; letter-spacing: .2em; }
.logo { font-family: var(--font-title); font-size: 1.45rem; letter-spacing: .08em; color: var(--accent); text-decoration: none; margin: 0; }
.footer .logo { color: #fff; }
.footer-logo { width: 84px; height: auto; display: block; filter: brightness(0) invert(1); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 28px; color: var(--accent-light); }
.footer p { margin: 0; }
.footer-copy { color: var(--accent-light); }

/* Números en Didot itálica (precios, fechas, cifras, cinta) */
.num { font-style: italic; }
.wave-text .num { font-style: italic; }

/* ==========================================================================
   Cursor: un punto del color de contraste (con borde blanco para verse sobre fondos oscuros)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='7' cy='7' r='5' fill='%234d1e1e' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 7 7, auto !important;
  }
  /* sobre algo clickeable el punto crece */
  a, a *, button, button *, select, label, .day.available, .slot, .gal-stage, .gal-stage *, .wave-marquee, .wave-marquee *, .dropzone, .check, .intro {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='10' fill='%234d1e1e' fill-opacity='.85' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 13 13, pointer !important;
  }
  input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text !important; }
  button:disabled, .cal-nav:disabled { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Ccircle cx='7' cy='7' r='5' fill='%234d1e1e' fill-opacity='.35' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 7 7, not-allowed !important; }
}

/* ==========================================================================
   Efectos de scroll (los activa efectos.js)
   ========================================================================== */
.fx .reveal {
  opacity: 0; transform: translateY(46px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.fx .reveal.is-visible { opacity: 1; transform: none; }
[data-parallax] { will-change: translate; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Intro: tira de miniaturas → cortinilla que abre el hero
   ========================================================================== */
.intro { display: none; }
.intro-lock, .intro-lock body { overflow: hidden; }
.intro-on .intro {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 200; background: var(--bg); cursor: pointer;
  transition: transform 1.15s cubic-bezier(.77, 0, .18, 1), box-shadow 1.15s ease;
}
.intro-strip { display: flex; justify-content: center; gap: 4px; width: 100vw; overflow: hidden; flex: none; }
.intro-thumb {
  flex: none; width: var(--tw, 72px); aspect-ratio: 4 / 3; background: #e7dcda center / cover no-repeat;
  opacity: 0; transform: translateX(-16px);
  transition: opacity .5s ease, transform .7s var(--ease);
}
.intro.step-in .intro-thumb { opacity: 1; transform: none; }
.intro.step-out .intro-thumb:not(.is-center) { opacity: 0; transition: opacity .45s ease; }
.intro.step-curtain, .intro.skip { transform: translateY(-100%); box-shadow: 0 40px 80px -30px rgba(77, 30, 30, .35); }
.intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); opacity: 0; transition: opacity .3s; }
.intro.step-curtain::after, .intro.skip::after { opacity: .6; }
.intro.step-curtain .intro-thumb.is-center { transform: scaleY(.1); transition: transform .55s cubic-bezier(.77, 0, .18, 1); }
.intro-name {
  position: absolute; left: 50%; translate: -50% 0; top: calc(50% + 46px); margin: 0; width: 62px; height: auto;
  font-family: var(--font-title); font-size: .9rem; letter-spacing: .4em; color: var(--accent);
  opacity: 0; transition: opacity .7s ease .3s;
}
.intro.step-in .intro-name { opacity: 1; }
.intro.step-out .intro-name { opacity: 0; transition-delay: 0s; }
.intro-skip { position: absolute; bottom: 28px; font-size: .58rem; letter-spacing: .3em; color: var(--muted); opacity: .7; }
.intro.skip { transition-duration: .55s; }
/* El texto del hero espera a que se abra la cortinilla */
.intro-on .hero .reveal { opacity: 0 !important; transform: translateY(46px) !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan:nth-child(2) { border-right: 0; }
  .plan:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .set-grid { grid-template-columns: 1fr; }
  .set-photo-wrap { order: -1; }
  .about-photo-wrap { max-width: 420px; }
}
@media (max-width: 680px) {
  body { font-size: 13px; letter-spacing: .05em; }
  .container { width: calc(100% - 40px); }
  .narrow { width: calc(100% - 24px); }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .eyebrow { letter-spacing: .24em; }

  /* Hero */
  .hero { padding: 100px 16px 60px; }
  .hero-lettering img { width: min(80vw, calc(68svh * .71)); }
  .hero-links { font-size: .58rem; letter-spacing: .12em; }

  /* Sobre mí */
  .about-photo-wrap { max-width: none; }
  .values { gap: 22px; flex-wrap: wrap; }
  .values strong { font-size: 1.9rem; }
  .values span { font-size: .6rem; letter-spacing: .18em; }

  /* Paquetes: carrusel horizontal con el dedo */
  .plans {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; border: 0;
    margin: 0 -20px; padding: 14px 20px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan, .plan:last-child, .plan:nth-child(-n+2), .plan:nth-child(2) { flex: 0 0 78%; scroll-snap-align: center; border: 1px solid var(--line); padding: 36px 24px 26px; }
  .plans-swipe { display: block; text-align: center; font-size: .6rem; letter-spacing: .26em; color: var(--muted); margin: 14px 0 0; }
  .plans-notes { margin-top: 28px; }
  .plans--single { display: block; margin: 0; padding: 0; overflow: visible; }
  .plan.plan--single { grid-template-columns: 1fr; flex: none; padding: 34px 24px; }
  .plan--single .plan-main { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .plan--single .btn { width: 100%; }

  /* Formulario */
  .form { gap: 22px; }
  .summary { padding: 24px 18px; }
  .summary > * { min-width: 0; }
  .total { flex-wrap: wrap; }
  .total span { white-space: normal; }
  .bank { grid-template-columns: 1fr; gap: 2px; }
  .bank dt { margin-top: 10px; font-size: .64rem; letter-spacing: .2em; }
  .desglose { font-size: .68rem; }
  .desglose dt { padding-right: 8px; }
  .check { flex-wrap: wrap; gap: 10px 14px; }
  .check-text { flex: 1 1 calc(100% - 40px); }
  .check-price { margin-left: 32px; }
  .cal-title { font-size: 1.1rem; }
  .day { font-size: .78rem; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer ul { flex-direction: column; gap: 8px; align-items: center; }
  .field-row { grid-template-columns: 1fr; }
  .scheduler { grid-template-columns: 1fr; padding: 14px; }
  .slots { border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
  .slot-grid { grid-template-columns: repeat(4, 1fr); max-height: 290px; }
  .gallery-head { margin-bottom: 12px; }
  .gal-stage { --w: 64vw; }
  .gal-btn { width: 44px; height: 44px; }
  .lb-nav { top: auto; bottom: 20px; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .total strong { font-size: 1.8rem; }
  .wave-marquee svg { width: 220%; margin-left: -60%; }
}

/* El número de "Persona adicional" debe verse (las casillas ocultan su input) */
.check.qty .qty-ctrl input { position: static; opacity: 1; width: 42px; height: auto; }
@media (max-width: 680px) {
  .check.qty .check-text { flex: 1 1 100%; }
  .check.qty .check-price { margin-left: 0; }
  .check.qty .qty-ctrl { margin-left: auto; }
}
