:root {
  --ink: #1d3557;
  --blue: #1d4e89;
  --blue-2: #3a6ea5;
  --tile-bg: #eef3fa;
  --wash: #fbfaf6;
  --pink: #e8475f;
  --pink-deep: #c7304a;
  --green: #1d6b4a;
  --yellow: #f7e27a;
  --terracotta: #b5651d;
  --board: #1b2233;
  --gold: #e3b85b;
  --muted: #4b5d78;
  --bar-h: 64px;
  --radius: 14px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
figure { margin: 0; }
section[id] { scroll-margin-top: 72px; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: .6em;
}

.section-title { font-size: clamp(28px, 6vw, 42px); font-weight: 700; margin-bottom: .5em; }

/* Azulejo tile band */
.tiles {
  height: 24px;
  background:
    radial-gradient(circle at 50% 50%, var(--blue) 20%, transparent 21%) 0 0 / 24px 24px,
    radial-gradient(circle at 0 0, var(--blue-2) 22%, transparent 23%) 0 0 / 24px 24px,
    radial-gradient(circle at 100% 100%, var(--blue-2) 22%, transparent 23%) 0 0 / 24px 24px,
    linear-gradient(45deg, transparent 46%, var(--blue-2) 46% 54%, transparent 54%) 0 0 / 24px 24px,
    linear-gradient(-45deg, transparent 46%, var(--blue-2) 46% 54%, transparent 54%) 0 0 / 24px 24px,
    var(--tile-bg);
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink-deep); color: #fff; }
.btn-primary:hover { background: #b02a41; }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--wash); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29, 53, 87, .08);
}
.brand { font-family: var(--serif); font-weight: 700; font-size: 22px; text-decoration: none; }
.nav-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
}
.bars, .bars::before, .bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ''; transition: transform .2s ease;
}
.bars::before { position: absolute; top: -7px; }
.bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  padding: 8px 16px 16px;
  background: var(--wash);
  border-bottom: 1px solid rgba(29, 53, 87, .1);
}
.site-nav.is-open { display: flex; }
.site-nav a { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(29, 53, 87, .08); }
.site-nav .nav-cta { color: var(--pink-deep); border-bottom: 0; }

/* Hero */
.hero-inner { padding: 28px 16px 36px; display: grid; gap: 28px; max-width: 1100px; margin: 0 auto; }
.hero-text { text-align: center; }
.hero h1 { font-size: clamp(56px, 16vw, 104px); font-weight: 700; letter-spacing: -.01em; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 20px; margin-top: 4px; }
.hero-intro { color: var(--muted); max-width: 30em; margin: 0 auto 1.2em; }
.today {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: var(--yellow);
  font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 10px;
  margin-bottom: 18px;
}
.today-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: none; }
.today:has([data-state="closed"]) { background: var(--ink); }
.hero .actions { justify-content: center; }
.arch {
  margin: 0 auto;
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  border: 6px solid #fff;
  outline: 2px solid var(--blue);
  box-shadow: 0 20px 40px rgba(29, 53, 87, .18);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Hours */
.hours { padding: 40px 0; }
.week { list-style: none; padding: 0; margin: 0 0 16px; max-width: 520px; }
.week li {
  display: flex; justify-content: space-between;
  padding: 10px 12px; border-bottom: 1px dashed rgba(29, 53, 87, .25);
}
.week li.is-today { background: var(--yellow); border-radius: 8px; font-weight: 600; border-bottom-color: transparent; }
.week li.is-today span:first-child::after { content: ' · today'; color: var(--pink-deep); font-weight: 600; }
.note { color: var(--muted); font-size: 14px; }
.hours-photo { display: none; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; border: 6px solid #fff; outline: 2px solid var(--blue); aspect-ratio: 4 / 5; }
.hours-photo img { width: 100%; height: 100%; object-fit: cover; }

/* About */
.about { padding: 48px 0 40px; }
.about-grid { display: grid; gap: 24px; align-items: center; }
.about p { font-size: 17px; }
.rooster { width: 140px; margin: 0 auto; }
.facts {
  list-style: none; margin-top: 28px; display: grid; gap: 12px;
}
.facts li { background: #fff; border: 1px solid rgba(29, 53, 87, .1); border-left: 4px solid var(--terracotta); border-radius: 10px; padding: 14px 16px; }
.facts strong { display: block; font-family: var(--serif); font-size: 18px; }
.facts span { color: var(--muted); font-size: 14px; }

/* Menu board */
.menu { padding: 24px 0 48px; }
.board {
  background: var(--board);
  color: #f3efe6;
  border-radius: var(--radius);
  padding: 32px 20px;
  border-left: 6px solid var(--blue-2);
  border-right: 6px solid var(--blue-2);
  box-shadow: 0 20px 40px rgba(27, 34, 51, .25);
}
.board-title { font-style: italic; font-weight: 400; color: var(--gold); font-size: clamp(36px, 9vw, 54px); text-align: center; }
.sardines { display: block; width: 96px; margin: 8px auto 20px; }
.board-grid { display: grid; gap: 8px 48px; }
.board h3 {
  font-style: italic; font-weight: 400; color: var(--gold); font-size: 28px;
  margin: 22px 0 10px; padding-bottom: 8px;
  border-bottom: 3px dotted var(--pink);
}
.board h3 small { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #c9c3b6; margin-left: 6px; }
.items { list-style: none; padding: 0; margin: 0; }
.items li { padding: 8px 0; }
.item-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; letter-spacing: .02em; }
.price { color: var(--yellow); white-space: nowrap; }
.items p { margin: 2px 0 0; color: #c9c3b6; font-size: 14px; }
.also { color: #c9c3b6; font-size: 14px; margin-top: 6px; }
.board-note { text-align: center; font-size: 13px; color: #a9a397; margin: 28px 0 0; font-style: italic; }

/* Gallery */
.gallery { padding: 16px 0 48px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-grid figure { overflow: hidden; border-radius: 10px; aspect-ratio: 1; }
.gallery-grid .g-wide, .gallery-grid .g-full { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* Reviews */
.reviews { padding: 48px 0; text-align: center; }
.stars { color: var(--terracotta); letter-spacing: 2px; }
.reviews-sub { color: var(--muted); }
.themes { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; text-align: left; }
.themes li { background: #fff; border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--pink); box-shadow: 0 6px 18px rgba(29, 53, 87, .07); }
.themes h3 { font-size: 20px; margin-bottom: 6px; }
.themes p { margin: 0; color: var(--muted); }

/* Find us */
.find { padding: 16px 0 56px; }
.find-grid { display: grid; gap: 24px; }
address { font-style: normal; font-size: 17px; margin-bottom: 18px; }
.map { border-radius: var(--radius); overflow: hidden; border: 4px solid #fff; outline: 2px solid var(--blue); min-height: 300px; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #e9eef6; }
.footer-grid { display: grid; gap: 24px; }
.site-footer .footer-grid { padding-top: 36px; padding-bottom: 24px; }
.footer-brand { font-family: var(--serif); font-size: 32px; font-weight: 700; margin: 0; }
.site-footer h2 { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.site-footer a { color: #fff; }
.copyright { text-align: center; font-size: 13px; color: #a9b6cc; padding: 0 16px 24px; margin: 0; }

/* Sticky mobile bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: var(--bar-h);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 246, .97);
  border-top: 1px solid rgba(29, 53, 87, .12);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 2px solid var(--ink);
}
.mobile-bar .mobile-bar-wa { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-toggle { display: none; }
  .site-header { padding: 14px 32px; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 24px;
    padding: 0; background: none; border: 0;
  }
  .site-nav a { padding: 0; border: 0; }
  .site-nav .nav-cta { background: var(--pink-deep); color: #fff; padding: 8px 18px; border-radius: 999px; }
  .container { padding: 0 32px; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 56px 32px 64px; }
  .hero-text { text-align: left; }
  .hero-intro { margin-left: 0; }
  .hero .actions { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr 180px; }
  .rooster { width: 180px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .board { padding: 48px 48px; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .g-wide { grid-column: span 2; aspect-ratio: auto; }
  .gallery-grid .g-full { aspect-ratio: 21 / 8; }
  .hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .hours-photo { display: block; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .find-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .hero-inner { gap: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
