/* Layout concept: a small venezuelan bistro site for a phone in one hand.
   Navy "night sea" bands frame the pages, flag stripes divide them,
   food photography carries the home page; content pages are calm and readable. */
:root {
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --ink: #141B33;
  --muted: #59627E;
  --line: #DCE1EE;
  --navy: #1F3A8A;
  --hero: #142A6E;
  --red: #C8102E;
  --gold: #A87C00;
  --sun: #FFCC00;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9D3F0;
  --chip: #E8EDF9;
  --shadow: 0 14px 34px rgb(20 27 51 / .14);

  --display: "Unbounded", "Arial Black", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --wrap: 1140px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1230; --surface: #121B3F; --ink: #ECEFF8; --muted: #A3ACC9; --line: #26305A;
    --navy: #9DB3FF; --hero: #091340; --red: #FF5C6E; --gold: #F2C230; --sun: #FFCC00;
    --on-dark: #FFFFFF; --on-dark-muted: #B8C3E6; --chip: #1B2652; --shadow: 0 14px 34px rgb(0 0 0 / .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1230; --surface: #121B3F; --ink: #ECEFF8; --muted: #A3ACC9; --line: #26305A;
  --navy: #9DB3FF; --hero: #091340; --red: #FF5C6E; --gold: #F2C230; --sun: #FFCC00;
  --on-dark: #FFFFFF; --on-dark-muted: #B8C3E6; --chip: #1B2652; --shadow: 0 14px 34px rgb(0 0 0 / .4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--body); -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--hero); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.flag { height: 9px; background: linear-gradient(#FFCC00 0 33.4%, #00247D 33.4% 66.7%, #CF142B 66.7%); }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--hero); color: var(--on-dark); box-shadow: 0 1px 0 rgb(0 0 0 / .25); }
.topbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 62px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.brand span { font: 700 1rem/1 var(--display); letter-spacing: .06em; }
.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 11px; border-radius: 999px; color: var(--on-dark-muted); }
.nav a:hover { color: var(--on-dark); background: rgb(255 255 255 / .08); }
.nav a[aria-current="page"] { color: var(--on-dark); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 6px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / .1); flex-shrink: 0; }
.lang button { font: 700 .78rem/1 var(--body); letter-spacing: .06em; color: var(--on-dark-muted); background: none; border: 0; padding: 7px 9px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--sun); color: #141B33; }
@media (max-width: 860px) {
  .topbar .wrap { flex-wrap: wrap; row-gap: 0; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 20px); margin: 0 -10px; padding-bottom: 4px; }
  html { scroll-padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
}

/* ---------- buttons / chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; font: 700 1rem/1 var(--body); padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; }
.btn-sun { background: var(--sun); color: #141B33; }
.btn-sun:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgb(255 255 255 / .5); color: var(--on-dark); }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-navy { background: var(--navy); color: var(--surface); justify-self: start; }
.btn-line { border-color: var(--navy); color: var(--navy); justify-self: start; }
.btn-line:hover { background: var(--chip); }
.mini { font: 600 .85rem/1 var(--body); padding: 8px 12px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgb(255 255 255 / .12); font-weight: 600; font-size: .95rem; color: var(--on-dark); }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #9AA6C8; flex-shrink: 0; }
.status[data-open="1"] i { background: #3DDC84; box-shadow: 0 0 0 4px rgb(61 220 132 / .22); }
.status.on-light { background: var(--chip); color: var(--ink); }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.on-dark .kicker, .kicker.sun { color: var(--sun); }
.label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- home hero ---------- */
.home-hero { background: var(--hero); color: var(--on-dark); overflow: hidden; }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(20px, 5vw, 64px); }
.hero-text { display: grid; gap: 20px; min-width: 0; }
.wordmark { width: min(100%, 480px); height: auto; margin-left: -6px; }
.home-hero h1 { font: 800 clamp(1.9rem, 4.6vw, 3.3rem)/1.08 var(--display); letter-spacing: -.01em; }
.home-hero h1 em { font-style: normal; color: var(--sun); }
.hero-text .lead { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 6 / 5; min-width: 0; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 18px; box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgb(9 19 64 / .78); color: #fff; font: 600 .82rem/1.2 var(--body); }
@media (max-width: 860px) {
  .home-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .mosaic { order: -1; aspect-ratio: 4 / 3; gap: 8px; }
  .mosaic figure { border-radius: 14px; }
}

/* ---------- page hero (sub pages) ---------- */
.page-hero { background: var(--hero); color: var(--on-dark); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-block: clamp(26px, 5vw, 48px); }
.page-hero h1 { font: 800 clamp(1.9rem, 5vw, 3rem)/1.05 var(--display); }
.page-hero p { color: var(--on-dark-muted); margin-top: 10px; max-width: 56ch; font-size: 1.05rem; }
.page-hero .ph-img { width: clamp(120px, 22vw, 260px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 30px rgb(0 0 0 / .35); height: auto; }
@media (max-width: 600px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } .page-hero .ph-img { display: none; } }

/* ---------- sections ---------- */
section { padding-block: clamp(40px, 7vw, 76px); }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 70ch; }
.sec-head h2 { font: 700 clamp(1.5rem, 3.6vw, 2.25rem)/1.15 var(--display); color: var(--navy); }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 12px; background: var(--red); border-radius: 2px; }
.sec-head p { color: var(--muted); }
.desc { color: var(--muted); }

/* ---------- presentation sheet (home) ---------- */
.dishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dish { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease; }
.dish:hover { transform: translateY(-4px); }
.dish img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.dish div { padding: 16px 16px 18px; display: grid; gap: 6px; align-content: start; }
.dish h3 { font: 700 1.15rem/1.2 var(--display); color: var(--navy); }
.dish .price { margin-top: 4px; }
.sheet-foot { margin-top: 24px; }
@media (max-width: 960px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dishes { grid-template-columns: minmax(0, 1fr); } .dish { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: none; } .dish img { height: 100%; aspect-ratio: auto; } .dish div { padding: 12px 14px; } .dish h3 { font-size: 1rem; } }

/* ---------- origin band (home) ---------- */
.origin { background: var(--hero); color: var(--on-dark); }
.origin .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.origin img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
.origin h2 { font: 700 clamp(1.5rem, 3.6vw, 2.2rem)/1.15 var(--display); }
.origin .txt { display: grid; gap: 16px; }
.origin p { color: var(--on-dark-muted); font-size: 1.05rem; max-width: 50ch; }
@media (max-width: 760px) { .origin .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reviews ---------- */
.rev-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.stars { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.stars b { color: var(--sun); font-size: 1.3rem; letter-spacing: 2px; text-shadow: 0 1px 0 rgb(0 0 0 / .15); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; }
.quote p { font-size: 1.05rem; line-height: 1.5; }
.quote p::before { content: "“"; display: block; font: 800 2.6rem/0.6 var(--display); color: var(--red); margin-bottom: 8px; }
.quote footer { color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- info strip ---------- */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; align-content: start; }
.card h3 { font: 700 1rem/1.3 var(--display); color: var(--navy); }
.card .link { font-weight: 700; color: var(--navy); }
@media (max-width: 860px) { .info { grid-template-columns: minmax(0, 1fr); } }

/* ---------- menu ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: thin; }
.chips a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 999px; background: var(--chip); color: var(--navy); }
.chips a:hover { outline: 2px solid var(--navy); outline-offset: -2px; }
.menu { display: grid; gap: clamp(28px, 4vw, 44px); }
.cat { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.cat.no-photo .cat-body { grid-column: 2; }
.cat figure { margin: 0; align-self: center; }
.cat figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.cat-body { min-width: 0; }
.cat h3 { font: 700 1.3rem/1.2 var(--display); color: var(--navy); letter-spacing: .02em; }
.cat h4 { font: 700 .95rem/1.3 var(--display); color: var(--navy); margin-top: 6px; }
.cat-desc { color: var(--muted); margin-top: 6px; }
.items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.item { padding-block: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.item:last-child { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: baseline; gap: 10px; }
.name { font-weight: 700; font-size: 1.05rem; }
.lead-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.price { font-weight: 700; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-weight: 600; font-size: .85em; color: var(--muted); margin-right: 4px; }
.extra { font-size: .88rem; color: var(--muted); font-style: italic; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--red); margin-top: 2px; }
.drinks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); margin-top: 8px; }
@media (max-width: 760px) {
  .cat { grid-template-columns: minmax(0, 1fr); }
  .cat.no-photo .cat-body { grid-column: 1; }
  .cat figure img { aspect-ratio: 16 / 9; }
  .drinks-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- order ---------- */
.order-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.order-grid > * { min-width: 0; }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms img { height: 44px; width: auto; border-radius: 10px; transition: transform .15s ease; }
.platforms a:hover img { transform: translateY(-2px); }
.pan { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; }
.pan .pan-ico { width: 110px; height: 110px; border-radius: 16px; background: var(--chip); display: grid; place-items: center; font: 800 1.1rem/1 var(--display); color: var(--navy); text-align: center; }
.pan h3 { font: 700 1.05rem/1.3 var(--display); color: var(--navy); }
.pan .price { font-size: 1.2rem; }
@media (max-width: 760px) { .order-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- catering ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.split > * { min-width: 0; }
.prose { display: grid; gap: 14px; max-width: 62ch; font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(s); font: 800 1.6rem/1 var(--display); color: var(--red); }
.steps b { font-size: 1.05rem; }
.foods { display: flex; flex-wrap: wrap; gap: 8px; }
.foods a { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--chip); color: var(--navy); font-weight: 600; }
.field { display: grid; gap: 4px; }
.copyrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copyrow .val { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; user-select: all; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.photo-pair img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .split, .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 4vw, 48px); align-items: center; }
.sticker { background: #FFFFFF; border-radius: 50%; padding: 22px; aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--shadow); max-width: 300px; width: 100%; justify-self: center; }
.sticker img { width: 100%; height: auto; }
.draft { border: 2px dashed var(--line); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-style: italic; }
.draft b { font-style: normal; color: var(--red); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.wide-img { width: 100%; height: auto; border-radius: 20px; margin-top: 32px; box-shadow: var(--shadow); }
@media (max-width: 760px) { .story { grid-template-columns: minmax(0, 1fr); } .sticker { order: -1; max-width: 220px; } }

/* ---------- blog ---------- */
.posts { display: grid; gap: 20px; }
.posts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.post img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.post-text { padding: 20px 20px 22px 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.post time { font-size: .85rem; font-weight: 600; color: var(--muted); }
.post h3 { font: 700 1.2rem/1.25 var(--display); color: var(--navy); }
.post .more { justify-self: start; margin-top: 4px; }
.more-link { font-weight: 700; color: var(--navy); }
.post-body { display: grid; gap: 12px; max-width: 65ch; }
.post-body h2, .post-body h3 { font: 700 1.1rem/1.3 var(--display); color: var(--navy); margin-top: 6px; }
.post-body ul { margin: 0; padding-left: 1.2em; }
.posts.two .post { grid-template-columns: minmax(0, 1fr); }
.posts.two .post img { aspect-ratio: 16 / 9; min-height: 0; }
.posts.two .post-text { padding: 0 20px 22px; }
@media (max-width: 760px) {
  .post, .posts.two { grid-template-columns: minmax(0, 1fr); }
  .post img { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .post-text { padding: 0 18px 20px; }
}

/* ---------- special orders ---------- */
.special { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.special h2 { font: 700 1.3rem/1.3 var(--display); color: var(--navy); }

/* ---------- contact ---------- */
.review { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 4px; }
.review img { width: 120px; height: auto; border-radius: 10px; background: #fff; padding: 6px; border: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--navy); font-weight: 700; }
.hours tr.closed td:last-child { color: var(--muted); font-weight: 500; }
.linklist { display: grid; gap: 10px; }
.linklist a { font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
footer.site { background: var(--hero); color: var(--on-dark-muted); font-size: .92rem; }
footer.site .wrap { padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
footer.site strong { color: var(--on-dark); font-family: var(--display); letter-spacing: .04em; }
footer.site .co { display: grid; gap: 4px; }
footer.site .legal { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .15); font-size: .74rem; line-height: 1.4; color: var(--on-dark-muted); opacity: .85; }
footer.site nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 24px; align-content: start; }
footer.site nav a { text-decoration: none; }
footer.site nav a:hover { color: var(--on-dark); text-decoration: underline; }
@media (max-width: 600px) { footer.site .wrap { grid-template-columns: minmax(0, 1fr); } }
