/* =========================================================
   José Miguel Alvarado — oboe, saxofón y voz
   Paleta: ébano (fondo), hueso (texto), latón (saxofón), granadilla (oboe)
   Cada sección recalcula sus colores a partir de --bg y --text,
   así una sección clara u oscura se ve bien sin reglas especiales.
   ========================================================= */
:root {
  --c-dark: #15120F;      /* ébano */
  --c-light: #EEE6D6;     /* hueso */
  --accent: #C9A25F;      /* latón */
  --wood: #6E3B2B;        /* granadilla */
  --deep: #0B0907;
  --bg: var(--c-dark);
  --text: var(--c-light);
  --danger: #E0826F;

  --serif: "Instrument Serif", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --r-sm: 4px;
  --r: 10px;
  --btn-r: 999px;
  --fs: 1.0625rem;
  --sticky-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Colores derivados: se recalculan en cada bloque según su fondo */
:root, .blk, .site-footer, .site-header {
  --surface: color-mix(in srgb, var(--text) 6%, var(--bg));
  --surface-2: color-mix(in srgb, var(--text) 11%, var(--bg));
  --text-2: color-mix(in srgb, var(--text) 64%, var(--bg));
  --line: color-mix(in srgb, var(--text) 17%, var(--bg));
  --accent-2: color-mix(in srgb, var(--accent) 80%, var(--text));
  /* alias para el panel privado */
  --paper: var(--surface); --ink: var(--text); --ink-2: var(--text-2); --gold: var(--accent); --gold-2: var(--accent-2);
  --olive: var(--wood); --olive-deep: #2A231C; --olive-soft: var(--surface-2); --ivory: var(--bg); --busy: var(--text-2);
}
/* Panel privado: claro */
:root.admin { --c-dark: #211E1A; --c-light: #FAF6EE; --bg: var(--c-light); --text: var(--c-dark); --accent: #8E6B30; --danger: #9A3322; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: var(--fs); line-height: 1.62; padding-bottom: var(--sticky-h); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--c-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 740px); margin-inline: auto; }
.wrap.wide { --wrap: 1440px; }
.full { width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.01em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 9vw, 7.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
h4 { font-size: 1.05rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text-2); max-width: 52ch; line-height: 1.55; }
.muted { color: var(--text-2); }
.small { font-size: .92rem; }
.h3-size { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 760px; }
.section-head p { color: var(--text-2); }
.center { text-align: center; }
.center p, .center .lead, .center .section-head { margin-inline: auto; }
.center .btn-row { justify-content: center; }
.left { text-align: left; }
.more { margin: 1.8rem 0 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--text); color: var(--bg); padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.demo-banner { background: var(--accent); color: var(--c-dark); text-align: center; font-size: .9rem; padding: .5rem 1rem; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.pg-wait main { visibility: hidden; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .75rem 1.55rem;
  border-radius: var(--btn-r); border: 1px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: color-mix(in srgb, var(--text) 86%, var(--accent)); }
.btn-gold { background: var(--accent); color: var(--c-dark); }
.btn-gold:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, currentColor 55%, transparent); }
.btn-ghost:hover { border-color: currentColor; background: color-mix(in srgb, currentColor 8%, transparent); }
.btn-light { background: var(--c-light); color: var(--c-dark); }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .94rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link { font-weight: 600; text-decoration-color: var(--accent); }
.link:hover { color: var(--accent-2); }

/* ---------- Cabecera ---------- */
.site-header { --bg: var(--c-dark); --text: var(--c-light); position: sticky; top: 0; z-index: 40; color: var(--text);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 70px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.brand strong { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; }
.brand span { font-size: .78rem; color: var(--text-2); letter-spacing: .01em; }
.nav { display: flex; gap: 1.7rem; }
.nav a { text-decoration: none; font-size: .98rem; color: var(--text-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.2rem; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; color: var(--text); }
}

/* ---------- Barra fija móvil ---------- */
.sticky-cta { --bg: var(--c-dark); --text: var(--c-light); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--deep) 92%, transparent); color: var(--text);
  backdrop-filter: blur(10px); border-top: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.sticky-cta span { font-size: .86rem; line-height: 1.25; max-width: 12em; }
.sticky-cta .btn { min-height: 44px; padding: .5rem 1rem; font-size: .93rem; white-space: nowrap; }
.sticky-cta.off { display: none !important; }
@media (max-width: 880px) { .sticky-cta { display: flex; } body.has-sticky { --sticky-h: 76px; } }

/* ---------- Bloques: base ---------- */
.blk { background: var(--bg); color: var(--text); }
.blk.pt-none { padding-top: 0; } .blk.pb-none { padding-bottom: 0; }
.blk.pt-s { padding-top: clamp(1.5rem, 3vw, 2.5rem); } .blk.pb-s { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.blk.pt-m { padding-top: clamp(3rem, 6vw, 5rem); } .blk.pb-m { padding-bottom: clamp(3rem, 6vw, 5rem); }
.blk.pt-l { padding-top: clamp(4.5rem, 10vw, 8.5rem); } .blk.pb-l { padding-bottom: clamp(4.5rem, 10vw, 8.5rem); }
.blk.pt-xl { padding-top: clamp(6rem, 13vw, 11rem); } .blk.pb-xl { padding-bottom: clamp(6rem, 13vw, 11rem); }
.blk.bg-profundo { --bg: var(--deep); }
.blk.bg-superficie { --bg: color-mix(in srgb, var(--c-light) 5%, var(--c-dark)); }
.blk.bg-madera { --bg: var(--wood); --text: var(--c-light); }
.blk.bg-laton { --bg: var(--accent); --text: var(--c-dark); --accent: var(--c-dark); }
.blk.bg-hueso { --bg: var(--c-light); --text: var(--c-dark); --accent: var(--wood); }
.blk.bg-imagen { --text: var(--c-light); position: relative; isolation: isolate; background-color: var(--deep); background-size: cover; background-position: center; }
.blk.bg-imagen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 9, 7, .6); }
.blk.bg-imagen.ov-suave::before { background: rgba(11, 9, 7, .35); }
.blk.bg-imagen.ov-fuerte::before { background: rgba(11, 9, 7, .82); }
@media (max-width: 880px) { .hide-d { display: none !important; } }
@media (min-width: 881px) { .hide-m { display: none !important; } }

/* ---------- Escenario (portada interactiva) ---------- */
.hero { --text: var(--c-light); position: relative; isolation: isolate; min-height: min(94svh, 920px); display: flex; align-items: flex-end;
  color: var(--text); background: var(--deep) center 30% / cover no-repeat; padding-block: 8rem clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 9, 7, .2) 0%, rgba(11, 9, 7, .35) 40%, rgba(11, 9, 7, .9) 100%); }
.hero.ov-suave::before { background: linear-gradient(180deg, rgba(11, 9, 7, .05) 0%, rgba(11, 9, 7, .2) 45%, rgba(11, 9, 7, .7) 100%); }
.hero.ov-fuerte::before { background: linear-gradient(180deg, rgba(11, 9, 7, .55) 0%, rgba(11, 9, 7, .7) 45%, rgba(11, 9, 7, .95) 100%); }
.hero.hero-h-media { min-height: min(68svh, 660px); }
.hero.hero-h-baja { min-height: 0; padding-top: clamp(5rem, 10vw, 8rem); }
.hero h1, .hero h2 { max-width: 13ch; margin-bottom: .3em; }
.hero .lead { color: color-mix(in srgb, var(--text) 86%, transparent); margin-bottom: 1.8rem; }
.hero-rise { position: relative; z-index: 1; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero.center .wrap { text-align: center; } .hero.center h1, .hero.center h2, .hero.center .lead { margin-inline: auto; }

.stage-wave { position: absolute; left: 0; right: 0; top: 0; height: 58%; width: 100%; z-index: 0; pointer-events: none; opacity: .95; }
.about .prose { color: var(--text-2); }
.stage-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin: 0 0 1.8rem; }
.stage-play { display: inline-flex; align-items: center; gap: .8rem; background: none; border: 0; cursor: pointer; padding: 0; color: var(--text); font-weight: 600; }
.stage-play .disc { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--c-light); color: var(--c-dark); transition: transform .3s var(--ease), background .3s; }
.stage-play:hover .disc { transform: scale(1.06); }
.stage-play[aria-pressed="true"] .disc { background: var(--stage-color, var(--accent)); }
.stage-play small { display: block; font-weight: 400; font-size: .85rem; color: color-mix(in srgb, var(--text) 70%, transparent); }
.stage-pick { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(238, 230, 214, .1); border: 1px solid rgba(238, 230, 214, .2); }
.stage-pick button { border: 0; background: none; cursor: pointer; padding: .45rem 1rem; border-radius: 999px; font-size: .93rem; color: color-mix(in srgb, var(--text) 75%, transparent); transition: background .25s, color .25s; }
.stage-pick button[aria-pressed="true"] { background: var(--c-light); color: var(--c-dark); }
.hero-rise > * { animation: rise 1.1s var(--ease) both; }
.hero-rise > *:nth-child(2) { animation-delay: .12s; } .hero-rise > *:nth-child(3) { animation-delay: .24s; } .hero-rise > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Cabecera de página interior */
.page-head { padding-block: clamp(4rem, 9vw, 7rem) clamp(2.2rem, 4vw, 3.2rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 14ch; }
.crumbs { font-size: .88rem; color: var(--text-2); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* ---------- Ofertas (paneles que se abren) ---------- */
.offers { display: flex; gap: .75rem; min-height: clamp(460px, 62vh, 620px); }
.offer { position: relative; flex: 1; min-width: 0; border-radius: var(--r); overflow: hidden; isolation: isolate; text-decoration: none;
  color: var(--c-light); background: var(--surface-2) center / cover no-repeat; display: flex; align-items: flex-end; padding: clamp(1.2rem, 2.5vw, 2rem);
  transition: flex-grow .6s var(--ease); }
.offer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 9, 7, .1) 20%, rgba(11, 9, 7, .88) 100%); transition: background .4s; }
.offer .o-kicker { font-size: .88rem; color: var(--accent); margin: 0 0 .5rem; }
.offer h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin: 0; }
.offer .o-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s .1s; }
.offer .o-more p { color: rgba(238, 230, 214, .82); margin: .8rem 0 1rem; max-width: 38ch; }
.offer .o-link { font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: .1rem; }
.offer:is(:hover, :focus-visible, .open) { flex-grow: 1.9; }
.offer:is(:hover, :focus-visible, .open) .o-more { max-height: 16rem; opacity: 1; }
.offer:not([style*="background-image"]) { background-image: radial-gradient(120% 90% at 20% 0%, color-mix(in srgb, var(--wood) 70%, transparent), transparent 60%), linear-gradient(160deg, #2A2119, #120F0C); }
@media (max-width: 860px) {
  .offers { flex-direction: column; min-height: 0; }
  .offer { min-height: 260px; }
  .offer .o-more { max-height: none; opacity: 1; }
}

/* ---------- Tarjetas / momentos ---------- */
.moments { display: grid; gap: 0; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid var(--text); }
.moment { padding: 1.7rem 1.7rem 1.9rem 0; border-right: 1px solid var(--line); }
.moment + .moment { padding-left: 1.7rem; }
.moment:last-child { border-right: 0; }
.moment .when { font-size: .88rem; color: var(--accent); font-weight: 600; margin-bottom: 1.4rem; display: block; }
.moment p { color: var(--text-2); }
@media (max-width: 760px) { .moments { grid-template-columns: 1fr; } .moment, .moment + .moment { padding: 1.4rem 0; border-right: 0; border-bottom: 1px solid var(--line); } }
.value-list { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 2rem 0 0; padding: 0; list-style: none; color: var(--text-2); }
.value-list li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: .6rem; vertical-align: middle; }

/* ---------- Lista con precios (clases) ---------- */
.pricelist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.pricelist li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto; gap: .5rem 2rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.pricelist h3 { margin: 0; }
.pricelist .pl-meta { display: block; font-size: .9rem; color: var(--accent); margin-top: .35rem; font-family: var(--sans); }
.pricelist p { margin: 0; color: var(--text-2); }
.pricelist .pl-price { font-family: var(--serif); font-size: 1.7rem; white-space: nowrap; text-align: right; }
@media (max-width: 760px) { .pricelist li { grid-template-columns: 1fr; } .pricelist .pl-price { text-align: left; } }

/* ---------- Lanzamientos ---------- */
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.4rem 1rem; }
.release { text-decoration: none; display: block; }
.release .cover { aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); margin-bottom: .75rem; position: relative; }
.release .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.release:hover .cover img { transform: scale(1.04); }
.release strong { display: block; font-weight: 600; line-height: 1.3; }
.release span { font-size: .88rem; color: var(--text-2); }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.socials a { display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent-2); }

/* ---------- Disponibilidad ---------- */
.avail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .avail-layout { grid-template-columns: 1fr; } }
.avail-side { padding-top: .5rem; }
.cal { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: var(--r); padding: clamp(.9rem, 2.4vw, 1.5rem); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; gap: .5rem; }
.cal-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-size: 1.1rem; }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-dow { text-align: center; font-size: .8rem; color: var(--text-2); padding-bottom: .25rem; font-weight: 600; }
.day { display: grid; grid-template-rows: auto 1fr; gap: 4px; aspect-ratio: 1 / 1.12; min-height: 46px; padding: 5px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface-2); text-align: left; cursor: pointer; color: var(--text); }
.day .n { font-size: .92rem; font-weight: 600; line-height: 1; }
.day .halves { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; }
.half { border-radius: 2px; min-height: 6px; }
.half.free { background: var(--accent); }
.half.busy { background: repeating-linear-gradient(135deg, var(--text-2) 0 1.5px, transparent 1.5px 5px); border: 1px solid var(--line); }
.day.full .n { text-decoration: line-through; color: var(--text-2); }
.day.full { background: transparent; cursor: default; }
.day.past { opacity: .3; cursor: default; background: transparent; }
.day.past .halves { visibility: hidden; }
.day.selected { outline: 2px solid var(--text); outline-offset: 1px; }
.day:not(.past):not(.full):hover { border-color: var(--text); }
.day.blank { visibility: hidden; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem; font-size: .86rem; color: var(--text-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.key { display: inline-grid; grid-template-rows: 1fr 1fr; gap: 2px; width: 16px; height: 18px; }
.key i { display: block; border-radius: 2px; }
.key .free { background: var(--accent); }
.key .busy { background: repeating-linear-gradient(135deg, var(--text-2) 0 1.5px, transparent 1.5px 4px); border: 1px solid var(--line); }
.cal-status { min-height: 1.4em; margin: .6rem 0 0; font-size: .9rem; color: var(--text-2); }
.slot-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.slot-panel .date-label { font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; margin: 0 0 1rem; }
.slots { display: grid; gap: .6rem; }
.slot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 1.1rem; min-height: 56px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text); text-decoration: none; font-weight: 600; cursor: pointer; text-align: left; width: 100%; }
.slot small { font-weight: 500; color: var(--accent); }
.slot.busy { background: transparent; color: var(--text-2); border-style: dashed; cursor: not-allowed; }
.slot.busy small { color: var(--text-2); }
.slot[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

/* ---------- Precios ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; }
.price-card h3 { margin-bottom: .3em; }
.price-card .tagline { color: var(--text-2); margin-bottom: 1.4rem; }
.price { font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin: 0 0 1.4rem; }
.price small { font-family: var(--sans); font-size: .9rem; color: var(--text-2); margin-right: .35rem; }
.price.tbd { font-size: 1.45rem; color: var(--text-2); }
.includes { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .55rem; }
.includes li { padding-left: 1.5rem; position: relative; }
.includes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-card .btn { margin-top: auto; }
.price-card.featured { --bg: var(--wood); --text: var(--c-light); background: var(--bg); color: var(--text); border-color: transparent;
  --surface: color-mix(in srgb, var(--text) 6%, var(--bg)); --text-2: color-mix(in srgb, var(--text) 70%, var(--bg)); }
.price-card.featured .btn-light { background: var(--c-light); color: var(--c-dark); }
.price-note { margin-top: 1.6rem; color: var(--text-2); font-size: .95rem; }

/* ---------- Instrumentos ---------- */
.instruments { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); }
.instrument { padding: clamp(1.6rem, 4vw, 3rem) clamp(0rem, 3vw, 2.5rem) clamp(1.6rem, 4vw, 3rem) 0; }
.instrument + .instrument { border-left: 1px solid var(--line); padding-left: clamp(1.2rem, 3vw, 2.5rem); }
.instrument .big { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: .9; margin: 0 0 1.2rem; color: var(--accent); }
.instrument + .instrument .big { color: color-mix(in srgb, var(--wood) 55%, var(--text)); }
.traits { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.traits li { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; font-size: .88rem; }
@media (max-width: 760px) { .instruments { grid-template-columns: 1fr; } .instrument, .instrument + .instrument { padding: 1.8rem 0; border-left: 0; } .instrument + .instrument { border-top: 1px solid var(--line); } }

/* ---------- Accesos ---------- */
.moods { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; }
@media (max-width: 860px) { .moods { grid-template-columns: 1fr 1fr; } }
.mood { display: block; text-decoration: none; padding: 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color .2s, background .2s; }
.mood strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: .35rem; line-height: 1.1; }
.mood span { font-size: .9rem; color: var(--text-2); }
.mood:hover { border-color: var(--accent); background: var(--surface-2); }

/* ---------- Canciones ---------- */
.songs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.song { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.song.playing { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.play { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--text); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--text); }
.play svg { width: 16px; height: 16px; }
.play[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--c-dark); }
.play:disabled { border-color: var(--line); color: var(--line); cursor: default; }
.song-title { font-weight: 600; line-height: 1.3; }
.song-meta { font-size: .88rem; color: var(--text-2); }
.song-tags { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: .76rem; border: 1px solid var(--line); border-radius: 999px; padding: .1rem .55rem; white-space: nowrap; color: var(--text-2); }
.song .progress { grid-column: 2 / -1; height: 2px; background: var(--line); position: relative; display: none; }
.song.playing .progress { display: block; }
.song .progress i { position: absolute; inset: 0 auto 0 0; background: var(--accent); width: 0; }
@media (max-width: 600px) { .song { grid-template-columns: 44px 1fr; } .song-tags { grid-column: 2; justify-content: flex-start; } }
.filters { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.search { width: 100%; min-height: 52px; padding: .8rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.chips { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.chip { flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: .5rem .95rem; cursor: pointer; font-size: .92rem; min-height: 40px; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.filter-row select { min-height: 44px; border-radius: 999px; border: 1px solid var(--line); padding: .4rem 1rem; background: var(--surface); color: var(--text); font: inherit; }
.result-count { font-size: .9rem; color: var(--text-2); }

/* ---------- Vídeos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; align-items: start; }
.video-card figure { margin: 0; }
.video-frame { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 9; }
.video-frame.vertical { aspect-ratio: 9 / 16; }
.video-frame img, .video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame img { transition: transform .6s var(--ease), opacity .3s; }
.video-frame:hover img { transform: scale(1.03); }
.video-frame video { object-fit: contain; background: #000; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--c-dark); }
.video-play span { width: 64px; height: 64px; border-radius: 50%; background: var(--c-light); display: grid; place-items: center; transition: transform .3s var(--ease); }
.video-frame:hover .video-play span { transform: scale(1.08); }
.video-card figcaption { padding-top: .75rem; }
.video-card figcaption strong { display: block; }
.video-card figcaption span { font-size: .9rem; color: var(--text-2); }
.empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 2rem; color: var(--text-2); }

/* ---------- Configurador / formularios ---------- */
.config { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.4rem, 4vw, 2.5rem); }
.config fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.config legend { font-family: var(--serif); font-size: 1.6rem; margin-bottom: .75rem; }
.options { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.opt input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.config-result { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: .5rem; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--text-2); font-weight: 400; }
.input, .form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form input[type="password"], .form input[type="number"], .form textarea, .form select {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font: inherit; color: var(--text); color-scheme: dark; }
:root.admin .form :is(input, textarea, select) { color-scheme: light; }
.form textarea { min-height: 130px; resize: vertical; }
.form :is(input, textarea, select):focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.check input { width: 22px; height: 22px; flex: none; margin-top: .1rem; accent-color: var(--accent); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1.2em; margin: 0; }
.form-ok { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.form-ok h3 { margin-bottom: .4em; }

/* ---------- Reserva ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.step-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.2rem, 3vw, 1.8rem); margin-bottom: 1rem; }
.step-block h2 { font-size: 2rem; margin-bottom: .6rem; }
.step-block.locked { opacity: .5; }
.summary-line { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 1rem; }
.pay-note { font-size: .95rem; color: var(--text-2); border-left: 2px solid var(--accent); padding-left: 1rem; margin: 1rem 0; }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about.img-right > .portrait { order: 2; }
@media (max-width: 860px) { .about.img-right > .portrait { order: 0; } }
.portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; position: relative;
  background: radial-gradient(100% 80% at 30% 10%, color-mix(in srgb, var(--wood) 80%, transparent), transparent 70%), var(--surface-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.facts li { padding: .75rem 0; border-bottom: 1px solid var(--line); color: var(--text-2); }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--text); padding-top: 1rem; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--accent); margin-bottom: .6rem; line-height: 1; }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--text-2); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Reseñas ---------- */
.rating-summary { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.5rem; }
.rating-summary strong { font-family: var(--serif); font-size: 3.4rem; font-weight: 400; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; margin: 0; }
.stars { color: var(--accent); letter-spacing: .1em; font-size: 1.05rem; }
.review blockquote { margin: .8rem 0 1rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.review figcaption { font-size: .92rem; color: var(--text-2); }

/* ---------- Preguntas ---------- */
.faq { border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; font-family: var(--sans); font-size: 1.5rem; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.4rem; color: var(--text-2); white-space: pre-line; }

/* ---------- Llamada final ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.cta p { margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta .note { margin-top: 1rem; font-size: .92rem; color: var(--text-2); }

/* ---------- Contacto, texto, avisos ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; }
.contact-card h3 { font-size: 1.7rem; }
.prose h2 { font-size: 2.1rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose > :last-child { margin-bottom: 0; }
.prose a { text-decoration-color: var(--accent); }
.split { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: var(--r); padding: 1.7rem; }
.callout .btn-row { margin-top: 1.2rem; }

/* ---------- Imagen, galería, vídeo, cita ---------- */
.b-figure { margin: 0; }
.b-figure img { width: 100%; height: auto; border-radius: var(--r); }
.b-figure[style*="--ratio"] img { aspect-ratio: var(--ratio); object-fit: cover; }
.full .b-figure img { border-radius: 0; }
.b-figure figcaption { font-size: .9rem; color: var(--text-2); margin-top: .6rem; }
.b-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 700px) { .b-gallery { grid-template-columns: 1fr 1fr; } }
.b-gallery figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); background: var(--surface-2); }
.b-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.b-gallery figure:hover img { transform: scale(1.04); }
.b-video.is-vertical { max-width: 380px; }
.center .b-video.is-vertical { margin-inline: auto; }
.b-video video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.b-quote { margin: 0; }
.b-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.12; text-wrap: balance; }
.b-quote figcaption { margin-top: 1.2rem; color: var(--text-2); }
.b-spacer.sp-s { height: clamp(1rem, 2vw, 1.5rem); } .b-spacer.sp-m { height: clamp(2rem, 5vw, 4rem); } .b-spacer.sp-l { height: clamp(4rem, 9vw, 7rem); }
.b-divider hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.b-divider { padding-block: 1.5rem; }
.b-empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 2rem; text-align: center; color: var(--text-2); }

/* ---------- Aparición al hacer scroll (discreta, solo títulos) ---------- */
.reveal-on .blk .section-head, .reveal-on .blk .offers, .reveal-on .blk .b-quote { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-on .blk.seen .section-head, .reveal-on .blk.seen .offers, .reveal-on .blk.seen .b-quote { opacity: 1; transform: none; }

/* ---------- Pie ---------- */
.site-footer { --bg: var(--deep); --text: var(--c-light); background: var(--bg); color: var(--text-2); padding-block: 4rem 2.5rem; font-size: .95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 2rem; color: var(--text); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Aviso de cookies ---------- */
.consent { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: calc(1rem + var(--sticky-h)); max-width: 520px; background: var(--surface-2);
  color: var(--text); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; box-shadow: 0 16px 50px rgba(0, 0, 0, .45); font-size: .93rem; }
.consent p { margin-bottom: .8rem; }

.is-editing [data-bid][hidden] { display: block !important; opacity: .45; }
