/* =====================================================================================
   Cuban Beauty · hoja única
   Lujo limpio, editorial: mucho aire, Marcellus de trazo parejo, Mulish de lectura tranquila,
   etiquetas en versalitas espaciadas, filetes dorados finos y movimiento lento.
   Paleta del propio local (verde salvia, madera, crema) y del logo (dorado antiguo).
   ===================================================================================== */
/* Marcellus (títulos; sin cursiva ni negrita) + Mulish variable (texto, 300-700). Elegidas por la dueña
   el 26-10-2026. Licencia SIL OFL; servidas desde el propio sitio. */
@font-face { font-family: 'Marcellus'; src: url('fonts/marcellus-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('fonts/mulish-var.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --forest: #1f281c;
  --forest-2: #28331f;
  --green: #3c4836;
  --green-2: #4d5a46;
  --sage: #e8ebe2;
  --cream: #f5efe4;
  --paper: #faf7f1;
  --white: #fffdf9;
  --ink: #1b1d18;
  --ink-soft: #5a6054;
  --line: #e1d9ca;
  --line-dark: rgba(245, 239, 228, .16);
  --gold: #a07f43;
  --gold-light: #d4b06b;
  --gold-line: rgba(212, 176, 107, .42);
  --serif: 'Marcellus', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --shell: min(1320px, 100% - 2 * var(--gutter));
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 4px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--gold-light); color: var(--forest); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 18px; letter-spacing: .005em; }
/* Marcellus runs wider than Cormorant: a notch smaller so long German words still fit a phone. */
h1 { font-size: clamp(40px, 7.2vw, 100px); font-weight: 400; }
h2 { font-size: clamp(34px, 4.8vw, 70px); }
h3 { font-size: 24px; font-weight: 400; }
/* Marcellus has no italic: the highlighted word keeps its shape and only takes the gold. */
h1 em, h2 em { font-style: normal; font-weight: 400; color: var(--gold); }
p { margin: 0 0 18px; }
.shell { width: var(--shell); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 4px; }

/* Etiqueta de sección: número + texto en versalitas espaciadas, con filete. */
.kicker { display: flex; align-items: center; gap: 14px; font: 400 11.5px/1.4 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.kicker-n { font: 400 20px/1 var(--serif); letter-spacing: 0; color: var(--gold); }
.kicker-n::after { content: ''; display: inline-block; width: 38px; height: 1px; margin: 0 0 4px 14px; background: currentColor; opacity: .5; vertical-align: middle; }
.center .kicker, .sec-head.center .kicker { justify-content: center; }
.lede { font-size: 19px; line-height: 1.75; max-width: 54ch; color: var(--ink-soft); }
.sec-head { margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head.center { text-align: center; }
.sec-head.center .lede { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn, .btn-ghost, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 32px; border-radius: var(--radius); font: 400 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease); }
.btn svg { transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn { background: var(--green); color: var(--white); border: 1px solid var(--green); }
.btn:hover { background: var(--forest); border-color: var(--gold-light); }
.btn-light { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-light:hover { background: var(--white); color: var(--forest); border-color: var(--gold-light); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid rgba(245, 239, 228, .55); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-line { min-height: 38px; padding: 0 16px; border: 1px solid var(--line); color: var(--green); background: transparent; font-size: 10.5px; letter-spacing: .2em; }
.btn-line:hover { border-color: var(--green); background: var(--green); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 11px; }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease), color .3s; padding-bottom: 2px; }
.link:hover { color: var(--gold); background-size: 0 1px; background-position: 100% 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; color: var(--green); font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
.link-arrow span { transition: transform .45s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Cabecera: transparente sobre la portada, sólida al bajar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 30; color: var(--cream); transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s; border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; gap: 28px; height: var(--header); padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.is-scrolled .top { background: rgba(31, 40, 28, .94); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line-dark); }
.brand { display: flex; align-items: center; text-decoration: none; }
.nav { display: flex; gap: 34px; margin-inline: auto; }
.nav a { position: relative; padding: 8px 0; text-decoration: none; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--cream); }
.nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--gold-light); transition: left .45s var(--ease), right .45s var(--ease); }
.nav a:hover::after { left: 0; right: 0; }
.top-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav + .top-tools { margin-left: 0; }
.burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; cursor: pointer; place-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 1px; background: var(--cream); }
@media (max-width: 1080px) { .nav { display: none; } .burger { display: grid; } }
@media (max-width: 560px) { .top-book { display: none; } :root { --header: 72px; } }

/* Idioma: bola del mundo y desplegable con nombres. */
.langs { position: relative; }
.langs > summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 9px 12px; border: 1px solid transparent; border-radius: 999px; font-size: 11.5px; letter-spacing: .18em; color: var(--cream); transition: border-color .3s; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary:hover, .langs[open] > summary { border-color: var(--gold-line); }
.langs ul { position: absolute; right: 0; top: calc(100% + 12px); list-style: none; margin: 0; padding: 10px; min-width: 180px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.langs li a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; color: var(--ink); text-decoration: none; font-size: 15px; }
.langs .flag { flex: none; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.langs li a:hover { background: var(--sage); }
.langs li a[aria-current] { color: var(--gold); }

/* Menú a pantalla completa (móvil y tableta). */
.menu-panel { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: calc(var(--header) + 20px) var(--gutter) 40px; border: 0; background: var(--forest); color: var(--cream); display: none; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu-panel[open] { display: flex; animation: menuIn .5s var(--ease-out); }
@keyframes menuIn { from { opacity: 0; } }
.menu-panel::backdrop { background: transparent; }
.menu-close { position: absolute; top: 18px; right: var(--gutter); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--cream); font-size: 28px; line-height: 1; cursor: pointer; }
.menu-nav { display: grid; gap: 4px; }
.menu-nav a { display: flex; align-items: baseline; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; font: 400 clamp(34px, 9vw, 54px)/1.1 var(--serif); color: var(--cream); }
.menu-nav a span { font: 400 18px/1 var(--serif); color: var(--gold-light); }
.menu-panel[open] .menu-nav a { animation: rise .7s var(--ease-out) backwards; }
.menu-panel[open] .menu-nav a:nth-child(2) { animation-delay: .05s; } .menu-panel[open] .menu-nav a:nth-child(3) { animation-delay: .1s; } .menu-panel[open] .menu-nav a:nth-child(4) { animation-delay: .15s; } .menu-panel[open] .menu-nav a:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.menu-foot { display: grid; gap: 14px; margin-top: 36px; }
.menu-foot p { margin: 0; font-size: 15px; color: rgba(245,239,228,.75); }
.menu-foot p a { color: var(--cream); }
.menu-foot p a[aria-current] { color: var(--gold-light); }

/* ---------- Logo (sin fondo ni marco) y el que vuela a la cabecera ---------- */
.medal { display: grid; place-items: center; }
.medal img { width: 100%; height: auto; }
.brand-slot { width: 74px; aspect-ratio: 520 / 444; flex: none; }
.hero-mark { width: clamp(190px, 24vw, 300px); aspect-ratio: 520 / 444; margin-bottom: 28px; }
.flying-logo { display: none; position: fixed; left: 0; top: 0; z-index: 40; aspect-ratio: 520 / 444; pointer-events: none; transform-origin: 0 0; will-change: transform; backface-visibility: hidden; }
.logo-flies .flying-logo { display: grid; }
.logo-flies .hero-mark, .logo-flies .brand-slot { visibility: hidden; }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: var(--white); overflow: hidden; background: var(--forest); text-align: center; isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; animation: heroIn 2.4s var(--ease-out) both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(31,40,28,.5), rgba(31,40,28,.82)), linear-gradient(180deg, rgba(31,40,28,.55) 0%, rgba(31,40,28,0) 24%, rgba(31,40,28,0) 60%, rgba(31,40,28,.85) 100%); }
.hero-in { width: var(--shell); padding-block: calc(var(--header) + 40px) 120px; display: grid; justify-items: center; }
.hero-in > * { animation: rise 1.2s var(--ease-out) backwards; }
.hero-in > :nth-child(2) { animation-delay: .25s; } .hero-in > :nth-child(3) { animation-delay: .4s; } .hero-in > :nth-child(4) { animation-delay: .55s; } .hero-in > :nth-child(5) { animation-delay: .7s; }
.hero-kicker { color: var(--gold-light); justify-content: center; text-shadow: 0 1px 14px rgba(20,26,18,.9), 0 0 2px rgba(20,26,18,.6); }
.hero h1, .hero .lede { text-shadow: 0 2px 30px rgba(20,26,18,.45); }
.hero h1 { max-width: 13ch; text-wrap: balance; }
.hero h1 em { color: var(--gold-light); }
.hero .lede { color: rgba(255,253,249,.84); margin-inline: auto; text-wrap: balance; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; color: rgba(245,239,228,.8); text-decoration: none; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; }
.scroll-hint i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--gold-light), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Cinta en movimiento ---------- */
.ribbon { overflow: hidden; background: var(--forest); color: var(--cream); border-block: 1px solid var(--line-dark); padding: 22px 0; }
.ribbon-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 60s linear infinite; }
.ribbon span { font: 400 clamp(24px, 3vw, 36px)/1 var(--serif); white-space: nowrap; }
.ribbon i { font-style: normal; font-size: 12px; color: var(--gold-light); }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(96px, 13vw, 180px); }
.section-sage { background: var(--sage); }
.section-dark { background: var(--forest); color: var(--cream); }
.section-dark h2 { color: var(--cream); }
.section-dark h2 em { color: var(--gold-light); }
.section-dark .kicker, .section-dark .kicker-n { color: var(--gold-light); }
.section-dark .lede { color: rgba(245,239,228,.72); }

/* Aparición al llegar. */
.reveal-on .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ---------- Nosotras ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-media { position: relative; margin: 0; padding-bottom: 18%; }
.about-media img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-media-2 { position: absolute; right: -4%; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border: 10px solid var(--paper); box-shadow: 0 24px 50px rgba(31,40,28,.16); }
.quote { margin: 0 0 30px; padding: 0; }
.quote p { font: 400 clamp(26px, 2.6vw, 34px)/1.35 var(--serif); color: var(--ink); }
.prose p { font-size: 18px; color: var(--ink-soft); }
.signature { margin-top: 30px; font: 400 22px/1 var(--serif); color: var(--gold); }
.signature::before { content: ''; display: inline-block; width: 40px; height: 1px; margin-right: 14px; background: var(--gold); vertical-align: middle; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-media { order: 2; } .about-media-2 { right: 0; } }

/* ---------- Carta ---------- */
.menu-grid { display: grid; grid-template-columns: minmax(280px, .8fr) 1.6fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.menu-intro { position: sticky; top: calc(var(--header) + 40px); }
.menu-intro .sec-head { margin-bottom: 36px; }
@media (max-width: 980px) { .menu-grid { grid-template-columns: 1fr; } .menu-intro { position: static; } }
.menu { display: grid; }
.menu-group { border-top: 1px solid var(--line-dark); }
.menu-group:last-child { border-bottom: 1px solid var(--line-dark); }
.menu-group > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 22px; padding: 28px 0; transition: color .35s; }
.menu-group > summary::-webkit-details-marker { display: none; }
.menu-group > summary::after { content: '+'; margin-left: 10px; font: 300 30px/1 var(--sans); color: var(--gold-light); transition: transform .45s var(--ease); }
.menu-group[open] > summary::after { transform: rotate(45deg); }
.menu-num { font: 400 18px/1 var(--serif); color: var(--gold-light); min-width: 26px; }
.menu-cat { font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); }
.menu-group > summary:hover .menu-cat { color: var(--gold-light); }
.menu-sum { margin-left: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,239,228,.6); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-list { list-style: none; margin: 0; padding: 0 0 26px 48px; }
.menu-item { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: baseline; column-gap: 14px; padding: 15px 0; }
.menu-name { font-size: 17.5px; font-weight: 400; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.menu-dots { border-bottom: 1px dotted rgba(245,239,228,.32); transform: translateY(-5px); min-width: 20px; }
.menu-dur { font-size: 13.5px; color: rgba(245,239,228,.6); white-space: nowrap; }
.menu-price { font: 400 22px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; min-width: 76px; text-align: right; color: var(--cream); }
.menu-item .btn-line { color: var(--cream); border-color: var(--line-dark); margin-left: 8px; }
.menu-item .btn-line:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.menu-desc { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14.5px; color: rgba(245,239,228,.6); max-width: 60ch; }
@media (max-width: 640px) {
  .menu-group > summary { flex-wrap: wrap; gap: 6px 14px; padding: 22px 0; }
  .menu-sum { margin-left: 40px; flex: 1 0 calc(100% - 40px); min-width: 0; white-space: normal; order: 3; }
  .menu-list { padding-left: 0; }
  .menu-item { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .menu-dots { display: none; }
  .menu-dur { grid-column: 1; grid-row: 2; }
  .menu-price { grid-column: 2; grid-row: 1; }
  .menu-item .btn-line { grid-column: 2; grid-row: 2; margin: 0; }
}

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 380px)); justify-content: center; gap: clamp(24px, 3vw, 40px); }
.team-card { display: flex; flex-direction: column; background: transparent; }
.team-photo { position: relative; aspect-ratio: 4 / 5; padding: 0; border: 0; width: 100%; cursor: pointer; display: block; overflow: hidden; background: var(--sage); }
.team-photo > img:first-child, .team-photo > .team-initial { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.team-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(31,40,28,.45)); opacity: 0; transition: opacity .6s var(--ease); }
.team-card:hover .team-photo > img:first-child { transform: scale(1.05); }
.team-card:hover .team-photo::after { opacity: 1; }
.team-initial { display: grid; place-items: center; font: 400 150px/1 var(--serif); color: var(--gold); background: linear-gradient(160deg, var(--sage), #dde2d4); }
.team-photo .team-logo { position: absolute; z-index: 1; right: 16px; top: 16px; width: 72px; height: 72px; object-fit: contain; background: rgba(255,253,249,.95); border-radius: 50%; padding: 8px; }
.team-body { padding: 26px 0 0; display: grid; gap: 2px; }
.team-body h3 { margin: 0; font-size: 40px; font-weight: 400; }
.team-title { color: var(--gold); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 16px; }
.team-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------- Ficha flotante ---------- */
.sheet { width: min(1080px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 40px 120px rgba(0,0,0,.45); }
.sheet[open] { animation: sheetIn .6s var(--ease-out); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } }
.sheet::backdrop { background: rgba(20,26,18,.78); backdrop-filter: blur(6px); }
.sheet-close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; transition: background .3s, color .3s; }
.sheet-close:hover { background: var(--forest); color: var(--cream); }
.sheet-body { padding: 0 clamp(20px, 5vw, 64px) clamp(32px, 5vw, 64px); }
.sheet-head { display: grid; grid-template-columns: minmax(220px, 400px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; padding-top: clamp(20px, 4vw, 56px); }
.sheet-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sage); }
.sheet-photo img, .sheet-photo .team-initial { width: 100%; height: 100%; object-fit: cover; }
.sheet-logo { max-width: 160px; max-height: 110px; object-fit: contain; margin-bottom: 18px; }
.sheet-intro h2 { margin-bottom: 4px; }
.sheet-intro p { font-size: 17px; color: var(--ink-soft); }
.sheet-intro .btn { margin-top: 10px; }
.sheet-h { margin: 56px 0 18px; font-size: 34px; }
.sheet-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet-gallery:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.sheet-gallery:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .sheet-gallery, .sheet-gallery:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.sheet-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* La carta dentro de la ficha va en claro. */
.menu-in-sheet .menu-group { border-color: var(--line); }
.menu-in-sheet .menu-sum, .menu-in-sheet .menu-dur, .menu-in-sheet .menu-desc { color: var(--ink-soft); }
.menu-in-sheet .menu-price { color: var(--ink); }
.menu-in-sheet .menu-num, .menu-in-sheet .menu-group > summary::after { color: var(--gold); }
.menu-in-sheet .menu-dots { border-color: var(--line); }
.menu-in-sheet .menu-item .btn-line { color: var(--green); border-color: var(--line); }
.menu-in-sheet .menu-item .btn-line:hover { background: var(--green); color: var(--white); }
.menu-in-sheet .menu-group > summary:hover .menu-cat { color: var(--gold); }
.menu-in-sheet .menu-cat { font-size: clamp(24px, 2.4vw, 30px); }
@media (max-width: 760px) { .sheet-head { grid-template-columns: 1fr; clear: both; padding-top: 8px; } .sheet-photo { max-width: 320px; } }

/* ---------- El salón: carrusel a todo lo ancho ---------- */
.studio .sec-head { margin-bottom: 52px; }
.carousel { position: relative; }
.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100% - 1320px) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - 1320px) / 2)); }
.car-track::-webkit-scrollbar { display: none; }
.car-track:focus-visible { outline-offset: -2px; }
.car-item { flex: 0 0 auto; height: clamp(380px, 56vw, 620px); aspect-ratio: 9 / 16; margin: 0; overflow: hidden; scroll-snap-align: start; background: var(--line); }
.car-item.wide { aspect-ratio: 16 / 9; }
.car-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.car-item:hover img { transform: scale(1.04); }
.car-nav { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.car-count { font: 400 20px/1 var(--serif); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; min-width: 72px; }
.car-bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.car-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.car-btn { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink-soft); background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; transition: background .35s, color .35s, border-color .35s, opacity .35s; }
.car-btn:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.car-btn:disabled { opacity: .25; pointer-events: none; }
@media (max-width: 720px) { .car-item { height: 440px; } .car-item.wide { aspect-ratio: 4 / 3; height: 300px; align-self: center; } .car-btn { width: 46px; height: 46px; } }

/* ---------- Reserva ---------- */
.booking-for { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 26px; padding: 14px 20px; max-width: 760px; border: 1px solid var(--gold-line); color: var(--cream); }
.booking-for[hidden] { display: none; }
.widget { margin: 40px auto 0; max-width: 1180px; }
.widget[hidden] { display: none; }
.widget iframe { display: block; width: 100%; height: 900px; border: 0; background: transparent; }

/* ---------- Preguntas frecuentes ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header) + 40px); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; } }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 26px 0; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '+'; margin-left: auto; font: 300 28px/1 var(--sans); color: var(--gold); transition: transform .45s var(--ease); }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; }
.faq-item > summary:hover h3 { color: var(--gold); }
.faq-item p { margin: 0; padding: 0 0 28px; max-width: 62ch; font-size: 17px; color: var(--ink-soft); }

/* ---------- Contacto: mapa grande con ficha encima ---------- */
.contact { position: relative; display: grid; }
.map-frame { position: relative; height: clamp(560px, 70vw, 760px); }
/* `!important`: MapLibre pone `position: relative` a su contenedor y el mapa se quedaba sin alto. */
.map { position: absolute !important; inset: 0; background: var(--sage); }
.map canvas { filter: sepia(.2) saturate(.8); }
.map .maplibregl-popup-content { border-radius: 0; font: 400 15px/1.5 var(--sans); padding: 12px 16px; }
.map .maplibregl-ctrl-attrib { font-size: 10px; }
.map-off { display: none; }
.contact-shell { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.contact-card { pointer-events: auto; width: min(460px, 100%); padding: clamp(28px, 4vw, 48px); background: var(--white); box-shadow: 0 30px 80px rgba(31,40,28,.18); }
.contact-card h2 { font-size: clamp(38px, 4vw, 56px); }
.contact-card address { font-style: normal; font-size: 19px; line-height: 1.6; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-size: 15px; }
.hours { margin: 18px 0 0; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: lining-nums tabular-nums; font-size: 15.5px; }
.hours dt, .hours dd { margin: 0; }
.pin { background: none; border: 0; cursor: pointer; }
.pin-dot { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--gold-light), 0 16px 30px rgba(0,0,0,.28); }
.pin-dot img { width: 54px; max-width: 54px; height: auto; }
.pin-tail { display: block; width: 1px; height: 22px; margin: 0 auto; background: var(--gold); }
@media (max-width: 820px) {
  .map-frame { height: 420px; }
  .contact-shell { position: static; width: 100%; padding: 0 var(--gutter); margin: -80px auto 0; display: block; }
  .contact-card { width: 100%; position: relative; z-index: 2; }
  .contact { padding-bottom: 72px; }
}

/* ---------- Formulario ---------- */
.form-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.cform { display: grid; gap: 30px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cform label { display: grid; gap: 4px; }
.cform label > span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(245,239,228,.6); }
.cform :is(input, select, textarea) { width: 100%; font: 400 18px/1.5 var(--sans); color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid rgba(245,239,228,.3); border-radius: 0; padding: 12px 0; transition: border-color .35s var(--ease); }
.cform select option { color: var(--ink); }
.cform :is(input, select, textarea):focus { outline: none; border-bottom-color: var(--gold-light); }
.cform textarea { resize: vertical; min-height: 120px; }
.cform .check { display: flex; gap: 14px; align-items: flex-start; }
.cform .check input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--gold-light); flex: none; }
.cform .check span { text-transform: none; letter-spacing: 0; font-size: 15px; color: rgba(245,239,228,.72); }
.cform .check .link { color: var(--cream); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-msg { margin: 0; min-height: 1.5em; }
.cform-msg[data-state='ok'] { color: var(--gold-light); }
.cform-msg[data-state='err'] { color: #f0a493; }
@media (max-width: 640px) { .cform-row { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.foot { background: var(--forest-2); color: rgba(245,239,228,.82); padding-block: clamp(72px, 9vw, 120px) 34px; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot h3 { font: 400 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.foot p { font-size: 15.5px; }
.foot a { color: var(--cream); text-decoration: none; }
.foot a:hover { color: var(--gold-light); }
.foot-mark { width: 150px; margin-bottom: 18px; }
.foot .muted { color: rgba(245,239,228,.55); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.hours-foot .hours-row { border-color: var(--line-dark); padding: 8px 0; font-size: 14.5px; }
.foot-nav { display: grid; gap: 10px; font-size: 15px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 28px; font-size: 12.5px; color: rgba(245,239,228,.5); }
.foot-base p { margin: 0; }
.foot-base nav { display: flex; gap: 24px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Barra de reserva fija (móvil) ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25; display: flex; gap: 10px; transform: translateY(140%); transition: transform .6s var(--ease-out); }
  .mbar.show { transform: none; }
  .mbar-book { flex: 1; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
  .mbar-call { display: grid; place-items: center; width: 54px; flex: none; background: var(--forest); color: var(--cream); border: 1px solid var(--gold-line); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
  .foot { padding-bottom: 110px; }
}

/* ---------- Fluidez ---------- */
/* Sin content-visibility: con alturas estimadas, los enlaces del menú llegaban a una altura equivocada. */
.btn, .btn-line, .btn-ghost, .link-arrow, .menu-group > summary, .faq-item > summary, .team-photo, .car-btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ---------- Páginas legales ---------- */
.legal-page .top { position: sticky; background: var(--forest); }
.legal-page .brand-slot { visibility: visible; }
.legal { padding-top: 40px; }
.legal h1 { font-size: clamp(42px, 6vw, 72px); }
.legal h2 { font-size: 30px; margin-top: 40px; }
.legal p { font-size: 17px; }
