/* Mar de Sal — azul profundo, arena y coral. Cormorant Garamond (itálica) + Barlow. */
:root {
  --accent: #c86b4a; --deep: #0d2a33; --sea: #1d4e5f; --sand: #f3ebe0; --ink: #102a31; --muted: #5c7076; --bg: #faf6f0; --card: #fff;
  --line: #e4dccf; --radius: 10px; --btn-radius: 2px; --soft: #f7ece4;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1; margin: 0 0 .4em; }
h1 { font-size: clamp(3.6rem, 10vw, 9rem); font-weight: 400; letter-spacing: -.02em; }
h1 em, h2 em, .intro__big em { font-style: italic; color: #e8c39e; }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 400; }
h2 em { color: var(--accent); }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1em 2em; background: var(--accent); color: #fff; border: 1px solid var(--accent); font: 600 .85rem var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s; border-radius: 2px; }
.btn:hover { background: #b05637; }
.btn--line { background: transparent; border-color: rgb(255 255 255 / .6); }
.btn--line:hover { background: #fff; color: var(--deep); }
.btn--sm { padding: .75em 1.3em; font-size: .74rem; }
.eyebrow { font: 600 .76rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.card { background: #fff; padding: clamp(22px, 3vw, 36px); border-radius: 4px; }

.site-head { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .35s; }
.is-scrolled .site-head, .nav-open .site-head { background: var(--deep); }
.site-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: rgb(255 255 255 / .85); text-decoration: none; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; }
.site-nav a:hover { color: #e8c39e; }
.logo { text-align: center; color: #fff; text-decoration: none; }
.logo span { display: block; font: italic 500 2rem/1 var(--serif); }
.logo small { font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.head__act { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.bag-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.bag-btn b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--accent); font-size: .7rem; display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.bag-btn b.is-on { transform: scale(1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); } .nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--deep); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: hz 26s ease-out both; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(13 42 51 / .55), rgb(13 42 51 / .1) 40%, rgb(13 42 51 / .85)); }
@keyframes hz { from { transform: scale(1.12); } }
.hero__in { position: relative; padding: 0 0 90px; }
.hero .eyebrow { color: #e8c39e; }
.lead { font-size: 1.2rem; max-width: 44ch; color: rgb(255 255 255 / .85); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__hours { position: absolute; right: max(20px, calc((100vw - 1240px) / 2)); bottom: 90px; display: flex; flex-direction: column; gap: 2px; padding: 20px 24px; border: 1px solid rgb(255 255 255 / .3); backdrop-filter: blur(8px); font-size: .92rem; }
.hero__hours span { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #e8c39e; }

.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--deep { background: var(--deep); color: #cfdde1; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--sand { background: var(--sand); }
.sec-head { max-width: 720px; margin-bottom: 50px; }
.sec-head--c { text-align: center; margin-inline: auto; }
.sec-head p:last-child { color: var(--muted); }
.section--deep .sec-head p:last-child { color: #9fb6bc; }
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.intro__big { font: 400 clamp(1.9rem, 3.4vw, 3rem)/1.2 var(--serif); margin: 0; }
.intro__big em { color: var(--accent); }
.intro__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro__imgs > div:last-child { margin-top: 60px; }
.intro__imgs img { aspect-ratio: 5 / 6; object-fit: cover; width: 100%; }

.menu__tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid rgb(255 255 255 / .15); margin-bottom: 36px; }
.menu__tabs button { padding: 14px 20px; border: 0; background: none; color: #9fb6bc; font: italic 500 1.5rem var(--serif); cursor: pointer; position: relative; }
.menu__tabs button.is-on { color: #fff; }
.menu__tabs button.is-on::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: var(--accent); }
.menu__pane { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 60px; animation: vsd-in .4s; }
.menu__pane[hidden] { display: none; }
@keyframes vsd-in { from { opacity: 0; transform: translateY(8px); } }
.dish { padding: 18px 0; border-bottom: 1px dashed rgb(255 255 255 / .14); }
.dish__head { display: flex; align-items: baseline; gap: 10px; }
.dish h3 { font-size: 1.6rem; margin: 0; }
.dish__dots { flex: 1; border-bottom: 1px dotted rgb(255 255 255 / .3); transform: translateY(-5px); }
.dish__price { font: 500 1.15rem var(--sans); color: #e8c39e; }
.dish p { margin: 6px 0 10px; color: #9fb6bc; font-size: .96rem; }
.dtag { display: inline-block; font-size: .7rem; padding: 1px 8px; border: 1px solid rgb(232 195 158 / .5); color: #e8c39e; border-radius: 99px; letter-spacing: .04em; }
.dish__add { border: 0; background: none; padding: 0; color: #e8c39e; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.dish__add:hover, .dish__add.is-added { color: #fff; }
#booking { --soft: #f7ece4; --radius: 6px; }
#booking .vsd-bk__h { font: 500 2rem var(--serif); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery > div:nth-child(even) img { aspect-ratio: 4 / 5; }
.retiro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.retiro p { color: var(--muted); }
.lookup { display: flex; gap: 10px; margin-top: 14px; }
.lookup input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); font: 600 1rem ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.eventos { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.eventos__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.eventos .vsd-form { --card: #133843; --ink: #fff; --line: rgb(255 255 255 / .2); --muted: #9fb6bc; margin-top: 24px; }
.eventos .vsd-done--inline { --soft: #133843; color: #fff; }
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.visit p { color: var(--muted); }
.visit__dl { display: grid; gap: 10px; margin: 24px 0 0; }
.visit__dl div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.visit__dl dt { font-weight: 600; } .visit__dl dd { margin: 0; color: var(--muted); }
.visit__map svg { width: 100%; height: auto; display: block; }

.order { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.order__bg { position: absolute; inset: 0; background: rgb(13 42 51 / .5); opacity: 0; transition: opacity .3s; }
.order__panel { position: absolute; right: 0; top: 0; bottom: 0; z-index: 1; width: min(460px, 100%); background: var(--bg); transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.order.is-open { pointer-events: auto; }
.order.is-open .order__bg { opacity: 1; }
.order.is-open .order__panel { transform: none; }
.order header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.order h2 { font-size: 2.2rem; margin: 0; }
.order__x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); font-size: 1.4rem; cursor: pointer; }
.order__body { padding: 20px 24px 40px; overflow: auto; flex: 1; }
.order__empty { text-align: center; color: var(--muted); padding: 50px 0; }
.order__items { list-style: none; padding: 0; margin: 0; }
.order__items li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.q { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.q button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.order__total { display: flex; justify-content: space-between; font-size: 1.2rem; margin: 16px 0 20px; }
.order .vsd-form { --soft: #f7ece4; }

.site-foot { background: var(--deep); color: #9fb6bc; padding: 90px 0 0; text-align: center; }
.site-foot .foot__logo { font: italic 400 clamp(3.4rem, 10vw, 8rem)/1 var(--serif); color: #fff; margin: 0 0 50px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.site-foot h4 { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #e8c39e; margin: 0 0 10px; }
.site-foot p { margin: 0; font-size: .95rem; }
.site-foot a { color: #e8c39e; }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 22px 0 90px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .8rem; text-align: left; }

@media (max-width: 1000px) {
  .site-head .wrap { grid-template-columns: auto 1fr; }
  .logo { text-align: left; }
  .site-nav { position: fixed; inset: 80px 0 auto; flex-direction: column; gap: 0; padding: 10px 20px 24px; background: var(--deep); transform: translateY(-140%); transition: transform .35s; z-index: -1; }
  .nav-open .site-nav { transform: none; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .burger { display: block; }
  .head__act .btn { padding: .6em .9em; font-size: .66rem; letter-spacing: .1em; }
  .intro__grid, .retiro, .eventos, .visit { grid-template-columns: 1fr; }
  .menu__pane { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero__hours { display: none; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .logo span { font-size: 1.6rem; }
  .logo small { display: none; }
  .menu__tabs button { font-size: 1.2rem; padding: 10px 12px; }
  .lookup { flex-direction: column; }
  .foot__cols { grid-template-columns: 1fr; }
}

/* menú móvil cerrado: fuera del flujo y de la vista */
@media (max-width: 1000px) { .site-nav { visibility: hidden; transition: transform .35s, visibility .35s; } .nav-open .site-nav { visibility: visible; } }

/* buscador de mesa en el hero */
.quickres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 1px; margin-top: 30px; max-width: 760px; background: rgb(255 255 255 / .25); border: 1px solid rgb(255 255 255 / .25); backdrop-filter: blur(10px); }
.quickres label { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: rgb(13 42 51 / .55); }
.quickres span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: #e8c39e; }
.quickres select, .quickres input { border: 0; background: none; color: #fff; font: 500 1rem var(--sans); padding: 2px 0; color-scheme: dark; outline: none; }
.quickres select option { color: #000; }
.quickres .btn { border-radius: 0; }
.hero__menu-link { display: inline-block; margin-top: 16px; color: #e8c39e; font-size: .9rem; letter-spacing: .1em; text-decoration: none; }
@media (max-width: 700px) { .quickres { grid-template-columns: 1fr 1fr; } .quickres label:nth-child(3) { grid-column: 1 / -1; } .quickres .btn { grid-column: 1 / -1; } }
