/* ===== 1. COLORES Y ESTILOS GENERALES ===== */
:root {
  --navy: #0c3440;
  --navy-dark: #082832;
  --cream: #f8f5ee;
  --sand: #e8ddc8;
  --gold: #c7aa76;
  --ink: #193d47;
  --muted: #586b6f;
  --border: #d8d9cd;
  --page-width: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; background: var(--cream); color: var(--ink); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
em { font-weight: 400; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ab732a; outline-offset: 5px; }
.skip { position: absolute; top: -100px; left: 12px; padding: 12px; background: white; z-index: 100; }
.skip:focus { top: 10px; }
.section { padding: 100px max(6vw, calc((100vw - var(--page-width))/2)); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1.15; letter-spacing: -1.5px; }
h2 em { color: #627d80; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 23px; font-size: 14px; font-weight: 500; border: 1px solid transparent; transition: background .2s, color .2s; }
.button-sand { background: var(--sand); color: var(--navy); }
.button-sand:hover { background: white; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: #205463; }
.text-link { font-size: 14px; padding: 7px 0; border-bottom: 1px solid currentColor; }
.text-link:hover { opacity: .75; }
/* ===== 2. CABECERA Y MENÚ ===== */
.header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 96px; padding: 14px 5%; background: var(--cream); border-bottom: 1px solid #18384312; }
.brand { display: inline-flex; flex-direction: column; flex-shrink: 0; text-align: center; }
.brand > span { font: italic 31px/1.2 Georgia, serif; letter-spacing: -1.3px; }
.brand small { font-size: 9px; letter-spacing: 3px; margin-top: 6px; }
.navigation { display: flex; gap: 27px; align-items: center; }
.navigation a { font-size: 14px; padding: 8px 0; }
.navigation a:hover { box-shadow: 0 1px currentColor; }
.header-actions, .languages { display: flex; align-items: center; gap: 12px; }
.languages { gap: 3px; }
.languages button { border: 0; background: transparent; padding: 12px 6px; font-size: 12px; opacity: .6; }
.languages button.selected { opacity: 1; font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.languages > span { font-size: 12px; opacity: .4; }
.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--border); padding: 11px; }
.menu-toggle span { display: block; height: 1px; background: var(--navy); margin: 6px 0; }
/* ===== 3. PORTADA ===== */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--navy); color: var(--cream); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 75px 9% 28px 11%; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; color: #d8c4a0; font-size: 11px; letter-spacing: 1.7px; }
.line { width: 32px; height: 1px; background: currentColor; flex-shrink: 0; }
h1 { font-size: clamp(45px, 4.9vw, 78px); line-height: 1.12; letter-spacing: -2px; }
h1 em { display: inline-block; color: #d9c7a8; }
.hero-description { color: #d0dbda; max-width: 385px; margin: 29px 0 30px; font-size: 16px; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; border-top: 1px solid #ffffff26; padding-top: 21px; margin-top: 68px; font-size: 10px; letter-spacing: 1px; color: #bfd0d0; }
.hero-photo { position: relative; min-height: 670px; }
.hero-photo > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 57%; }
.hero-photo::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #062633b3); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 28px; left: 35px; right: 35px; display: flex; flex-direction: column; gap: 5px; color: white; }
.hero-photo figcaption > span { font: italic 30px Georgia, serif; }
.hero-photo small { font-size: 10px; letter-spacing: 2px; }
.ribbon { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 35px; padding: 22px 6%; background: var(--sand); font-size: 10px; letter-spacing: 2px; }
.ribbon i { font-size: 20px; font-style: normal; }
/* ===== 4. COCINA ===== */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 52px; }
.section-intro { max-width: 325px; color: var(--muted); font-size: 15px; padding-bottom: 5px; }
.food-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.food-card { padding-top: 30px; }
.food-card.featured { padding-top: 0; }
.food-card > img { height: 370px; object-fit: cover; }
.food-card.featured > img { height: 425px; }
.card-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin: 21px 0 10px; }
.card-title h3 { font-size: 25px; line-height: 1.2; }
.card-title span { color: #758788; font-size: 11px; padding-top: 4px; }
.food-card p { color: var(--muted); font-size: 14px; max-width: 280px; }
.menu-details { margin-top: 48px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.menu-details summary { display: flex; align-items: center; justify-content: space-between; padding: 23px 0; font-family: Georgia, serif; font-size: 24px; cursor: pointer; list-style: none; }
.menu-details summary::-webkit-details-marker { display: none; }
.plus { font: 27px Arial, sans-serif; transition: transform .2s; }
.menu-details[open] .plus { transform: rotate(45deg); }
.menu-details p { color: var(--muted); padding: 0 0 24px; max-width: 650px; }
/* ===== 5. ESPACIOS ===== */
.spaces { background: #e9ece5; }
.space-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6%; }
.space-grid figure { position: relative; }
.space-grid img { height: 610px; object-fit: cover; }
.space-grid .space-inside { margin-top: 95px; }
.space-grid .space-inside img { height: 510px; }
.space-grid figcaption { padding: 24px 0 0; }
.space-grid figcaption > span { display: block; font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.space-grid h3 { font-size: 35px; line-height: 1.15; }
/* ===== 6. SOBREMESA ===== */
.drinks { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--navy); color: var(--cream); }
.drinks-image { max-height: 630px; }
.drinks-image img { height: 100%; object-fit: cover; object-position: center 48%; }
.drinks-copy { padding: 90px 13%; align-self: center; }
.drinks-copy .eyebrow { color: var(--gold); }
.drinks-copy h2 em { color: #d7c5a7; }
.drinks-copy > p:not(.eyebrow) { color: #c9d5d5; margin: 28px 0; max-width: 330px; }
.drinks-copy .text-link { display: inline-block; }
/* ===== 7. GALERÍA ===== */
.gallery-note { color: var(--muted); font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 18px; }
.gallery-item { padding: 0; border: 0; background: var(--sand); overflow: hidden; cursor: zoom-in; }
.gallery-item img { height: 325px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.035); }
.lightbox { border: 0; padding: 45px 20px 16px; background: var(--navy-dark); color: white; width: fit-content; max-width: 94vw; max-height: 94dvh; }
.lightbox::backdrop { background: #001720e8; }
.lightbox > img { width: auto; max-width: 86vw; height: auto; max-height: 75dvh; object-fit: contain; }
.lightbox > p { font-size: 14px; padding-top: 13px; }
.close-lightbox { position: absolute; top: 0; right: 3px; border: 0; background: transparent; color: white; width: 44px; height: 44px; font-size: 32px; line-height: 1; }
/* ===== 8. UBICACIÓN Y PIE ===== */
.visit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10%; background: var(--sand); }
.visit-info { border-left: 1px solid #81928a66; padding-left: 50px; }
.label { font-size: 11px; letter-spacing: 2px; margin-bottom: 17px; }
address { font-style: normal; font-size: 20px; line-height: 1.6; margin-bottom: 23px; }
.visit-note { font-size: 13px; color: var(--muted); margin-top: 20px; max-width: 300px; }
footer { background: var(--navy-dark); color: var(--cream); padding: 50px 6% 22px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-top { padding-bottom: 40px; }
.footer-bottom { border-top: 1px solid #ffffff26; padding-top: 20px; color: #a7bfc1; font-size: 12px; }
/* ===== 9. TABLET Y MÓVIL ===== */
@media (min-width: 1550px) {
  .hero { max-width: 1600px; margin: auto; }
  .hero-photo { min-height: 750px; }
}
@media (max-width: 1050px) {
  .header { gap: 15px; padding-inline: 4%; }
  .navigation { gap: 17px; }
  .hero-copy { padding-left: 10%; padding-right: 8%; }
  .hero-photo { min-height: 640px; }
  .hero-copy .eyebrow { font-size: 9px; }
  .section { padding: 75px 6%; }
  .section-heading { gap: 30px; }
  .food-card > img { height: 290px; }
  .food-card.featured > img { height: 340px; }
  .space-grid img { height: 480px; }
  .space-grid .space-inside img { height: 420px; }
  .drinks-copy { padding: 65px 10%; }
}
@media (max-width: 780px) {
  html { scroll-padding-top: 82px; }
  .header { min-height: 80px; padding: 12px 5%; }
  .brand > span { font-size: 27px; }
  .brand small { font-size: 8px; letter-spacing: 2.5px; }
  .menu-toggle { display: block; }
  .navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); padding: 20px 7% 27px; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 5px; }
  .navigation.open { display: flex; }
  .navigation a { padding: 10px 0; font-size: 17px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 55px 7% 25px; }
  .hero-copy .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(43px, 8.7vw, 65px); letter-spacing: -1.5px; }
  .hero-description { max-width: 440px; margin-top: 23px; }
  .hero-bottom { margin-top: 35px; font-size: 9px; }
  .hero-photo { min-height: 0; height: 470px; }
  .hero-photo > img { object-position: center 61%; }
  .hero-photo figcaption { left: 7%; bottom: 23px; }
  .hero-photo figcaption > span { font-size: 27px; }
  .ribbon { gap: 15px; font-size: 9px; letter-spacing: 1px; padding: 17px 5%; }
  .ribbon span:last-child, .ribbon i:last-of-type { display: none; }
  .section { padding: 62px 7%; }
  h2 { font-size: clamp(34px, 7.4vw, 48px); letter-spacing: -1px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 32px; }
  .section-intro { max-width: 520px; }
  .food-grid { grid-template-columns: 1fr; gap: 35px; }
  .food-card, .food-card.featured { padding-top: 0; }
  .food-card > img, .food-card.featured > img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
  .food-card p { max-width: none; }
  .card-title h3 { font-size: 27px; }
  .menu-details summary { font-size: 23px; }
  .space-grid { gap: 35px; grid-template-columns: 1fr; }
  .space-grid img { height: auto; aspect-ratio: 4 / 4.3; object-fit: cover; }
  .space-grid .space-inside { margin-top: 0; }
  .space-grid .space-inside img { height: auto; aspect-ratio: 4 / 4.3; }
  .space-grid figcaption { padding-top: 17px; }
  .drinks { grid-template-columns: 1fr; }
  .drinks-image { height: 430px; }
  .drinks-image img { object-position: center 43%; }
  .drinks-copy { padding: 55px 7% 65px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item.wide { grid-column: 1 / -1; }
  .gallery-item img { height: 250px; }
  .gallery-item.wide img { height: auto; aspect-ratio: 4 / 3; }
  .visit { grid-template-columns: 1fr; gap: 35px; }
  .visit-info { border-left: 0; border-top: 1px solid #81928a66; padding: 28px 0 0; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom { gap: 6px; }
  .lightbox > p { max-width: 75vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ===== 10. CARTA DIGITAL I PDF ===== */
.menu-section { background: #f0eade; }
.menu-photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.menu-photo-strip img { height: 265px; object-fit: cover; }
.menu-photo-strip img:nth-child(2) { object-position: center 62%; }
.pdf-bar { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.pdf-bar h3 { font-size: 28px; }
.pdf-bar p { font-size: 13px; color: var(--muted); margin-top: 5px; }
.pdf-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.menu-categories { max-width: 960px; margin: auto; }
.menu-category { border-bottom: 1px solid #c6cbbf; }
.menu-category summary { display: flex; align-items: center; gap: 20px; padding: 24px 0; font: 27px Georgia, serif; cursor: pointer; list-style: none; }
.menu-category summary::-webkit-details-marker { display: none; }
.menu-category summary > span:first-child { flex: 1; }
.menu-category[open] .plus { transform: rotate(45deg); }
.summary-price { font: 18px Arial, sans-serif; white-space: nowrap; }
.dish-list { list-style: none; margin: 0 0 20px; padding: 0; }
.dish-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-bottom: 1px dotted #c7cbbd; padding: 13px 0; font-size: 16px; }
.dish-list li:last-child { border: 0; }
.dish-price { white-space: nowrap; flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.dish-price.market { font-size: 13px; font-weight: 400; }
.set-menu { padding: 0 0 20px 24px; }
.set-menu li { padding: 9px 0 9px 8px; }
.children-menu { padding: 0 0 25px; }
.children-menu h4 { margin: 15px 0 6px; font-size: 16px; }
.space-location { margin: -12px 0 36px; }
.footer-logo { display: block; width: 160px; flex-shrink: 0; }
.footer-logo img { width: 160px; height: 160px; object-fit: contain; }
@media (max-width: 1100px) and (min-width: 781px) { .navigation { gap: 13px; } .navigation a { font-size: 13px; } .brand > span { font-size: 26px; } .header { gap: 12px; } }
@media (max-width: 780px) {
 .pdf-bar { flex-direction: column; align-items: flex-start; }
 .pdf-actions { flex-wrap: wrap; gap: 18px; }
 .menu-photo-strip { gap: 9px; }
 .menu-photo-strip img { height: 180px; }
 .menu-category summary { font-size: 24px; gap: 14px; }
 .dish-list li { gap: 15px; font-size: 15px; }
 .dish-price.market { white-space: normal; text-align: right; max-width: 85px; }
 .languages button { padding-inline: 4px; }
 .header-actions { gap: 7px; }
 .brand > span { font-size: 24px; }
 .brand small { letter-spacing: 1.7px; }
}

/* ===== 11. HORARI I RESERVES ===== */
.reservation { margin-top: 30px; }
.reservation .label { margin-bottom: 8px; }
.phone-number { font-size: 29px; font-family: Georgia, serif; border-bottom: 1px solid currentColor; }
.visit { grid-template-columns: 1.1fr 1fr; column-gap: 8%; }
.opening-hours { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; border-top: 1px solid #81928a66; padding-top: 34px; margin-top: 35px; }
.opening-hours h3 { font-size: 36px; }
.opening-hours table { width: 100%; border-collapse: collapse; }
.opening-hours th, .opening-hours td { padding: 11px 0; border-bottom: 1px solid #81928a44; font-size: 15px; vertical-align: top; }
.opening-hours th { text-align: left; font-weight: 400; }
.opening-hours td { text-align: right; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width:780px) { .visit, .opening-hours { grid-template-columns: 1fr; } .opening-hours { gap: 20px; margin-top: 0; } }

/* Logo original visible també a la capçalera. */
.header .brand-with-logo { flex-direction: row; align-items: center; gap: 12px; }
.brand-with-logo > img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.brand-words { display: flex; flex-direction: column; font: normal 16px Arial, sans-serif; }
.brand-words > span { font: italic 26px/1.2 Georgia, serif; letter-spacing: -1px; }
.brand-words small { font: 8px Arial, sans-serif; letter-spacing: 2px; margin-top: 7px; }
@media (min-width: 781px) and (max-width: 1150px) { .brand-words { display: none; } }
@media (max-width: 780px) { .brand-with-logo > img { width: 54px; height: 54px; } .brand-words { display: none; } }
