/* El Sapo Cuban Social Club — site styles */
:root {
  --blue: #25408f;        /* El Sapo brand blue */
  --blue-deep: #172a63;
  --lime: #9ccb3c;        /* El Sapo brand lime */
  --lime-deep: #4f7a12;   /* readable lime for text on white */
  --red: #cf2e3a;         /* Cuban flag red, used sparingly */
  --ink: #1d2747;
  --ink-soft: #4a5370;
  --paper: #ffffff;
  --tint: #f1f6e6;
  --rule: #d9deea;
  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(56px, 8vw, 104px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; color: var(--blue); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.prose { max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 500 1rem/1 var(--f-display); letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lime { background: var(--lime); color: var(--blue-deep); }
.btn-lime:hover { background: #b3dc5d; color: var(--blue-deep); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.center-row { justify-content: center; }
.text-link { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; letter-spacing: .03em; color: var(--blue); text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

/* Header */
.site-header { background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: block; color: #fff; flex: 0 0 auto; }
.logo svg { width: 112px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font: 500 1.05rem/1 var(--f-display); letter-spacing: .04em; padding: 6px 0; border-bottom: 3px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--lime); }
.nav-cta { min-height: 42px; padding: 10px 20px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font: 500 1rem var(--f-display); letter-spacing: .05em; align-items: center; gap: 10px; padding: 10px 4px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-top: 1px solid rgba(255,255,255,.15); }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-cta { margin-top: 18px; }
  .logo svg { width: 92px; }
  .header-row { min-height: 64px; }
}

/* Hero */
.hero { position: relative; background: var(--blue-deep); color: #fff; overflow: hidden; }
.hero-media img { width: 100%; height: clamp(480px, 72vh, 760px); object-fit: cover; object-position: center 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,42,99,.9) 0%, rgba(23,42,99,.62) 45%, rgba(23,42,99,.08) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 88px); z-index: 1; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .3em; }
.greeting { font: 400 clamp(2.3rem, 6.5vw, 5rem)/1 var(--f-script); color: var(--lime); margin: 0 0 .15em; transform: rotate(-4deg); transform-origin: left bottom; }
.greeting-ink { color: var(--blue); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .4em; }
.hero-lede { max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.92); }
@media (max-width: 700px) {
  .hero-media::after { background: linear-gradient(0deg, rgba(23,42,99,.95) 0%, rgba(23,42,99,.7) 55%, rgba(23,42,99,.25) 100%); }
  .hero-media img { height: 640px; object-position: 30% center; }
}

/* Page head */
.page-head { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.page-head-text { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(36px, 6vw, 64px); position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head .lede { max-width: 56ch; font-size: 1.15rem; color: rgba(255,255,255,.9); margin: 0; }
.page-head.has-img .page-head-media { position: absolute; inset: 0; }
.page-head.has-img .page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head.has-img .page-head-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,42,99,.94) 0%, rgba(23,42,99,.72) 55%, rgba(23,42,99,.35) 100%); }
.page-head.has-img .page-head-text { padding-top: clamp(80px, 13vw, 170px); }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: rgba(255,255,255,.75); }
.crumbs a { color: #fff; }

/* Bands */
.band { padding: var(--band) 0; }
.band-tint { background: var(--tint); }
.band-blue { background: var(--blue); color: #fff; }
.band-blue h2 { color: #fff; }
.band-lime { background: var(--lime); color: var(--blue-deep); }
.band-lime h2 { color: var(--blue-deep); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-rev .split-text { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-rev .split-text { order: 0; } }
.framed { margin: 0; }
.framed img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.framed figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }

/* Dishes */
.dish-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
@media (max-width: 900px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dish-grid { grid-template-columns: 1fr; } }
.dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.dish h3 { margin-bottom: .3em; }
.dish p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* Happy hour band */
.hh-grid { display: grid; grid-template-columns: 1fr minmax(320px, 440px); grid-template-areas: "stamp hours" "text hours"; gap: 8px clamp(32px, 6vw, 88px); align-items: end; }
.hh-grid > div { grid-area: text; }
.hh-grid .hours-band { grid-area: hours; align-self: center; }
.hh-stamp { grid-area: stamp; width: 110px; transform: rotate(-12deg); filter: brightness(.35) saturate(1.4); opacity: .55; margin-bottom: 4px; }
.hh-grid p { font-size: 1.12rem; max-width: 44ch; margin: 0; }
@media (max-width: 900px) { .hh-grid { grid-template-columns: 1fr; grid-template-areas: "stamp" "text" "hours"; } .hh-stamp { width: 84px; } }

.hours { margin: 0; display: grid; gap: 10px; }
.hours div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.hours dt { font-family: var(--f-display); font-weight: 500; letter-spacing: .02em; }
.hours dd { margin: 0; }
.hours-band { background: #fff; padding: 24px 28px; border-radius: var(--radius); }
.hours-band div { grid-template-columns: 8.5em 1fr; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.hours-band div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-page div { padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
@media (max-width: 420px) { .hours div { grid-template-columns: 1fr; gap: 0; } }

/* Mural */
.mural { background: #2b2152; }
.mural img { width: 100%; height: clamp(140px, 22vw, 300px); object-fit: cover; }

/* Press */
.press-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--blue); }
.press-list li { padding: 22px 24px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.press-list li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.press-outlet { font: 500 .95rem/1.2 var(--f-display); letter-spacing: .04em; color: var(--lime-deep); margin: 0; }
.press-title { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.2; color: var(--blue); }
@media (max-width: 800px) { .press-list { grid-template-columns: 1fr; } .press-list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

.press-cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 28px; }
.press-card { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.press-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.press-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.press-card p { max-width: 60ch; }
@media (max-width: 700px) { .press-card { grid-template-columns: 1fr; gap: 16px; } }

/* Visit / contact */
.addr { font: 500 1.4rem/1.35 var(--f-display); margin-bottom: .3em; }
.addr a { text-decoration: none; }
.map-frame { border-radius: var(--radius); overflow: hidden; background: var(--tint); min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.contact-card h2 { font-size: 1.5rem; margin-top: 1.2em; }
.contact-card h2:first-child { margin-top: 0; }
.map-wide { grid-column: 1 / -1; min-height: 400px; }
.map-wide iframe { min-height: 400px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 500 1.2rem/1.35 var(--f-display); color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--lime-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; max-width: 64ch; }

.big-quote { font: 400 clamp(1.5rem, 3vw, 2.2rem)/1.35 var(--f-display); margin: 0 0 .6em; }
.sig { font: 400 2.2rem/1 var(--f-script); color: var(--lime); margin: 0; }

/* Menus */
.menu-shell { padding: clamp(32px, 5vw, 56px) 0 var(--band); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; border-bottom: 2px solid var(--rule); }
.tabs button { background: none; border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px; padding: 12px 16px; font: 500 1.15rem/1 var(--f-display); letter-spacing: .03em; color: var(--ink-soft); cursor: pointer; }
.tabs button:hover { color: var(--blue); }
.tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--lime); }
.js .menu-panel[hidden] { display: none; }
.menu-panel + .menu-panel { margin-top: 56px; }
.js .menu-panel + .menu-panel { margin-top: 0; }
.menu-panel-head { margin-bottom: 28px; }
.menu-panel-head h2 { margin-bottom: .2em; }
.menu-panel-head p { margin: 0 0 .3em; color: var(--ink-soft); }
.menu-cols { columns: 2 380px; column-gap: clamp(32px, 6vw, 80px); }
.menu-section { break-inside: avoid; margin-bottom: 44px; }
.menu-section-head { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--blue); }
.menu-h { font-size: 1.75rem; margin: 0; }
.menu-sub { font: 400 1.6rem/1 var(--f-script); color: var(--lime-deep); margin: 2px 0 0; }
.menu-note { font-size: .92rem; color: var(--ink-soft); margin: 8px 0 0; }
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 10px 0; }
.mi-line { display: flex; align-items: baseline; gap: 8px; }
.mi-name { font: 500 1.1rem/1.3 var(--f-display); letter-spacing: .02em; color: var(--ink); }
.mi-dots { flex: 1 1 auto; border-bottom: 2px dotted #b9c0d4; min-width: 16px; transform: translateY(-4px); }
.mi-price { font: 500 1.05rem/1.3 var(--f-display); color: var(--blue); white-space: nowrap; text-align: right; }
.mi-hh { display: inline-block; background: var(--lime); color: var(--blue-deep); border-radius: 4px; padding: 0 6px; margin-left: 4px; font: 600 .95rem/1.5 var(--f-display); }
.mi-desc { margin: 3px 0 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.5; max-width: 52ch; }
@media (max-width: 520px) { .mi-line { flex-wrap: wrap; } .mi-dots { display: none; } .mi-price { margin-left: auto; white-space: normal; } }
.menu-foot { margin-top: 24px; padding: 24px; background: var(--tint); border-radius: var(--radius); }
.menu-foot p { margin: 0; max-width: 80ch; }
.menu-foot .mi-hh { margin: 0 2px 0 0; }
.order-row { margin: 0 0 40px; }

/* 404 */
.notfound img { margin: 0 auto 12px; width: 110px; }
.notfound .greeting { transform: rotate(-3deg); transform-origin: center; }

/* Footer */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.86); font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr .8fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { display: flex; gap: 20px; align-items: flex-start; }
.footer-frog { width: 72px; flex: 0 0 auto; }
.footer-name { font: 600 1.35rem/1.2 var(--f-display); color: #fff; margin-bottom: .4em; }
.footer-h { font: 500 1rem/1.2 var(--f-display); letter-spacing: .06em; color: var(--lime); margin: 0 0 12px; }
.footer-h:not(:first-child) { margin-top: 22px; }
.hours-footer { gap: 8px; }
.hours-footer div { grid-template-columns: 1fr; gap: 0; }
.hours-footer dt { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.social a:hover { background: var(--lime); border-color: var(--lime); color: var(--blue-deep); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; padding-bottom: 28px; font-size: .9rem; }
.footer-base p { margin: 0; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; padding-top: 48px; } }
