@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(/fonts/cormorant-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/fonts/jost.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #fcfaff;
  --tint: #f4eefa;
  --lav-100: #ede4f7;
  --lav-200: #ddd0ee;
  --lav-300: #c6b1e2;
  --lav-500: #9a7cc6;
  --plum: #5e4282;
  --ink: #2f2639;
  --muted: #6f6680;
  --gold: #b8913f;
  --gold-soft: #e9d8ab;
  --card: #ffffff;
  --line: #e9e1f3;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(94, 66, 130, .25);
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; color: var(--ink); }
h1 { font-size: clamp(44px, 7vw, 76px); }
h1 em { font-style: italic; font-weight: 500; color: var(--plum); }
h2 { font-size: clamp(36px, 5vw, 52px); }
h3 { font-size: 26px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: 500 16px var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, #8a6bb8, #6f529b); color: #fff; box-shadow: 0 8px 22px -8px rgba(111, 82, 155, .6); }
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(111, 82, 155, .7); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--lav-300); }
.btn-ghost:hover { background: var(--lav-100); }
.btn-block { width: 100%; }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(252, 250, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.brand img { border-radius: 50%; }
.brand b { color: var(--gold); letter-spacing: .04em; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--muted); font-size: 15px; letter-spacing: .02em; }
.menu a:hover { color: var(--plum); }
.social { display: flex; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-100); color: var(--plum); transition: background .2s; }
.icon-btn:hover { background: var(--lav-200); }
.icon-btn svg, .wa-float svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.icon-btn svg .fill { fill: currentColor; stroke: none; }
svg .thin { fill: currentColor; stroke: none; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, var(--lav-100), transparent 60%), radial-gradient(700px 400px at 0% 100%, #f8f1e2, transparent 60%); padding: 56px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; }
.lead { font-size: 19px; color: var(--muted); max-width: 30em; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.halo { position: absolute; inset: 0 -6% 10%; border-radius: 50%; background: conic-gradient(from 120deg, var(--lav-200), var(--gold-soft), var(--lav-100), var(--lav-200)); filter: blur(40px); opacity: .75; pointer-events: none; }

/* Abanico de fotos */
.hero-fan { --card-w: 220px; position: relative; justify-self: center; width: min(460px, 100%); height: calc(var(--card-w) * 1.33 + 120px); display: flex; justify-content: center; }
.fan { position: relative; width: var(--card-w); height: calc(var(--card-w) * 1.33); margin-top: 22px; cursor: pointer; outline: none; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.fan:focus-visible .fan-card[data-slot="0"] { box-shadow: 0 0 0 4px var(--lav-300), 0 24px 40px -18px rgba(60, 30, 90, .55); }
.fan-card { position: absolute; inset: 0; margin: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: 0 24px 40px -18px rgba(60, 30, 90, .55); transform-origin: 50% 135%; transition: transform .65s cubic-bezier(.22, 1, .36, 1), opacity .5s, filter .5s; will-change: transform; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.fan-card:not([data-slot="0"]) { filter: saturate(.9) brightness(.97); }
.fan-logo { position: absolute; left: 50%; bottom: 34px; width: 84px; height: 84px; transform: translateX(-50%); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 12px 26px -10px rgba(60, 30, 90, .55); z-index: 30; pointer-events: none; }
.fan-hint { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; text-align: center; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.fan.tap .fan-card[data-slot="0"] { animation: pop .35s; }
@keyframes pop { 50% { scale: .97; } }
@media (prefers-reduced-motion: reduce) { .fan-card { transition: opacity .3s; } }

/* Fidelidad */
.loyal { background: var(--plum); color: #f6effc; }
.loyal-in { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px 0; text-align: center; flex-wrap: wrap; }
.loyal p { margin: 0; font-size: 17px; }
.loyal strong { color: var(--gold-soft); font-weight: 500; }
.stamps { display: flex; gap: 6px; }
.stamps span { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--gold-soft); background: rgba(233, 216, 171, .25); }
.stamps .gift { background: var(--gold-soft); color: var(--plum); font-size: 12px; font-weight: 600; display: grid; place-items: center; }

/* Secciones */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.sec-head p { color: var(--muted); margin: 10px 0 0; }
.sec-head.left { text-align: left; margin: 0; }

/* Galería */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--lav-100); break-inside: avoid; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: auto; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.more-ig { margin-top: 18px; }
.more-ig a { text-decoration: none; font-weight: 500; }

/* Precios */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: none; justify-content: center; flex-wrap: wrap; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1.5px solid var(--lav-200); background: #fff; color: var(--muted); padding: 9px 18px; border-radius: 999px; font: 500 15px var(--sans); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.price-card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 28px; max-width: 900px; margin: 0 auto; }
.price-card h3 { margin-bottom: 16px; }
.table-scroll { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th { text-align: left; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1.5px solid var(--lav-200); white-space: nowrap; }
.ptable td { padding: 13px 12px; border-bottom: 1px solid var(--line); }
.ptable td:first-child { font-weight: 500; }
.ptable td.num, .ptable th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .na { color: var(--lav-300); }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list .dots { flex: 1; border-bottom: 1.5px dotted var(--lav-300); transform: translateY(-4px); }
.price-list .val { font-weight: 600; color: var(--plum); white-space: nowrap; }
.price-note { max-width: 760px; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: 15px; }

/* Agendar */
.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.book-form { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 30px; display: grid; gap: 16px; }
.book-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.book-form small { font-weight: 400; }
.book-form input, .book-form select, .book-form textarea { font: 400 16px var(--sans); color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--lav-200); border-radius: 12px; background: #fdfbff; width: 100%; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--lav-500); box-shadow: 0 0 0 4px var(--lav-100); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }

/* Mapa */
.map-card { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.map-frame { min-height: 340px; background: linear-gradient(135deg, var(--lav-100), #f7f0e3); display: grid; place-items: center; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.map-load { border: 0; background: #fff; color: var(--plum); font: 500 16px var(--sans); padding: 14px 24px; border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; }
.map-info { padding: 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.map-info p { margin: 0 0 8px; color: var(--muted); }

/* Footer */
.foot { background: #2c2236; color: #d9cfe6; padding: 48px 0; text-align: center; }
.foot-in { display: grid; justify-items: center; gap: 10px; }
.foot img { border-radius: 50%; }
.foot p { margin: 0; }
.foot strong { color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.foot a { color: var(--gold-soft); text-decoration: none; }
.copy { font-size: 13px; opacity: .7; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35); }
.wa-float svg { width: 28px; height: 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(32, 22, 44, .94); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: min(92vw, 900px); border-radius: 14px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 900px) {
  .menu { display: none; }
  .social { margin-left: auto; }
  .hero { padding: 28px 0 56px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-fan { order: -1; --card-w: min(190px, 46vw); }
  .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .book { grid-template-columns: 1fr; gap: 28px; }
  .sec-head.left { text-align: center; }
  .checks { display: inline-block; text-align: left; }
  .map-card { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand span { font-size: 19px; }
  .price-card, .book-form { padding: 20px; }
  .two { grid-template-columns: 1fr; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; border-radius: 12px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; }
}

/* Precios en teléfono: tarjetas en vez de tabla ancha */
.stack { display: none; }
.stack-item + .stack-item { margin-top: 14px; }
.stack-item h4 { margin: 0; font: 600 15px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.stack-item .price-list li { padding: 9px 0; }
@media (max-width: 600px) {
  .table-scroll { display: none; }
  .stack { display: block; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
}

/* Fondo del inicio: la foto del frente del abanico, desenfocada y teñida */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
/* 4 · Foto desenfocada: la foto del frente, borrosa y teñida de lila */
.hero.fondo-4 { background: #efe6f8; }
.fondo-4 .hero-bg img { display: block; position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); max-width: none; object-fit: cover; filter: blur(38px) saturate(1.2); opacity: .55; transition: opacity .6s; }
.fondo-4 .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246, 240, 252, .75), rgba(246, 240, 252, .55) 50%, rgba(252, 250, 255, .9)); }

