/* Costanera Apart y Restaurant · sitio de muestra (TYM Digital)
   Base: plantilla web de experiencias. Fondo petróleo teñido del lago, acento azul de la ola del logo,
   madera del edificio como segundo acento (pocos detalles), restaurante en tono brasa y una sección clara glaciar. */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(fonts/outfit.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #0A1C22;
  --bg-2: #0E252D;
  --surface: #133039;
  --line: rgba(214, 236, 242, .12);
  --text: #EEF5F6;
  --muted: #9DB6BD;
  --accent: #3AB2E8;
  --accent-ink: #03141C;
  --accent-soft: rgba(58, 178, 232, .14);
  --wood: #D38E52;
  --radius: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 "Outfit", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage", "Outfit", sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; text-wrap: balance; }
h3 { font-size: 24px; letter-spacing: -.015em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
section { position: relative; }

/* botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn i { font-size: 21px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #5CC2EE; transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(10, 28, 34, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border: 1.5px solid var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* barra de muestra */
.demo-bar { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 13px; font-weight: 600; padding: 7px 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(16px, calc((100% - var(--wrap)) / 2)); background: rgba(10, 28, 34, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Bricolage"; font-weight: 700; font-size: 20px; }
.brand img { width: 40px; height: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 13px "Outfit"; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); }

/* hero */
.hero { min-height: calc(100dvh - 104px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 34, .15) 0%, rgba(10, 28, 34, .05) 35%, rgba(10, 28, 34, .78) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(10, 28, 34, .55), transparent 60%); }
.hero-content { position: relative; width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 0 0 72px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 13ch; text-wrap: balance; }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: #D3E4E8; max-width: 46ch; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* datos */
.facts { width: min(var(--wrap), 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 28px 24px; display: grid; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: "Bricolage"; font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.fact strong i { color: var(--accent); font-size: 24px; }
.fact span { color: var(--muted); font-size: 15px; }

/* tours */
.deptos { padding: 120px 0 96px; }
.dep-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dep { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.dep[hidden] { display: none; }
.dep-media { overflow: hidden; }
.dep-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.dep:hover .dep-media img { transform: scale(1.03); }
.dep-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 1; }
.dep-body p { color: var(--muted); max-width: 52ch; }
.dep-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.dep-feature .dep-media img { aspect-ratio: auto; min-height: 420px; }
.dep-feature .dep-body { padding: 40px; justify-content: center; }
.dep-feature h3 { font-size: clamp(28px, 3vw, 38px); }
.dep-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; }
.dep-wide .dep-media img { aspect-ratio: auto; min-height: 360px; }
.dep-wide-rev { grid-template-columns: 1.1fr 1fr; }
.dep-wide-rev .dep-media { order: 2; }
.price-row { margin-top: auto; padding-top: 8px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { font-family: "Bricolage"; font-size: 28px; font-weight: 700; color: var(--text) !important; display: flex; align-items: baseline; gap: 6px; }
.price small { font-family: "Outfit"; font-size: 14px; font-weight: 400; color: var(--muted); }
.fine { font-size: 13.5px; color: var(--muted); }
.tag { background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text); font-size: 15px; }
.meta li { display: flex; align-items: center; gap: 7px; }
.meta i { color: var(--accent); font-size: 19px; }
.note { margin-top: 26px; color: var(--muted); }




/* cotizador */
.quote { padding: 120px 0; background: var(--bg-2); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote-copy p { margin-top: 16px; color: var(--muted); max-width: 44ch; font-size: 18px; }
.quote-photo { margin-top: 32px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.quote-form { background: var(--surface); border-radius: 20px; padding: 32px; display: grid; gap: 18px; border: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; color: #C5DADF; }
.field select, .field input { width: 100%; background: var(--bg); color: var(--text); border: 1.5px solid rgba(214, 236, 242, .2); border-radius: 12px; padding: 13px 14px; font: 400 16px "Outfit"; color-scheme: dark; }
.field select:focus, .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder { color: #7C979E; }
.field input[aria-invalid="true"] { border-color: #F07A6A; }
.stepper { display: grid; grid-template-columns: 46px 1fr 46px; border: 1.5px solid rgba(214, 236, 242, .2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.stepper button { background: none; border: 0; color: var(--text); font-size: 18px; cursor: pointer; }
.stepper button:hover { color: var(--accent); }
.stepper input { border: 0 !important; border-radius: 0; text-align: center; padding: 13px 0; -moz-appearance: textfield; box-shadow: none !important; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.quote-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 18px 0 4px; border-top: 1px solid var(--line); }
.quote-total span { color: var(--muted); font-size: 15px; }
.quote-total strong { font-family: "Bricolage"; font-size: 38px; grid-row: span 2; }
.quote-total small { color: var(--muted); font-size: 14px; }
.form-error { color: #F49A8C; font-size: 14px; }
.btn-block { justify-content: center; width: 100%; border: 0; cursor: pointer; font-family: "Outfit"; }

/* nosotros */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-photos { position: relative; min-height: 520px; }
.about-photos img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(2, 10, 13, .5); }
.ap-1 { top: 0; left: 0; width: 78%; aspect-ratio: 16 / 10; }
.ap-2 { bottom: 0; right: 0; width: 58%; aspect-ratio: 4 / 3; border: 6px solid var(--bg); }
.about-copy p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 52ch; }
.about-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.about-list i { color: var(--accent); font-size: 24px; }
.sign { font-family: "Bricolage"; font-weight: 700; font-size: 20px; color: var(--text) !important; display: grid; }
.sign span { font-family: "Outfit"; font-weight: 400; font-size: 14px; color: var(--muted); }

/* opiniones */
.link { display: inline-block; margin-top: 28px; color: var(--accent); font-weight: 600; text-underline-offset: 4px; }

/* galería */
.gallery { padding: 110px 0; }
.masonry { margin-top: 44px; columns: 3 280px; column-gap: 16px; }
.masonry img { width: 100%; margin-bottom: 16px; border-radius: 14px; break-inside: avoid; }
.masonry img:nth-child(3n+1) { aspect-ratio: 4 / 5; object-fit: cover; }

/* faq */
.faq { padding: 100px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; color: var(--accent); transition: rotate .3s var(--ease); }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { color: var(--muted); padding: 0 0 22px; max-width: 60ch; }

/* contacto */
.contact { padding: 100px 0 120px; background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; margin: 30px 0 32px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.contact-list i { color: var(--accent); font-size: 22px; flex: none; }
.contact-list a { text-decoration: none; color: var(--text); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25A85A; color: #fff; display: grid; place-items: center; font-size: 32px; box-shadow: 0 12px 30px rgba(2, 10, 13, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dep-grid { grid-template-columns: 1fr; }
  .dep-feature, .dep-wide, .dep-wide-rev { grid-template-columns: 1fr; }
  .dep-wide-rev .dep-media { order: 0; }
  .dep-feature .dep-media img, .dep-wide .dep-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .dep-feature .dep-body { padding: 26px 24px 28px; }
  .quote-grid, .about-grid { gap: 40px; }
  .about-photos { min-height: 340px; }
  .quote-photo { display: none; }
}
@media (max-width: 560px) {
  .nav { height: 64px; }
  .brand span { display: none; }
  .nav-actions .btn-sm span { display: none; }
  .deptos, .book, .reviews, .gallery, .quote, .about { padding: 80px 0; }
  .quote-form { padding: 22px; }
  .field-row, .price-split { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 48px; }
  .fact { padding: 20px 14px; }
  .fact strong { font-size: 24px; }
}

/* movimiento: sólo si la persona no pidió reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dep img, .btn, .wa-float { transition: none; }
}

/* ---------- titulares por palabra ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .wi { display: inline-block; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-split]:not(.split-done) .wi { transform: translateY(105%); }
}



/* ---------- tarjetas: abrir ficha ---------- */
.dep.is-clickable { cursor: pointer; }
.dep.is-clickable:hover { box-shadow: 0 0 0 1.5px rgba(58, 178, 232, .55), 0 30px 60px rgba(2, 10, 13, .45); }
.dep { transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.dep.is-clickable:hover { transform: translateY(-3px); }
.more { background: none; border: 0; color: var(--accent); font: 600 15px "Outfit"; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 0; }
.more i { transition: transform .3s var(--ease); }
.more:hover i, .dep:hover .more i { transform: translate(3px, -3px); }

/* ---------- ficha del tour ---------- */
html.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text); display: none; grid-template-columns: 1.05fr 1fr; overflow: hidden; }
.sheet[open] { display: grid; }
.sheet::backdrop { background: rgba(3, 14, 18, .6); }
.sheet-media { position: relative; overflow: hidden; background: #04110F; }
.sheet-main { position: absolute; inset: 0; }
.sheet-slide { position: absolute; inset: 0; }
.sheet-slide img, .sheet-slide video { width: 100%; height: 100%; object-fit: cover; }
.sheet-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3, 14, 18, .35), transparent 22%, transparent 70%, rgba(3, 14, 18, .7)); }
.sheet-thumbs { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 10px; }
.sheet-thumbs button { position: relative; width: 78px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.sheet-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.sheet-thumbs button i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; background: rgba(3, 14, 18, .35); }
.sheet-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.sheet-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.sheet-content { overflow-y: auto; padding: 96px clamp(28px, 4.5vw, 72px) 64px; overscroll-behavior: contain; }
.sheet-content:focus { outline: none; }
.sheet-bar { position: absolute; top: 20px; right: 24px; z-index: 3; display: flex; gap: 8px; }
.sheet-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(19, 48, 57, .85); backdrop-filter: blur(8px); color: var(--text); font-size: 19px; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.sheet-btn:hover { background: var(--surface); transform: scale(1.05); }
.sheet-close { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sheet-close:hover { background: #5CC2EE; }
.sp-count { font-family: "Bricolage"; font-weight: 600; color: var(--muted); font-size: 14px; letter-spacing: .08em; margin-bottom: 18px; }
.sp-title { font-size: clamp(36px, 4.2vw, 60px); margin: 14px 0 18px; max-width: 14ch; }
.sp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #D3E4E8; }
.sp-lead { margin-top: 26px; font-size: 21px; line-height: 1.5; color: var(--text); max-width: 46ch; }
.sp-body { margin-top: 16px; color: var(--muted); max-width: 56ch; }
.sp-quote { margin-top: 28px; background: var(--surface); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }
.sp-quote i { color: var(--accent); font-size: 26px; }
.sp-quote p { font-family: "Bricolage"; font-size: 20px; line-height: 1.35; }
.sp-quote footer { margin-top: 6px; color: var(--muted); font-size: 14px; }
.sp-h { font-size: 15px; font-family: "Outfit"; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 44px 0 18px; }
.sp-steps { --line: 1; list-style: none; position: relative; display: grid; gap: 22px; padding-left: 26px; }
.sp-steps::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), rgba(58, 178, 232, .2)); transform-origin: top; transform: scaleY(var(--line)); }
.sp-steps li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.sp-steps li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--accent); }
.sp-time { font-family: "Bricolage"; font-weight: 700; color: var(--text); font-size: 15px; padding-top: 1px; }
.sp-steps strong { font-family: "Bricolage"; font-size: 18px; }
.sp-steps p { color: var(--muted); font-size: 15.5px; margin-top: 2px; }
.sp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sp-list { list-style: none; display: grid; gap: 10px; }
.sp-list li { display: flex; gap: 10px; align-items: flex-start; color: #D3E4E8; }
.sp-list i { color: var(--accent); font-size: 20px; flex: none; margin-top: 2px; }
.sp-book { margin-top: 44px; background: var(--surface); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.sp-prices { display: flex; flex-wrap: wrap; gap: 28px; }
.sp-price { display: grid; gap: 0; }
.sp-price span { color: var(--muted); font-size: 14px; }
.sp-price strong { font-family: "Bricolage"; font-size: 40px; line-height: 1.1; }
.sp-price small { color: var(--muted); font-size: 14px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-actions .btn { border: 0; cursor: pointer; font-family: "Outfit"; }
.sp-actions .btn-line { border: 1.5px solid var(--line); }

@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; grid-template-rows: 42dvh 1fr; }
  .sheet-content { padding: 30px 20px 48px; }
  .sheet-thumbs { left: 16px; bottom: 14px; gap: 8px; }
  .sheet-thumbs button { width: 58px; height: 44px; }
  .sheet-bar { top: 14px; right: 14px; }
  .sp-cols { grid-template-columns: 1fr; gap: 0; }
  .sp-steps li { grid-template-columns: 1fr; gap: 2px; }
  .sp-lead { font-size: 18px; }
}

/* ---------- menú del celular ---------- */
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mmenu { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px 20px 26px; display: grid; gap: 2px; box-shadow: 0 30px 60px rgba(2, 10, 13, .55); }
.mmenu[hidden] { display: none; }
.mmenu a:not(.btn) { text-decoration: none; font-family: "Bricolage"; font-weight: 700; font-size: 26px; letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mmenu a:not(.btn):active { color: var(--accent); }
.mmenu .btn { margin-top: 18px; justify-content: center; }
body.menu-open { overflow: hidden; }
@media (max-width: 1020px) { .menu-btn { display: block; } }
@media (max-width: 600px) { .nav-actions .btn-sm { display: none; } }

@media (max-width: 860px) {
}

/* ---------- pulido de interacción (skill emil-design-eng) ---------- */
/* el logo: GSAP anima `transform` al entrar; el hover usa rotate/scale sueltos para no pelear con él */
:root { interpolate-size: allow-keywords; }

/* todo lo que se presiona responde al dedo */
.btn { transition: transform 160ms var(--ease), background .2s ease, border-color .2s ease, color .2s ease; }
.btn:active { transform: scale(.97); }
.wa-float:active { transition-duration: .35s, 160ms; }
.more:active { transform: scale(.98); }
.sheet-thumbs button { transition: transform 160ms var(--ease), opacity .2s ease, border-color .2s ease; }
.sheet-thumbs button:active { transform: scale(.94); }
.dep.is-clickable { transition: box-shadow .25s ease, transform .25s var(--ease); }
.dep.is-clickable:active { transform: translateY(0) scale(.99); }

/* en pantallas táctiles el hover no existe: sin saltos al tocar */
@media (hover: none), (pointer: coarse) {
  .dep.is-clickable:hover { transform: none; box-shadow: none; }
  .dep:hover .dep-media img { transform: none; }
  .btn-primary:hover, .wa-float:hover, .sheet-btn:hover, .sheet-thumbs button:hover { transform: none; }
  .more:hover i, .dep:hover .more i { transform: none; }
  .brand:hover img { rotate: none; scale: none; }
}

/* preguntas: abren con altura animada donde el navegador lo permite */
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .28s var(--ease), content-visibility .28s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list summary::after { transition: rotate .2s var(--ease); }
.faq-list summary { transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .faq-list summary:hover { color: var(--accent); } }

@media (prefers-reduced-motion: reduce) {
  .btn, .filters button, .sheet-btn, .stepper button, .menu-btn, .more, .wa-float, .lang button, .sheet-thumbs button, .dep.is-clickable, .brand img, .faq-list summary::after, .faq-list details::details-content { transition: none; }
  .btn:active, .filters button:active, .sheet-btn:active, .stepper button:active, .menu-btn:active, .wa-float:active, .lang button:active, .more:active, .sheet-thumbs button:active, .dep.is-clickable:active { transform: none; }
}

/* =====================================================================
   COSTANERA · piezas propias
   ===================================================================== */

/* marca: el logo horizontal, sin sello */
.brand { display: flex; align-items: center; }
.brand img { width: 168px; height: auto; display: block; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-brand img { width: 110px; height: auto; }
@media (max-width: 600px) { .brand img { width: 132px; } }

/* hero: titular grande y consulta de fechas como una barra de hotel */
.hero h1 { max-width: 14ch; }
.hero-shade { background: linear-gradient(180deg, rgba(10, 28, 34, .35) 0%, rgba(10, 28, 34, 0) 30%, rgba(10, 28, 34, .2) 55%, rgba(10, 28, 34, .88) 86%, var(--bg) 100%), linear-gradient(90deg, rgba(10, 28, 34, .5), transparent 55%); }
.stay { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr 130px auto; gap: 0; align-items: stretch; max-width: 760px;
  background: rgba(10, 28, 34, .62); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(214, 236, 242, .2); border-radius: 20px; padding: 8px; }
.stay-f { display: grid; gap: 2px; padding: 8px 16px; border-right: 1px solid var(--line); }
.stay-f label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stay-f input, .stay-f select { background: none; border: 0; color: var(--text); font: 500 16px "Outfit"; padding: 2px 0; color-scheme: dark; width: 100%; cursor: pointer; }
.stay-f input:focus, .stay-f select:focus { outline: none; }
.stay-f:focus-within { background: rgba(58, 178, 232, .1); border-radius: 12px; }
.stay-f select option { background: var(--bg); }
.stay .btn { border: 0; cursor: pointer; font-family: "Outfit"; margin-left: 8px; border-radius: 14px; justify-content: center; }
.stay-err { grid-column: 1 / -1; padding: 8px 16px 2px; color: #F49A8C; font-size: 14px; }

/* datos */
.fact strong { white-space: nowrap; }

/* vista: video del living a la derecha */
.view { padding: 120px 0 40px; }
.view-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.view-copy p { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.view-list { list-style: none; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.view-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.view-list i { color: var(--accent); font-size: 22px; }
.view-media { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(2, 10, 13, .55); }
.view-media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.view-media figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: #fff; background: rgba(10, 28, 34, .55); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; }

/* departamentos */
.deptos { padding: 120px 0 110px; }
.deptos-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.deptos-head p { color: var(--muted); font-size: 18px; max-width: 44ch; }
.dep-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dep { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s var(--ease); }
.dep-media { overflow: hidden; }
.dep-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.dep:hover .dep-media img { transform: scale(1.03); }
.dep-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 1; }
.dep-body p { color: var(--muted); max-width: 52ch; }
.dep-body h3 { font-size: 28px; }
.dep-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.dep-feature .dep-media img { aspect-ratio: auto; min-height: 440px; }
.dep-feature .dep-body { padding: 44px; justify-content: center; }
.dep-feature h3 { font-size: clamp(32px, 3.4vw, 44px); }
.dep-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr; }
.dep-wide .dep-media { order: 2; }
.dep-wide .dep-media img { aspect-ratio: auto; min-height: 380px; }
.dep-wide .dep-body { padding: 44px; justify-content: center; }
.dep.is-clickable { cursor: pointer; }
.dep.is-clickable:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px rgba(58, 178, 232, .55), 0 30px 60px rgba(2, 10, 13, .45); }
.tag { background: var(--accent-soft); color: var(--accent); }
.dep-wide .tag { background: rgba(211, 142, 82, .16); color: var(--wood); }

/* un día frente al lago */
.day { background: var(--bg-2); }
.day-pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0; }
.day-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.day-head p { color: var(--muted); font-size: 18px; max-width: 44ch; }
.day-stage { margin-top: 44px; display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: center; }
.day-photos { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #04110F; box-shadow: 0 40px 80px rgba(2, 10, 13, .5); }
.dp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 2.4s var(--ease); }
.dp.is-on { opacity: 1; transform: scale(1); }
.sun-arc { width: 100%; height: auto; overflow: visible; margin-bottom: 18px; }
.arc-ghost { fill: none; stroke: rgba(214, 236, 242, .16); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.arc-line { fill: none; stroke: var(--wood); stroke-width: 3; stroke-linecap: round; }
.sun { fill: #F3C36B; filter: drop-shadow(0 0 10px rgba(243, 195, 107, .9)); }
.moments { list-style: none; display: grid; gap: 4px; }
.mo { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 14px; border-radius: 14px; opacity: .38; transition: opacity .5s var(--ease), background .5s var(--ease); }
.mo.is-on { opacity: 1; background: var(--surface); }
.mo-h { font-family: "Bricolage"; font-weight: 700; color: var(--wood); padding-top: 2px; }
.mo strong { font-family: "Bricolage"; font-size: 19px; }
.mo p { color: var(--muted); font-size: 15.5px; margin-top: 2px; }
.day-static .day-pin { min-height: 0; }
.day-static .day-photos { display: none; }
.day-static .day-stage { grid-template-columns: 1fr; }
.day-static .mo { opacity: 1; background: var(--surface); grid-template-columns: 1fr; padding: 0 0 16px; overflow: hidden; }
.day-static .mo > * { padding-inline: 18px; }
.day-static .mo-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; padding: 0 !important; margin-bottom: 6px; }
.day-static .moments { gap: 16px; }
.day-static .sun-arc { display: none; }

/* tarifas */
.quote { background: var(--bg); }
.quote-grid { align-items: start; }
.rates { margin-top: 32px; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.rates table, .sp-rates { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates caption { text-align: left; padding: 16px 18px 6px; color: var(--muted); font-size: 14px; }
.rates th, .rates td, .sp-rates th, .sp-rates td { padding: 11px 14px; text-align: right; font-size: 15px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rates thead th, .sp-rates thead th { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .04em; white-space: normal; vertical-align: bottom; }
.rates th[scope="row"], .sp-rates th[scope="row"] { text-align: left; font-weight: 600; color: var(--text); }
.rates tbody tr:last-child > *, .sp-rates tbody tr:last-child > * { border-bottom: 0; }
.rates tbody tr:hover { background: rgba(58, 178, 232, .06); }
.seg { border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg legend { font-size: 14px; font-weight: 600; color: #C5DADF; margin-bottom: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px 8px; border-radius: 12px; border: 1.5px solid rgba(214, 236, 242, .2); font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* restaurante: tono brasa */
.resto { --r-bg: #16110E; --r-surface: #221914; background: var(--r-bg); }
.resto-band { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; padding: 0 0 80px; }
.resto-video { position: absolute; inset: -6% 0 0; width: 100%; height: 106%; object-fit: cover; }
.resto-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(22, 17, 14, .2) 22%, rgba(22, 17, 14, .35) 55%, var(--r-bg) 100%), linear-gradient(90deg, rgba(22, 17, 14, .75), transparent 60%); }
.resto-band-copy { position: relative; }
.resto-mark { width: 150px; height: auto; margin-bottom: 22px; opacity: .9; }
.resto h2 { max-width: 16ch; }
.resto-band-copy p { margin-top: 18px; max-width: 46ch; font-size: 19px; color: #E6D9CC; }
.resto-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; padding: 40px 0 130px; }
.resto-quote p { font-family: "Bricolage"; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.015em; color: #F4EBE1; }
.resto-quote footer { margin-top: 18px; font-weight: 600; display: grid; color: #F4EBE1; }
.resto-quote footer span { font-weight: 400; color: #B7A595; font-size: 14px; }
.resto-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.resto .btn-line { color: #F4EBE1; border-color: rgba(244, 235, 225, .22); }
.resto .btn-line:hover { border-color: var(--wood); color: var(--wood); }
.btn-warm { background: var(--wood); color: #1C1009; }
.btn-warm:hover { background: #E09E64; }
.plates { display: grid; grid-template-columns: 1.7fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 14px; }
.plate { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.p1 { grid-column: 1; grid-row: 1 / 3; }
.p2 { grid-column: 2; grid-row: 1; }
.p3 { grid-column: 3; grid-row: 1 / 3; }
.p4 { grid-column: 2; grid-row: 2; }
.p5 { display: none; }

/* historia */
.about { background: var(--bg); }
.about-copy p + p { margin-top: 14px; }
.sign-row { display: flex; align-items: center; gap: 0; margin-top: 32px; }
.sign-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 3px solid var(--bg); }
.sign-row img + img { margin-left: -16px; }
.sign-row .sign { margin-left: 16px; }
.sign { font-family: "Bricolage"; font-weight: 700; font-size: 19px; display: grid; }
.sign span { font-family: "Outfit"; font-weight: 400; font-size: 14px; color: var(--muted); }

/* chile chico: sección clara glaciar */
.area { padding: 120px 0; background: #E6F0F1; color: #0B2229; }
.area h2, .area h3 { color: #0B2229; }
.area .deptos-head p, .area .spot p { color: #44606A; }
.area-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spot { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(11, 34, 41, .06), 0 20px 40px rgba(11, 34, 41, .08); }
.spot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spot > div { padding: 20px 22px 24px; }
.spot h3 { font-size: 21px; margin-bottom: 8px; }
.spot p { font-size: 15.5px; }
.recos { margin-top: 56px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; border-top: 1px solid rgba(11, 34, 41, .14); padding-top: 32px; }
.recos h3 { font-size: 22px; }
.reco-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reco { position: relative; display: grid; gap: 4px; padding: 18px 44px 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .65); border: 1px solid rgba(11, 34, 41, .1); text-decoration: none; color: #0B2229; }
.reco span { color: #44606A; font-size: 15px; }
.reco i { position: absolute; right: 16px; top: 18px; color: #1C7FB0; font-size: 20px; transition: transform .3s var(--ease); }
a.reco:hover i { transform: translate(3px, -3px); }
.area ::selection { background: rgba(58, 178, 232, .3); color: #0B2229; }

/* galería y contacto */
.gallery { background: var(--bg); }
.masonry img { border-radius: 16px; }
.contact { background: var(--bg-2); }

/* responsive */
@media (max-width: 1020px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .view-grid, .deptos-head, .day-head, .resto-grid, .recos, .reco-list { grid-template-columns: 1fr; }
  .view-grid { gap: 40px; }
  .dep-grid { grid-template-columns: 1fr; }
  .dep-feature, .dep-wide { grid-template-columns: 1fr; }
  .dep-wide .dep-media { order: 0; }
  .dep-feature .dep-media img, .dep-wide .dep-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .dep-feature .dep-body, .dep-wide .dep-body { padding: 26px 24px 28px; }
  .stay { grid-template-columns: 1fr 1fr; }
  .stay-f:nth-child(2) { border-right: 0; }
  .stay-n { border-right: 0; border-top: 1px solid var(--line); }
  .stay .btn { margin: 8px 0 0; grid-column: 1 / -1; }
  .stay-n { grid-column: 1 / -1; }
  .resto-band { min-height: 70vh; }
  .resto-grid { gap: 48px; padding-bottom: 90px; }
  .plates { grid-template-rows: 150px 150px; gap: 10px; }
}
@media (max-width: 560px) {
  .view, .deptos, .area { padding: 80px 0; }
  .view { padding-bottom: 20px; }
  .view-list { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr 1fr 1fr; }
  .seg span { font-size: 14px; padding: 11px 4px; }
  .rates th, .rates td { padding: 10px 10px; font-size: 14px; }
  .resto-band { padding-bottom: 48px; }
  .day-pin { padding: 72px 0; }
}
@media (max-width: 600px) {
  .stay { margin-top: 24px; background: var(--surface); backdrop-filter: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(10, 28, 34, .25) 0%, transparent 25%, transparent 60%, var(--bg) 100%); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-clip { clip-path: inset(100% 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .dp { transition: none; }
}

/* botón flotante: oculto mientras se ve el hero */
.wa-float { transition: opacity .35s var(--ease), transform .35s var(--ease); }
body.hero-in .wa-float { opacity: 0; transform: scale(.6) translateY(20px); pointer-events: none; }

/* superficies del navegador */
::selection { background: rgba(58, 178, 232, .35); color: #fff; }
html { scrollbar-color: #1F4450 var(--bg); accent-color: var(--accent); caret-color: var(--accent); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1F4450; border-radius: 999px; border: 3px solid var(--bg); }
.sheet-content { scrollbar-color: #1F4450 transparent; }
.fact strong span { font-size: inherit; color: inherit; }
.sp-h-in { margin: 0 0 4px; }

/* hero en celular: video arriba, texto debajo sobre fondo liso */
@media (max-width: 600px) {
  .demo-bar { font-size: 12px; padding: 6px 12px; }
  .nav { height: 64px; gap: 10px; }
  .lang button { padding: 6px 9px; }
  .hero { display: block; min-height: 0; }
  .hero-video { position: relative; height: 50svh; min-height: 290px; object-position: 50% 50%; }
  .hero-shade { inset: auto 0 auto 0; top: 0; height: 50svh; min-height: 290px; }
  .hero-content { position: relative; margin-top: -36px; padding: 0 0 40px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); max-width: none; }
  .hero-sub { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
}
.rates thead th:first-child, .sp-rates thead th:first-child { text-align: left; }
.quote-grid > *, .view-grid > *, .resto-grid > *, .about-grid > *, .contact-grid > * { min-width: 0; }
@media (max-width: 860px) {
  .faq-grid, .contact-grid, .quote-grid, .about-grid { grid-template-columns: 1fr; }
  .quote-grid, .about-grid { gap: 40px; }
  .about-photos { min-height: 340px; }
}

/* contraste (auditoría impeccable) */
.mo { opacity: .62; }
.mo.is-on { opacity: 1; }
.tag { color: #63C6F0; }
.dep-wide .tag { color: #E9AC74; }
p { text-wrap: pretty; }

/* =====================================================================
   v3 · hero ventana, paneles, carta (skills: frontend-design, emil, taste, ui-ux-pro-max)
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

/* hero */
.hero { position: relative; min-height: calc(100dvh - 72px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-stage { position: absolute; inset: 0; overflow: hidden; background: #071418; }
.cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.room { position: absolute; max-width: none; display: none; }
.win { position: absolute; inset: 0; overflow: hidden; }
.win .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-window .room { display: block; }
.hero-window .win { inset: auto; box-shadow: inset 0 0 40px rgba(0, 0, 0, .35); }
.hero h1 { font-size: clamp(40px, 5.2vw, 72px); max-width: 15ch; }
.hero-content { z-index: 2; padding-bottom: 64px; }
.hero-after { position: absolute; z-index: 2; left: 0; right: 0; bottom: 56px; width: min(var(--wrap), 100% - 32px); margin: 0 auto; opacity: 0; pointer-events: none; }
.ha-title { font-family: "Bricolage"; font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.025em; line-height: 1.05; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.ha-sub { margin-top: 10px; font-size: 19px; color: #fff; text-shadow: 0 1px 16px rgba(0, 0, 0, .55); }
.hero-window .hero-shade { background: linear-gradient(180deg, rgba(10, 28, 34, .2) 0%, rgba(10, 28, 34, 0) 30%, rgba(10, 28, 34, .25) 55%, rgba(10, 28, 34, .85) 100%), linear-gradient(90deg, rgba(10, 28, 34, .45), transparent 55%); }

/* comodidades */
.deptos-sub { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 52ch; }
.amen { list-style: none; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.amen li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 500; }
.amen i { color: var(--accent); font-size: 18px; }

/* acordeón de departamentos */
.acc { margin-top: 44px; display: flex; gap: 12px; height: min(640px, 78vh); }
.pan { position: relative; flex: 1 1 0; min-width: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: #071418; transition: flex-grow .7s var(--ease-io); outline-offset: 4px; }
.pan.is-open { flex-grow: 3.3; cursor: default; }
.pan > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease-out), filter .6s ease; filter: saturate(.85) brightness(.8); }
.pan.is-open > img { transform: scale(1); filter: none; }
.pan-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 24, 0) 30%, rgba(7, 20, 24, .55) 62%, rgba(7, 20, 24, .94) 100%); }
.pan-label { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 2px; transition: opacity .25s ease, transform .35s var(--ease-out); }
.pan-label strong { font-family: "Bricolage"; font-size: 21px; line-height: 1.1; }
.pan-label span { color: #CFE2E6; font-size: 14px; }
.pan.is-open .pan-label { opacity: 0; transform: translateY(10px); }
.pan-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 34px; display: grid; gap: 12px; justify-items: start; opacity: 0; transform: translateY(18px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; min-width: 440px; }
.pan.is-open .pan-body { opacity: 1; transform: none; transition: opacity .45s ease .28s, transform .6s var(--ease-out) .28s; pointer-events: auto; }
.pan-body h3 { font-size: clamp(30px, 3vw, 42px); }
.pan-body p { color: #D6E6EA; max-width: 40ch; }
.plan { display: flex; align-items: center; gap: 14px; }
.plan svg { width: 58px; height: 58px; overflow: visible; }
.plan-ghost { fill: none; stroke: rgba(214, 236, 242, .3); stroke-width: 2; stroke-dasharray: 3 4; }
.plan-area { fill: rgba(58, 178, 232, .14); stroke: var(--accent); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pan.is-open .plan-area { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-io) .45s; }
.plan div { display: grid; }
.plan strong { font-family: "Bricolage"; font-size: 22px; }
.plan span { color: #BFD6DB; font-size: 14px; }
.pan-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.pan-foot .price { font-size: 26px; }
.pan-foot .btn { border: 0; cursor: pointer; font-family: "Outfit"; }
.pan-foot .btn i { font-size: 17px; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pan-foot .btn:hover i { transform: translate(2px, -2px); } }
.pan:focus-visible { outline: 2px solid var(--accent); }

/* restaurante: horario y carta */
.resto-info { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.resto-info li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(22, 17, 14, .6); backdrop-filter: blur(8px); border: 1px solid rgba(244, 235, 225, .16); color: #F4EBE1; font-size: 15px; }
.resto-info i { color: var(--wood); font-size: 18px; }
.carta { padding-bottom: 130px; }
.carta-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.carta-title { font-size: clamp(32px, 3.6vw, 48px); color: #F4EBE1; }
.resto .link { color: var(--wood); margin-top: 0; display: inline-flex; gap: 6px; align-items: center; }
.carta-tabs { position: relative; margin-top: 26px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; background: var(--r-surface); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.carta-tabs::-webkit-scrollbar { display: none; }
.carta-tabs button { position: relative; z-index: 1; flex: none; background: none; border: 0; color: #CDBBAA; font: 500 15px "Outfit"; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: color .2s ease, transform 160ms var(--ease-out); white-space: nowrap; }
.carta-tabs button[aria-selected="true"] { color: #1C1009; font-weight: 600; }
.carta-tabs button:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .carta-tabs button:not([aria-selected="true"]):hover { color: #F4EBE1; } }
.tab-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--wood); transition: transform .35s var(--ease-out), width .35s var(--ease-out); }
.carta-panel { margin-top: 34px; min-height: 260px; }
.c-group + .c-group { margin-top: 36px; }
.c-cat { font-family: "Bricolage"; font-size: 20px; color: #F4EBE1; margin-bottom: 16px; display: grid; gap: 2px; }
.c-cat small { font-family: "Outfit"; font-weight: 400; font-size: 14px; color: #B7A595; }
.c-items { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 56px; }
.c-row { display: flex; align-items: baseline; gap: 12px; }
.c-row strong { font-weight: 600; font-size: 17px; color: #F4EBE1; }
.c-row::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(244, 235, 225, .22); transform: translateY(-4px); }
.c-price { order: 2; font-family: "Bricolage"; font-weight: 700; color: var(--wood); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-item p { margin-top: 4px; color: #B7A595; font-size: 15px; line-height: 1.5; max-width: 52ch; }
.carta-note { margin-top: 30px; color: #9E8C7D; }
.resto-grid { padding-bottom: 72px; }

/* contraste del botón pulsado y foco general */
.btn:focus-visible, .carta-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 860px) {
  .acc { height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .acc::-webkit-scrollbar { display: none; }
  .pan { height: 560px; scroll-snap-align: start; cursor: pointer; }
  .pan > img { transform: none; filter: none; }
  .pan-label { display: none; }
  .pan-body { opacity: 1; transform: none; pointer-events: auto; min-width: 0; padding: 24px; }
  .plan-area { stroke-dashoffset: 0; }
  .c-items { grid-template-columns: 1fr; gap: 18px; }
  .hero-after { display: none; }
}
@media (max-width: 600px) {
  .hero-stage { position: relative; height: 50svh; min-height: 290px; }
  .hero { display: block; min-height: 0; }
  .hero-content { margin-top: -36px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .pan, .pan > img, .pan-body, .pan-label, .plan-area, .tab-ink { transition: none !important; }
}
@media (max-width: 600px) {
  .win .hero-video { position: absolute; height: 100%; min-height: 0; }
  .hero-shade { height: 100%; min-height: 0; }
}
.pan-label strong { font-size: 18px; }
@media (min-width: 861px) and (max-width: 1180px) { .pan-body { min-width: 380px; padding: 26px; } }
.pan .tag { background: rgba(7, 20, 24, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 860px) { .pan-shade { background: linear-gradient(180deg, rgba(7, 20, 24, 0) 12%, rgba(7, 20, 24, .7) 45%, rgba(7, 20, 24, .96) 100%); } }
.hero-window .hero-shade { background: linear-gradient(180deg, rgba(10, 28, 34, .25) 0%, rgba(10, 28, 34, .05) 28%, rgba(10, 28, 34, .45) 55%, rgba(10, 28, 34, .9) 100%), linear-gradient(90deg, rgba(10, 28, 34, .7), rgba(10, 28, 34, .2) 50%, transparent 70%); }
