/* El Gringo de las Fritas — site styles
   Layout concept: Americana poster meets Calle Ocho ventanita — paper-white pages,
   navy "awning" bands, crimson headline type, star-row dividers lifted from the logo. */
:root {
  /* Brand colors sampled from the El Gringo logo */
  --crimson: #A30722;
  --crimson-dark: #7E0519;
  --navy: #024279;
  --navy-deep: #003A5C;
  --paper: #FBFAF7;
  --paper-2: #F1EEE7;
  --ink: #13202E;
  --muted: #4E5B69;
  --line: #D9D4C8;
  --white: #FFFFFF;

  --f-display: "Ultra", "Rockwell Extra Bold", "Rockwell", Georgia, serif;
  --f-label: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Libre Franklin", "Franklin Gothic Book", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(.84rem, .8rem + .15vw, .92rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.1vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.8rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { 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-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--crimson); }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: .005em; }
h1 { font-size: var(--step-4); color: var(--crimson); }
h2 { font-size: var(--step-3); color: var(--crimson); }
h3 { font-size: var(--step-1); color: var(--navy); }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--f-label); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: var(--step--1); color: var(--navy); display: flex; align-items: center; gap: .6em; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 6px; color: var(--crimson); }
.stars svg { width: 12px; height: 12px; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 40ch; }
.prose { max-width: 65ch; display: grid; gap: 1.1em; }
.prose p { color: var(--ink); }
section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; padding: 14px 22px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; line-height: 1; min-height: 48px; }
.btn:hover { transform: translateY(-2px); }
.btn-order { background: var(--crimson); color: var(--white); }
.btn-order:hover { background: var(--crimson-dark); color: var(--white); }
.btn-menu { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-menu:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--paper-2); color: var(--crimson); }
.btn-ghost-light { border-color: rgba(255,255,255,.8); color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn small { font-size: .7em; letter-spacing: .08em; opacity: .85; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #DCE6EE; font-family: var(--f-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251,250,247,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(104px, 12vw, 132px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links { display: flex; gap: clamp(14px, 2vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--f-label); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .98rem; text-decoration: none; color: var(--ink); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--crimson); border-bottom-color: var(--crimson); }
.nav .btn { padding: 12px 16px; font-size: .9rem; min-height: 44px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: var(--radius); width: 46px; height: 44px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 920px) {
  .menu-toggle { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--navy); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 14px; display: none; }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn-row { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.7rem); }
.hero h1 span { color: var(--navy); display: block; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(2,66,121,.55); }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--crimson); border-radius: var(--radius); z-index: -1; }
.ticket { position: absolute; left: -14px; bottom: 22px; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius); font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .85rem; line-height: 1.3; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); max-width: 78%; }
.ticket strong { display: block; font-family: var(--f-display); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1.15rem; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 8px; border-top: 1px solid var(--line); font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--muted); }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 12px; height: 12px; color: var(--crimson); flex-shrink: 0; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-photo { order: -1; margin-right: 18px; } }

/* Star rule divider */
.star-rule { display: flex; align-items: center; gap: 14px; color: var(--crimson); }
.star-rule::before, .star-rule::after { content: ""; height: 2px; background: currentColor; flex: 1; opacity: .9; }
.star-rule svg { width: 14px; height: 14px; }

/* Bands */
.band-navy { background: var(--navy); color: #E4ECF3; }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy .eyebrow { color: #F3C9CF; }
.band-navy .lede, .band-navy p { color: #D3DFEA; }
.band-paper2 { background: var(--paper-2); }

/* Frita anatomy */
.anatomy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.anatomy-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.layers { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.layers li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: baseline; }
.layers b { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; color: var(--crimson); font-weight: 800; }
.layers span { color: var(--muted); }
@media (max-width: 860px) { .anatomy { grid-template-columns: 1fr; } .anatomy-photo img { aspect-ratio: 4/3; } }
@media (max-width: 480px) { .layers li { grid-template-columns: 1fr; gap: 2px; } }

/* Signature board */
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.dish { padding-block: 20px; border-bottom: 1px dashed rgba(255,255,255,.3); display: grid; gap: 6px; }
.dish h3 { font-size: var(--step-1); display: flex; align-items: baseline; gap: 10px; }
.dish h3 em { font-style: normal; font-family: var(--f-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: #F3C9CF; white-space: nowrap; }
.menu-placeholder { margin-top: clamp(28px, 4vw, 44px); border: 2px dashed rgba(255,255,255,.55); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.menu-placeholder p { max-width: 52ch; }
.menu-placeholder strong { color: var(--white); font-family: var(--f-label); text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: 4px; }

/* Catering split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; }
.split-copy { display: grid; gap: 20px; min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.event { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.event:nth-child(even) { border-top-color: var(--crimson); }
.event p { color: var(--muted); font-size: .98rem; }
.spec { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.spec li span:first-child { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--navy); }
.spec li span:last-child { color: var(--muted); text-align: right; }

/* Press */
.press { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .8fr); gap: 16px; align-items: stretch; }
.press figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.press img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.press figure:first-child img { aspect-ratio: auto; }
.press figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,30,50,.88)); color: var(--white); font-family: var(--f-label); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .85rem; }
@media (max-width: 860px) { .press { grid-template-columns: 1fr 1fr; } .press figure:first-child { grid-column: 1 / -1; } .press figure:first-child img { aspect-ratio: 4/3; } }
.quote { font-family: var(--f-display); font-size: var(--step-2); color: var(--navy); line-height: 1.2; max-width: 30ch; }

/* Service area */
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.region h3 { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: 1.05rem; color: var(--crimson); padding-bottom: 8px; border-bottom: 2px solid var(--navy); margin-bottom: 10px; }
.region ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 2px solid var(--navy); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: var(--step-0); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--f-display); font-size: 1.5rem; color: var(--crimson); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 70ch; }

/* CTA band */
.cta { background: var(--navy-deep); color: var(--white); text-align: left; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.cta img { width: 100%; max-width: 300px; }
.cta h2 { color: var(--white); }
.cta-copy { display: grid; gap: 18px; }
.cta-copy p { color: #D3DFEA; max-width: 52ch; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } .cta img { max-width: 220px; } }

/* Page hero (sub pages) */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(48px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 18px; position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lede { color: #D3DFEA; max-width: 52ch; }
.page-hero .eyebrow { color: #F3C9CF; }
.page-hero .crumbs { font-family: var(--f-label); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; font-weight: 700; color: #BFD0E0; }
.page-hero .crumbs a { color: var(--white); text-decoration: none; }
.page-hero::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: min(520px, 70vw); aspect-ratio: 632/450; background: url("images/logo-el-gringo-white.webp") no-repeat center / contain; opacity: .08; }

/* Timeline (About) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--navy); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 clamp(28px, 4vw, 44px) clamp(22px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(16px, 3vw, 36px); align-items: start; }
.timeline li::before { content: ""; position: absolute; left: -11px; top: 6px; width: 19px; height: 19px; background: var(--crimson); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.timeline .yr { font-family: var(--f-display); font-size: var(--step-2); color: var(--crimson); line-height: 1; display: block; margin-bottom: 8px; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); max-width: 60ch; }
.timeline img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .timeline li { grid-template-columns: 1fr; } }

.specials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 0; border: 2px solid var(--navy); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.specials div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.specials b { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .14em; color: var(--crimson); font-size: .9rem; }
.specials span { font-weight: 700; color: var(--navy); }
.specials small { color: var(--muted); font-size: .88rem; line-height: 1.45; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.values div { display: grid; gap: 8px; align-content: start; }
.values p { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Steps (Catering) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--navy); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 2.2rem; color: var(--crimson); line-height: 1; }
.steps p { color: var(--muted); }

/* Quote form */
.form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
.quote-form { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--crimson); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form label { display: grid; gap: 6px; font-family: var(--f-label); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--navy); }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); border: 1.5px solid var(--line); border-radius: 4px; padding: 12px; background: var(--paper); width: 100%; min-width: 0; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--navy); outline: 2px solid rgba(2,66,121,.2); }
.quote-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { padding: 12px 14px; border-radius: 4px; background: var(--paper-2); border-left: 4px solid var(--navy); color: var(--ink); }
@media (max-width: 560px) { .quote-form { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list b { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--crimson); }
.placeholder-text { background: #FFF3C4; padding: 0 4px; border-radius: 2px; }

/* Footer */
.site-footer { background: var(--ink); color: #B8C4D0; padding-block: 56px 28px; font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid img { width: 170px; }
.foot-grid h2 { font-family: var(--f-label); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; font-weight: 800; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #E4ECF3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Sticky mobile order bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 2px solid var(--navy); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar .btn { padding: 12px 10px; font-size: .9rem; }
  body { padding-bottom: 70px; }
}

.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 600px) { .topbar .wrap > span:first-child { display: none; } .topbar .wrap { justify-content: center; } }
@media (max-width: 860px) { .ticket { left: 12px; bottom: 14px; } }
.events-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.contact-list li > span { justify-self: start; }
