/* Bar Parada — web pública y carta del QR. Blanco y negro. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-garamond.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-garamond-italic.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/jost.woff2) format('woff2'); }

:root {
  --black: #0d0d0d;
  --ink: #161616;
  --grey: #6b6b6b;
  --line: #dcdcdc;
  --paper: #ffffff;
  --paper-2: #f5f4f2;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--black); color: var(--paper); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--grey); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(38px, 5.4vw, 64px); }
h3 { font-size: 28px; }
p { margin: 0 0 1.1em; }
.lead { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 27px); line-height: 1.45; color: var(--ink); }
.rule { width: 56px; height: 1px; background: currentColor; margin: 28px 0; border: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; font: 500 12.5px/1 var(--sans);
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--black); color: var(--paper); border-color: var(--black); }
.btn.solid { background: var(--black); color: var(--paper); border-color: var(--black); }
.btn.solid:hover { background: transparent; color: var(--black); }
.btn.light { color: var(--paper); }
.btn.light:hover { background: var(--paper); color: var(--black); border-color: var(--paper); }
.btn.light.solid { background: var(--paper); color: var(--black); border-color: var(--paper); }
.btn.light.solid:hover { background: transparent; color: var(--paper); }
.btn[disabled] { opacity: .35; cursor: not-allowed; pointer-events: none; }

/* ── Header ── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--paper); transition: background .3s, color .3s, box-shadow .3s; }
.site-header.solid { background: rgba(255,255,255,.97); color: var(--black); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--serif); font-weight: 600; font-size: 27px; letter-spacing: .04em; }
.brand small { font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; margin-top: 5px; opacity: .8; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { padding: 11px 20px; }
.lang { display: flex; gap: 4px; font-size: 11.5px; letter-spacing: .16em; }
.lang button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 4px 6px; opacity: .55; display: inline-flex; align-items: center; gap: 6px; transition: opacity .15s; }
.lang button:hover { opacity: .85; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang button[aria-pressed="true"] span { text-decoration: underline; text-underline-offset: 5px; }
.lang .flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); flex-shrink: 0; display: block; }
.lang-mobile { display: none; margin-left: auto; margin-right: 6px; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--paper); overflow: hidden; background: var(--black); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.62); transform: scale(1.03); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.55) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 120px var(--gutter) 90px; max-width: 900px; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero h1 { font-size: clamp(64px, 12vw, 148px); font-weight: 500; letter-spacing: .02em; line-height: .92; }
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.6vw, 28px); margin: 26px auto 40px; max-width: 640px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; width: 1px; height: 48px; background: rgba(255,255,255,.6); }

/* ── Sections ── */
section { padding: clamp(80px, 11vw, 140px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.figure { margin: 0; }
.figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .6s; }
.figure:hover img { filter: grayscale(0); }
.figure figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-top: 12px; }
.then-now { position: relative; }
.then-now .old img { aspect-ratio: 1200 / 774; filter: contrast(1.02); }
.then-now .old:hover img { filter: contrast(1.02); }
.then-now .now { position: relative; width: 54%; margin: -24% 0 0 auto; background: var(--paper); padding: 10px 10px 0; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.then-now .now img { aspect-ratio: 1090 / 830; }
.then-now .old figcaption { max-width: 44%; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 36px; }
.facts div { padding: 20px 14px 0 0; }
.facts b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.facts span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

.cuina { background: var(--paper-2); }
.cuina-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: 64px; }
.carta-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 46px; }
.carta-nav a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); padding: 9px 14px; transition: background .15s, color .15s; }
.carta-nav a:hover { background: var(--black); color: var(--paper); }
.carta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(36px, 6vw, 84px); align-items: start; }
.carta-sec { margin-bottom: 46px; scroll-margin-top: 100px; }
.carta-sec h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--ink); }
.carta-sec ul { list-style: none; margin: 0; padding: 0; }
.carta-sec li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.carta-sec li b { display: block; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; }
.carta-sec li span { display: block; color: var(--grey); font-size: 15px; font-style: italic; margin-top: 3px; }
.carta-note { margin: 10px 0 0; font-size: 14px; color: var(--grey); max-width: 720px; }
.gallery { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-top: 56px; }
.gallery .figure:first-child { grid-row: span 2; display: flex; flex-direction: column; }
.gallery .figure:first-child img { flex: 1 1 auto; height: 0; min-height: 520px; aspect-ratio: auto; }
.gallery .figure img { aspect-ratio: 16 / 11; }
.espais-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.espais-head p { max-width: 460px; color: var(--grey); margin: 0; }

/* ── Booking ── */
.reserva { background: var(--black); color: var(--paper); }
.reserva .eyebrow { color: rgba(255,255,255,.6); }
.reserva-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); }
.reserva-intro p { color: rgba(255,255,255,.72); }
.reserva-intro a { color: var(--paper); }
.booking { border: 1px solid rgba(255,255,255,.22); padding: clamp(22px, 4vw, 40px); }
.step { margin-bottom: 30px; }
.step-label { display: flex; align-items: baseline; gap: 12px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.step-label b { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 52px; padding: 12px 14px; background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,.3); font: 500 15px/1 var(--sans); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--black); border-color: var(--paper); }
.chip:disabled { opacity: .28; text-decoration: line-through; cursor: not-allowed; }
.slot-group { margin-bottom: 14px; }
.slot-group small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--paper); font: 400 16px/1.4 var(--sans); border-radius: 0; }
.field input:focus, .field textarea:focus, .chip:focus-visible, .btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.field input[type=date] { color-scheme: dark; }
.field textarea { min-height: 84px; resize: vertical; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.75); margin: 6px 0 22px; cursor: pointer; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: #fff; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { font-size: 15px; color: rgba(255,255,255,.8); border-left: 2px solid var(--paper); padding: 4px 0 4px 14px; margin: 12px 0; }
.notice.error { border-color: #ff8a80; color: #ffd5d0; }
.summary { font-family: var(--serif); font-size: 22px; margin: 4px 0 18px; }
.done { text-align: center; padding: 20px 0; }
.done h3 { font-size: 40px; margin: 10px 0 12px; }
.done .summary { font-size: 25px; }
.done .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.loading { opacity: .5; pointer-events: none; }

/* ── Visit ── */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); }
.info-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li > span:first-child { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); padding-top: 3px; }
.info-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.info-list a:hover { border-color: var(--ink); }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.hours div + div { margin-top: 4px; }
.map { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }
.services { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--grey); }

/* ── Footer ── */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 60px 0 40px; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-end; }
.site-footer .brand { color: var(--paper); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }

/* ── Legal pages ── */
.legal { padding: 140px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(42px, 6vw, 64px); margin-bottom: 30px; }
.legal h2 { font-size: 28px; margin: 38px 0 12px; }
.legal p, .legal li { color: #333; }
.legal .todo { background: #f1f1f1; padding: 2px 6px; font-family: ui-monospace, Menlo, monospace; font-size: 14px; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── Responsive ── */
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .lang-mobile { display: flex; }
  .nav .lang { display: none; }
  .nav.legal-nav { gap: 8px !important; }
  .nav.legal-nav .lang { display: flex; padding-top: 0; }
  .nav.legal-nav .lang span { display: none; }
  .nav.legal-nav .btn { margin-top: 0; padding: 10px 12px; }
  .site-header .brand { white-space: nowrap; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--paper); color: var(--black); flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px var(--gutter) 26px; box-shadow: 0 14px 30px rgba(0,0,0,.12); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .lang { padding-top: 16px; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .menu-open.site-header { background: var(--paper); color: var(--black); }
  .split, .cuina-head, .reserva-grid, .visit-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .then-now .now { width: 68%; margin-top: -16%; }
  .then-now .old figcaption { max-width: 30%; }
  .carta { grid-template-columns: 1fr; }
  .carta-nav { margin-top: -10px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .figure:first-child { grid-row: auto; display: block; }
  .gallery .figure:first-child img { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
  .map { min-height: 320px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .fields-2 { grid-template-columns: 1fr; }
  .facts b { font-size: 28px; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Bar Parada: portada sin foto ── */
.hero-typo { background: radial-gradient(ellipse at 50% 35%, #2a2a2a 0%, #0d0d0d 70%); }
.hero-typo::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 120px); }
.facts-2 { grid-template-columns: 1fr 1fr; border-top: 0; }
.facts-2 div { border-top: 1px solid var(--line); padding: 22px 14px 22px 0; }
.carta-nav:empty { display: none; }

