/* ==========================================================================
   Sistema visual del sitio. Mobile-first. Cambiar SOLO los tokens de :root
   con la paleta y tipografías de la marca; el resto se adapta.
   ========================================================================== */
:root {
  /* Küar: negro, cobre (lenga y fogón) como acento. Sitio oscuro. */
  color-scheme: dark;
  --c-primary: #d99a5b;        /* cobre: botones, links (7.9:1 sobre el fondo) */
  --c-primary-ink: #1a120b;    /* texto sobre el cobre (8:1) */
  --c-accent: #8fb7c9;         /* azul del Canal Beagle: foco y detalles */
  --c-ink: #f2f2f2;            /* texto principal (15:1) */
  --c-muted: #b4b4b4;          /* texto secundario (8.4:1) */
  --c-bg: #0a0a0a;             /* fondo */
  --c-alt: #151515;            /* fondo de secciones alternas */
  --c-line: #2c2c2c;           /* bordes */
  --c-dark: #000000;           /* bandas oscuras / footer */
  --c-dark-ink: #f2f2f2;

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Fraunces", Georgia, serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px rgb(0 0 0 / .35);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 9vw, 112px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1rem/1.65 var(--f-body); color: var(--c-ink); background: var(--c-bg); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3, .h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-primary); color: var(--c-primary-ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.container.narrow { width: min(100% - 2 * var(--gutter), 760px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-ink); color: var(--c-bg); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.muted { color: var(--c-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--c-primary); margin-bottom: .75rem; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: .2em .65em; border-radius: 99px; background: color-mix(in srgb, var(--c-accent) 18%, transparent); color: var(--c-ink); margin-bottom: .6rem; }

/* Botones */
.btn { --b: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 99px; border: 2px solid var(--b); background: var(--b); color: var(--c-primary-ink); font: 600 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: currentColor; }
.btn--light { --b: var(--c-ink); color: var(--c-primary-ink); }
.btn--lg { min-height: 54px; padding-inline: 1.7em; font-size: 1.05rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand__logo { height: 44px; width: auto; }
.nav { display: none; }
.nav__list, .lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list a { display: block; padding: .55em .8em; color: var(--c-ink); text-decoration: none; font-weight: 500; border-radius: var(--radius-sm); }
.nav__list a:hover, .nav__list a[aria-current] { background: var(--c-alt); }
.lang-switch a { display: block; padding: .4em .5em; font-size: .82rem; font-weight: 600; color: var(--c-muted); text-decoration: none; }
.lang-switch a[aria-current] { color: var(--c-ink); text-decoration: underline; }
.nav-toggle { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px; content: ""; transition: transform .2s; position: relative; }
.nav-toggle__bar::before { position: absolute; top: -7px; } .nav-toggle__bar::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
.nav.is-open { display: flex; flex-direction: column; gap: 12px; position: fixed; inset: var(--header-h) 0 0; background: var(--c-bg); padding: 24px var(--gutter); overflow-y: auto; }
.nav.is-open .nav__list { flex-direction: column; }
.nav.is-open .nav__list a { font-size: 1.2rem; padding: .7em .4em; border-bottom: 1px solid var(--c-line); border-radius: 0; }
@media (min-width: 960px) {
  .nav, .nav.is-open { display: flex; position: static; flex-direction: row; align-items: center; gap: 12px; padding: 0; background: none; }
  .nav.is-open .nav__list { flex-direction: row; }
  .nav.is-open .nav__list a { font-size: 1rem; padding: .55em .8em; border: 0; border-radius: var(--radius-sm); }
  .nav-toggle { display: none; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; isolation: isolate; background: var(--c-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .15), rgb(0 0 0 / .65)); }
.hero__in { padding-block: clamp(96px, 16vh, 160px) clamp(48px, 9vh, 96px); }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero__title { max-width: 16ch; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 56ch; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.hero .btn--ghost { color: #fff; }

/* Secciones */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .5) var(--section); }
.section--alt { background: var(--c-alt); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section__lead { font-size: 1.12rem; color: var(--c-muted); }
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 32px); }
.page-hero .section__lead { max-width: 60ch; }
.page-cover img { border-radius: var(--radius); width: 100%; }
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Tarjetas */
.card { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { display: block; aspect-ratio: 4/3; background: var(--c-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c-alt), var(--c-line)); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { margin-bottom: .4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__text { color: var(--c-muted); flex: 1; }
.card__meta { font-size: .85rem; color: var(--c-muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-bg); }
.faq__item summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.4rem; color: var(--c-primary); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 20px 18px; margin: 0; color: var(--c-muted); }

/* CTA */
.cta-band { background: var(--c-primary); color: var(--c-primary-ink); text-align: center; }
.cta-band__in { max-width: 720px; }
.cta-band p { font-size: 1.15rem; opacity: .95; }

/* Formularios */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-weight: 500; }
.field input, .field textarea, .field select, .search input { width: 100%; font: inherit; padding: .8em 1em; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-bg); color: var(--c-ink); }
.field input:focus, .field textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 20%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c62828; }
.field__err { color: #c62828; font-size: .85rem; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--c-muted); }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--c-primary); }
.hp { position: absolute; left: -9999px; }
.form__status:empty { display: none; }
.form__status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--c-alt); }
.form__status.is-ok { background: #e7f6ec; color: #135c2b; }
.form__status.is-err { background: #fdecec; color: #8a1c1c; }
.search { display: flex; gap: 8px; max-width: 520px; margin-top: 1rem; }

.contact-info { background: var(--c-alt); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 12px; }
.map { margin-top: 1rem; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Blog */
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-block; padding: .4em .9em; border: 1px solid var(--c-line); border-radius: 99px; text-decoration: none; color: var(--c-ink); font-size: .9rem; }
.chips a[aria-current] { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.chips--small span { font-size: .8rem; color: var(--c-muted); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: var(--radius-sm); text-decoration: none; color: var(--c-ink); }
.pager a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-ink); }
.empty { text-align: center; color: var(--c-muted); padding: 48px 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; }
.post__meta { color: var(--c-muted); font-size: .95rem; }
.post__cover img { border-radius: var(--radius); width: 100%; }
.tldr { border-left: 4px solid var(--c-primary); background: var(--c-alt); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; }
.tldr strong { display: block; margin-bottom: .3em; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; color: var(--c-primary); }
.tldr p { margin: 0; font-size: 1.05rem; }
.toc { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px 22px; margin-bottom: 28px; }
.toc ol { margin: .5em 0 0; padding-left: 1.2em; }
.post__faq { margin-top: 48px; }
.share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: .95rem; }
.author { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--c-alt); border-radius: var(--radius); }
.author__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.preview-note { background: #fff3cd; color: #664d03; text-align: center; padding: 10px; font-size: .9rem; }

/* Contenido enriquecido */
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .88rem; color: var(--c-muted); text-align: center; }
.prose blockquote { margin: 1.5em 0; padding: .5em 0 .5em 1.2em; border-left: 3px solid var(--c-accent); font-size: 1.12rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: .6em .8em; text-align: left; }
.prose th { background: var(--c-alt); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-sm); margin: 1.5em 0; }

/* Footer */
.site-footer { background: var(--c-dark); color: var(--c-dark-ink); padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; }
.site-footer a { color: inherit; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__logo { height: 44px; width: auto; margin-bottom: 1rem; }
.site-footer__title { font-family: var(--f-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.site-footer__links, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1rem; }
.nap { font-style: normal; display: grid; gap: 6px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 20px 96px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .82rem; opacity: .85; }
.site-footer__legal p { margin: 0; }
@media (min-width: 800px) { .site-footer__legal { padding-bottom: 24px; } }

/* WhatsApp, cookies, editor */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; background: var(--c-bg); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; font-size: .92rem; }
.consent p { margin-bottom: 12px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.edit-fab { position: fixed; left: 18px; bottom: 18px; z-index: 40; background: var(--c-ink); color: var(--c-bg); padding: 10px 16px; border-radius: 99px; text-decoration: none; font-size: .9rem; box-shadow: var(--shadow); }
.notfound { text-align: center; }
.notfound .hero__actions { justify-content: center; }

/* ==========================================================================
   Küar: secciones propias
   ========================================================================== */
body { background: var(--c-bg); }
h1, h2, h3 { font-weight: 500; font-variation-settings: "SOFT" 60, "WONK" 1; }
h1 em, h2 em { font-style: italic; color: var(--c-primary); }
.brand__logo { height: 52px; }
.site-footer__logo { height: 64px; }
.eyebrow { letter-spacing: .2em; }
.field input[type="date"], .field input[type="time"], .field select { min-height: 50px; }

/* Header sobre el hero en la home */
.page-home .site-header { position: fixed; inset: 0 0 auto; background: linear-gradient(180deg, rgb(0 0 0 / .7), rgb(0 0 0 / 0)); border-bottom-color: transparent; backdrop-filter: none; transition: background .3s, border-color .3s; }
.page-home .site-header.is-scrolled { background: color-mix(in srgb, var(--c-bg) 94%, transparent); border-bottom-color: var(--c-line); backdrop-filter: saturate(1.4) blur(10px); }
.is-editing.page-home .site-header { position: sticky; background: var(--c-bg); }
.nav__list a:hover, .nav__list a[aria-current] { background: rgb(255 255 255 / .08); }

/* Header: la carta como acción principal, la reserva más tranquila */
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.nav__cta { min-height: 44px; padding: .6em 1.2em; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 22%, transparent); }
.nav__cta[aria-current] { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 40%, transparent); }
.nav__cta svg { flex: none; }
.nav__reserve { color: var(--c-ink); font-size: .92rem; font-weight: 500; text-decoration: none; padding: .45em .95em; border: 1px solid rgb(255 255 255 / .28); border-radius: 99px; }
.nav__reserve:hover { border-color: var(--c-ink); }
@media (max-width: 959px) {
  .nav__cta { padding: .55em 1em; font-size: .92rem; min-height: 40px; }
  .nav.is-open .nav__reserve { align-self: flex-start; font-size: 1.05rem; padding: .6em 1.2em; }
}
@media (min-width: 960px) { .site-header__in .nav { margin-left: auto; margin-right: 10px; } }

/* Hero */
.hero--kuar { min-height: min(100svh, 860px); align-items: start; }
.hero--kuar .hero__in { padding-block: calc(var(--header-h) + clamp(20px, 5vh, 48px)) clamp(40px, 7vh, 72px); }
.hero--kuar::after { background: linear-gradient(90deg, rgb(0 0 0 / .7) 0%, rgb(0 0 0 / .2) 60%, rgb(0 0 0 / 0) 100%), linear-gradient(180deg, rgb(0 0 0 / .35) 0%, rgb(0 0 0 / .1) 35%, rgb(0 0 0 / .85) 100%); }
@media (max-width: 700px) { .hero--kuar::after { background: linear-gradient(180deg, rgb(0 0 0 / .5) 0%, rgb(0 0 0 / .55) 40%, rgb(0 0 0 / .92) 100%); } .hero--kuar .hero__bg { object-position: 30% center; } }
.hero--kuar .hero__title { max-width: 14ch; font-size: clamp(2.6rem, 7.5vw, 5.4rem); line-height: 1.02; }
.hero--kuar .hero__lead { color: #ececec; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .2); font-size: .92rem; color: #e6dccf; }
.hero__meta span::before { content: "◆"; color: var(--c-primary); margin-right: .5em; font-size: .7em; vertical-align: .15em; }
.btn--wa { --b: var(--c-primary); }
.btn--wa svg { width: 20px; height: 20px; }
.hero .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .7); }
.hero .btn--ghost:hover { background: rgb(255 255 255 / .1); }

/* Pilares */
.pillars-wrap { border-bottom: 1px solid var(--c-line); }
.pillars { display: grid; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillar + .pillar { border-left: 1px solid var(--c-line); padding-left: clamp(20px, 3vw, 36px); } }
@media (max-width: 799px) { .pillar + .pillar { border-top: 1px solid var(--c-line); } }
.pillar { padding: clamp(24px, 4vw, 44px) clamp(0px, 3vw, 36px) clamp(24px, 4vw, 44px) 0; }
.pillar__n { font-family: var(--f-head); font-style: italic; color: var(--c-primary); font-size: 1.1rem; }
.pillar h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: .4em 0 .35em; }
.pillar p { color: var(--c-muted); margin: 0; }

/* Platos destacados: carrusel horizontal con scroll-snap */
.dishes { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; scrollbar-color: var(--c-line) transparent; }
@media (min-width: 1240px) { .dishes { margin-inline: 0; padding-inline: 0; } }
.dish { color: var(--c-ink); text-decoration: none; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-alt); aspect-ratio: 4/5; isolation: isolate; }
.dish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.dish:hover img { transform: scale(1.05); }
.dish::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / .92)); }
.dish__body { position: absolute; inset: auto 0 0; padding: 20px 22px; }
.dish__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--c-primary); }
.dish__name { font-size: 1.35rem; margin: .25em 0 .2em; }
.dish__price { display: inline-block; font-family: var(--f-head); color: var(--c-primary); font-size: 1.05rem; margin-bottom: .35em; }
.dish__desc { font-size: .9rem; color: #d4d4d4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dishes-nav { display: none; gap: 8px; }
@media (min-width: 800px) { .dishes-nav { display: flex; } }
.dishes-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line); background: transparent; color: var(--c-ink); font-size: 1.2rem; cursor: pointer; }
.dishes-nav button:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* El lugar */
.place { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .place { grid-template-columns: 1.15fr 1fr; } }
.place__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5/4; }
.place__media > div { border-radius: var(--radius); overflow: hidden; }
.place__media > div:first-child { grid-row: span 2; }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: baseline; }
.facts li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--c-primary); transform: translateY(-.3em); }

/* Recorrido 360 */
.tour { background: var(--c-dark); }
.tour__frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--c-alt); border: 1px solid var(--c-line); }
@media (max-width: 640px) { .tour__frame { aspect-ratio: 4/5; } }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; isolation: isolate; }
.tour__placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.85); }
.tour__placeholder::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(0 0 0 / .55); }
.tour__badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; border: 1.5px solid rgb(255 255 255 / .7); font: 600 1.15rem/1 var(--f-body); color: #fff; letter-spacing: .02em; }
.tour__placeholder p { color: #ececec; max-width: 42ch; margin: 0 auto; }
.tour__frame { aspect-ratio: auto; height: clamp(420px, 62vw, 640px); }
@media (max-width: 640px) { .tour__frame { height: min(72svh, 560px); } }
.tour__frame.is-live .tour__placeholder { display: none; }
.tour__placeholder .btn { margin-top: 4px; }
.tour__tip { font-size: .88rem; margin-top: 14px !important; opacity: .85; }
.tour__open { margin: 14px 0 0; text-align: right; font-size: .92rem; }
.tour__hint { margin-top: 12px; font-size: .9rem; }
.tour__hint a { color: #fff; background: rgb(0 0 0 / .5); padding: .4em .8em; border-radius: 99px; }

/* Galería */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.gallery__item { border-radius: var(--radius-sm); overflow: hidden; position: relative; padding: 0; border: 0; background: var(--c-alt); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 92vh; }
.lightbox::backdrop { background: rgb(0 0 0 / .92); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox__close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; font-size: 1.5rem; cursor: pointer; }
.lightbox__cap { text-align: center; color: #d4d4d4; font-size: .9rem; margin-top: 10px; }

/* Bar y vinos */
.bar-band { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .bar-band { grid-template-columns: 1fr 1.1fr; } }
.bar-band__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; max-height: 640px; }
.bar-band__media img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 1.6rem 0; }
.stat strong { display: block; font: 500 clamp(2rem, 4vw, 2.8rem)/1 var(--f-head); color: var(--c-primary); }
.stat span { font-size: .9rem; color: var(--c-muted); }

/* Experiencias */
.xp { display: grid; gap: 18px; }
@media (min-width: 800px) { .xp { grid-template-columns: repeat(3, 1fr); } }
.xp__card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px 26px; background: linear-gradient(160deg, var(--c-alt), var(--c-bg)); }
.xp__card h3 { font-size: 1.4rem; }
.xp__card p { color: var(--c-muted); }
.xp__price { font-family: var(--f-head); color: var(--c-primary); font-size: 1.2rem; }

/* Reserva por WhatsApp */
.reserve { position: relative; isolation: isolate; overflow: hidden; }
.reserve__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.reserve::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .94) 0%, rgb(0 0 0 / .8) 55%, rgb(0 0 0 / .55) 100%); }
/* Mobile: título → formulario → datos de contacto. Desktop: texto y datos a la izquierda, formulario a la derecha. */
.reserve__in { display: grid; gap: 28px; grid-template-areas: "head" "form" "visit"; grid-template-columns: minmax(0, 1fr); }
.reserve__head { grid-area: head; }
.reserve__head p:last-child { margin-bottom: 0; }
.reserve__form { grid-area: form; }
.reserve__visit { grid-area: visit; }
@media (min-width: 960px) {
  .reserve__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head form" "visit form"; column-gap: clamp(40px, 6vw, 88px); row-gap: 0; align-items: start; }
  .reserve__head { align-self: end; }
}
.reserve__form { background: rgb(10 10 10 / .9); border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); backdrop-filter: blur(6px); gap: 18px; min-width: 0; }
.reserve__form-title { font-size: 1.3rem; margin: 0; }
.reserve__form .btn { width: 100%; }
.rsv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.field input[type="date"], .field input[type="time"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; line-height: 1.3; padding-inline: .7em .5em; font-size: .95rem; }
@media (max-width: 640px) { .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; } }
.field input::-webkit-calendar-picker-indicator { filter: invert(.85); cursor: pointer; }
.rsv-people { border: 0; padding: 0; margin: 0; min-width: 0; }
.rsv-people legend { font-weight: 500; padding: 0; margin-bottom: 6px; }
.rsv-people__opts { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 380px) { .rsv-people__opts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rsv-people__opts label { position: relative; }
.rsv-people__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rsv-people__opts span { display: grid; place-items: center; height: 46px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.rsv-people__opts input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-ink); }
.rsv-people__opts input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.reserve__note { font-size: .85rem; color: var(--c-muted); margin: 0; text-align: center; }
.visit { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 960px) { .visit { margin-top: 1.6rem; } }
.visit li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.visit svg { width: 20px; height: 20px; color: var(--c-primary); margin-top: 3px; }
.visit a { color: var(--c-ink); }

/* Carta (página) */
.menu-hero { position: relative; isolation: isolate; padding-block: clamp(120px, 18vw, 200px) clamp(40px, 6vw, 64px); overflow: hidden; }
.menu-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.menu-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .55), rgb(10 10 10) 100%); }
.page-menu .site-header { position: fixed; inset: 0 0 auto; background: linear-gradient(180deg, rgb(0 0 0 / .7), rgb(0 0 0 / 0)); border-bottom-color: transparent; backdrop-filter: none; }
.page-menu .site-header.is-scrolled { background: color-mix(in srgb, var(--c-bg) 94%, transparent); border-bottom-color: var(--c-line); backdrop-filter: blur(10px); }
.menu-tabs { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--c-bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.menu-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; }
.menu-kinds { gap: 4px; padding-top: 10px !important; }
.menu-kinds li { flex: 1; }
@media (min-width: 720px) { .menu-kinds li { flex: 0 0 auto; } }
.menu-kinds a { display: block; text-align: center; padding: .55em 1.4em; border-radius: var(--radius-sm); color: var(--c-muted); text-decoration: none; font: 600 .95rem/1.2 var(--f-body); letter-spacing: .02em; border: 1px solid transparent; }
.menu-kinds a:hover { color: var(--c-ink); }
.menu-kinds a.is-active { color: var(--c-primary-ink); background: var(--c-primary); }
.menu-chips { position: relative; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 !important; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.menu-chips::-webkit-scrollbar { display: none; }
.menu-chips li[hidden] { display: none; }
.menu-chips a { display: block; white-space: nowrap; padding: .4em .95em; border-radius: 99px; border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-size: .88rem; }
.menu-chips a:hover, .menu-chips a.is-active { border-color: var(--c-primary); color: var(--c-primary); }
.menu-cat { scroll-margin-top: calc(var(--header-h) + 120px) !important; }
.menu-kind { scroll-margin-top: calc(var(--header-h) + 110px); }
.menu-kind { padding-top: clamp(40px, 6vw, 72px); }
.menu-kind > h2 { font-size: clamp(2rem, 5vw, 3.2rem); border-bottom: 1px solid var(--c-line); padding-bottom: .3em; }
.menu-cat { margin-top: clamp(32px, 5vw, 56px); scroll-margin-top: calc(var(--header-h) + 70px); }
.menu-cat h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .2em; }
.menu-cat__note { color: var(--c-muted); font-style: italic; margin-bottom: 1.2rem; max-width: 70ch; }
.menu-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.mitem { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.mitem:hover { border-color: var(--c-line); background: var(--c-alt); }
.mitem--noimg { grid-template-columns: 1fr; }
.mitem__img { width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-alt); cursor: zoom-in; padding: 0; border: 0; }
.mitem__img img { width: 100%; height: 100%; object-fit: cover; }
.mitem__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mitem__name { font: 600 1.02rem/1.3 var(--f-body); margin: 0; }
.mitem__price { font-family: var(--f-head); color: var(--c-primary); white-space: nowrap; font-size: 1.05rem; }
.mitem__desc { color: var(--c-muted); font-size: .9rem; margin: .25em 0 0; line-height: 1.5; }
.mitem__tags { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-accent); }
.menu-note { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px 22px; color: var(--c-muted); font-size: .92rem; margin-top: clamp(40px, 6vw, 72px); }

/* Retoques de UX/UI y responsive */
.place > *, .bar-band > *, .split > *, .reserve__in > *, .section__head--row > * { min-width: 0; }
.section__head--row { align-items: end; }
.btn { -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost:hover { background: rgb(255 255 255 / .06); }
.hero__title { text-wrap: balance; }
@media (max-width: 640px) {
  .hero--kuar { min-height: 100svh; }
  .hero--kuar { align-items: center; }
  .hero--kuar .hero__in { text-align: center; padding-block: calc(var(--header-h) + 16px) 40px; }
  .hero--kuar .hero__title, .hero--kuar .hero__lead { margin-inline: auto; }
  .hero--kuar .hero__meta { justify-content: center; }
  .hero--kuar .hero__title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero--kuar .hero__lead { font-size: 1.02rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 6px 16px; font-size: .85rem; margin-top: 22px; padding-top: 16px; }
  .section__lead { font-size: 1.02rem; }
  .place__media { aspect-ratio: 4/3.4; gap: 8px; }
  .bar-band__media { aspect-ratio: 4/3.6; }
  .stats { gap: 20px; }
  .xp__card { padding: 22px 20px; }
  .gallery { grid-auto-rows: 132px; gap: 8px; }
  .mitem { grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; }
  .mitem__img { width: 76px; height: 76px; }
  .mitem.mitem--noimg { grid-template-columns: minmax(0, 1fr); }
  .mitem__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
  .mitem__desc.is-clamped::after { content: ""; }
  .mitem:hover { background: none; border-color: transparent; }
  .menu-kind > h2 { font-size: 1.9rem; }
  .tour__open { text-align: left; }
  #platos .btn--lg, .bar-band .btn { width: 100%; }
}
@media (max-width: 959px) {
  .nav.is-open { padding-top: 32px; }
  .nav.is-open .lang-switch { margin-top: 8px; }
  .nav.is-open .lang-switch a { font-size: 1rem; padding: .5em .8em; border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .wa-float, .consent, .share { display: none !important; } }

/* ---------- Bienvenida: idioma con banderas + Küar / Küar 1900 ---------- */
.has-splash { overflow: hidden; }
.splash { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; background: radial-gradient(120% 90% at 50% 0%, #1d1d1d 0%, #000000 70%); color: var(--c-ink); display: grid; place-items: center; padding: 28px 16px; animation: splash-in .35s ease both; }
.splash[hidden] { display: none; }
@keyframes splash-in { from { opacity: 0; } }
.splash__in { width: 100%; max-width: 980px; text-align: center; }
.splash__label { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 14px; }
.splash__langs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(26px, 5vw, 44px); }
.splash__lang { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1.5px solid var(--c-line); background: rgb(255 255 255 / .04); color: var(--c-ink); font: 600 .95rem/1 var(--f-body); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.splash__lang:hover { transform: translateY(-1px); border-color: var(--c-muted); }
.splash__lang[aria-pressed="true"] { border-color: var(--c-primary); background: rgb(217 154 91 / .14); }
.splash__lang:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.flag { width: 30px; height: 19px; border-radius: 3px; box-shadow: 0 0 0 1px rgb(255 255 255 / .25); flex: none; }
.splash__title { font: 600 clamp(1.6rem, 4.2vw, 2.5rem)/1.15 var(--f-head); margin: 0 0 clamp(18px, 3vw, 28px); }
.splash__brands { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.4vw, 22px); }
.splash__brand { position: relative; display: block; min-height: clamp(260px, 42vh, 380px); border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); border: 1px solid rgb(255 255 255 / .1); transition: transform .3s ease, box-shadow .3s; }
.splash__brand:hover { transform: translateY(-3px); }
.splash__brand:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 4px; }
.splash__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.splash__brand:hover .splash__bg { transform: scale(1.05); }
.splash__brand::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .25) 0%, rgb(0 0 0 / .88) 78%); }
.splash__brand--1900::after { background: linear-gradient(180deg, rgb(0 41 41 / .3) 0%, rgb(0 26 26 / .92) 78%); }
.splash__body { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.splash__logo { height: 72px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 10px rgb(0 0 0 / .5)); }
.splash__logo--1900 { height: 60px; }
.splash__desc { font-size: .95rem; color: rgb(255 255 255 / .85); max-width: 32ch; }
.splash__cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--c-primary); color: var(--c-primary-ink); font-weight: 700; font-size: .98rem; }
.splash__brand--1900 .splash__cta { background: #fbad17; color: #002929; }
@media (max-width: 640px) {
  .splash { place-items: start center; }
  .splash__brands { grid-template-columns: 1fr; }
  .splash__brand { min-height: 210px; }
  .splash__logo { height: 56px; }
  .splash__logo--1900 { height: 46px; }
  .splash__lang { padding: 9px 14px 9px 10px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .splash, .splash__brand, .splash__bg { animation: none; transition: none; } }

/* ---------- Vinos: aviso para consultar la carta de vinos ---------- */
.wine-cta { max-width: 640px; margin: 8px auto 24px; padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 40px); text-align: center; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-alt); }
.wine-cta__icon { color: var(--c-primary); margin-bottom: 10px; }
.wine-cta h3 { font: 600 clamp(1.4rem, 3vw, 1.8rem)/1.2 var(--f-head); margin: 0 0 10px; }
.wine-cta p { color: var(--c-muted); margin: 0 auto 22px; max-width: 46ch; }
