/* Site layout — extracted from design blueprint (design/website/standalone-src.html) */

/* ============ BASE ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 96px) 0; }

/* ============ HEADER ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--masa-100) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand__mark {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  background: var(--buganvilla-500);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 2.5px solid var(--cocoa-900);
}
.brand__mark img { width: 90%; height: 90%; object-fit: contain; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--primary); letter-spacing: -0.01em; }
.brand__sub { font-family: var(--font-body); font-weight: 800; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg3); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-weight: 700; font-size: 15px; color: var(--fg2); text-decoration: none; transition: color .15s; }
.nav__links a:hover { color: var(--primary); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: var(--r-md); border: 1.5px solid var(--border-strong); background: var(--bg-raised); color: var(--fg1); font-size: 24px; cursor: pointer; }

/* ============ PAPEL PICADO sway ============ */
.picado-wrap { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .picado-wrap .flag { animation: sway 4.5s ease-in-out infinite; transform-origin: top center; }
  .picado-wrap .flag:nth-child(even){ animation-delay: -2.25s; }
}
@keyframes sway { 0%,100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; text-align: center; padding: clamp(40px,7vw,72px) 0 clamp(48px,8vw,84px); display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.hero__sign { width: min(820px, 100%); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 3px solid var(--cocoa-900); margin: 22px 0 4px; }
.hero__hand { font-family: var(--font-hand); font-weight: 700; font-size: clamp(26px,4.5vw,40px); color: var(--accent); transform: rotate(-5deg); margin: 16px 0 6px; }
.hero__sub { font-size: clamp(17px,2.2vw,21px); line-height: 1.55; color: var(--fg2); max-width: 36ch; margin: 8px auto 0; font-weight: 500; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.hero__glow { position: absolute; inset: 0; z-index: -1; }

/* mascot accents */
.hero__mascot { position: absolute; bottom: -8px; width: clamp(96px,13vw,168px); opacity: .96; pointer-events: none; filter: drop-shadow(0 12px 18px rgba(58,36,24,.22)); }
.hero__mascot--l { left: clamp(-30px,2vw,40px); transform: rotate(-8deg) scaleX(-1); }
.hero__mascot--r { right: clamp(-30px,2vw,40px); transform: rotate(8deg); }

/* ============ VALUE STRIP ============ */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { background: var(--bg-raised); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 22px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.value i { font-size: 32px; }
.value:nth-child(1) i { color: var(--accent-3); }
.value:nth-child(2) i { color: var(--lima-600); }
.value:nth-child(3) i { color: var(--maiz-600); }
.value:nth-child(4) i { color: var(--accent); }
.value h4 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0; }
.value p { margin: 0; font-size: 13.5px; color: var(--fg3); line-height: 1.45; }

/* ============ SECTION HEAD ============ */
.shead { text-align: center; max-width: 640px; margin: 0 auto clamp(36px,5vw,52px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.shead h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px,4.4vw,46px); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.shead p { margin: 0; font-size: clamp(16px,2vw,18px); color: var(--fg2); line-height: 1.6; }

/* ============ ABOUT ============ */
.about { position: relative; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px,5vw,60px); align-items: center; }
.about__art { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--cocoa-900); background: var(--buganvilla-500); aspect-ratio: 4/3.4; display: grid; place-items: center; }
.about__art img { width: 78%; }
.about__art .lg-badge { position: absolute; right: -22px; bottom: -22px; --size: 116px; }

/* two-photo arrangement */
.about__photos { position: relative; --frame-color: var(--cocoa-900); }
/* layout: stacked (default) */
.about__photos[data-layout="stacked"] { display: grid; gap: 16px; }
.about__photos[data-layout="stacked"] img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: var(--r-lg); border: 3px solid var(--frame-color); box-shadow: var(--shadow-md); }
/* layout: side by side */
.about__photos[data-layout="side"] { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__photos[data-layout="side"] img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: var(--r-lg); border: 3px solid var(--frame-color); box-shadow: var(--shadow-md); }
/* layout: collage */
.about__photos[data-layout="collage"] { display: block; padding: 18px 26px 58px 22px; }
.about__photos[data-layout="collage"] .about-photo-1 { width: 86%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); border: 3px solid var(--frame-color); box-shadow: var(--shadow-lg); }
.about__photos[data-layout="collage"] .about-photo-2 { position: absolute; right: 0; bottom: 0; width: 33%; aspect-ratio: 3 / 4; object-fit: cover; z-index: 3; border-radius: var(--r-lg); border: 3px solid var(--masa-50); box-shadow: var(--shadow-lg); }
/* badge */
.about__photos .lg-badge { position: absolute; right: -22px; bottom: -22px; --size: 116px; z-index: 4; }
.about__photos[data-layout="collage"] .lg-badge { right: auto; bottom: auto; left: -14px; top: -14px; --size: 104px; }
.about h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,4vw,42px); line-height: 1.06; letter-spacing: -0.015em; margin: 12px 0 0; }
.about h2 em { font-style: normal; color: var(--primary); }
.about p { font-size: clamp(16px,2vw,18px); line-height: 1.65; color: var(--fg2); margin: 18px 0 0; }
.about__pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ============ MENU IMAGES ============ */
.menu-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.menu-card { position: relative; border: 0; background: transparent; padding: 0; cursor: zoom-in; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 2px solid var(--maiz-500); transition: transform .18s cubic-bezier(.34,1.4,.64,1), box-shadow .18s; }
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.menu-card img { width: 100%; }
.menu-card .zoom-hint { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, var(--cocoa-900) 82%, transparent); color: var(--fg-on-dark); font-weight: 800; font-size: 12px; padding: 7px 12px; border-radius: var(--r-pill); }
.menu-note { text-align: center; margin-top: 22px; color: var(--fg3); font-size: 14px; }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(42,26,18,.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--masa-50); color: var(--cocoa-900); font-size: 26px; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--masa-50); color: var(--cocoa-900); font-size: 26px; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }

/* ============ OUR FOOD ============ */
.food-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.food { display: flex; flex-direction: column; background: var(--bg-raised); border: 1.5px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border-top-width: 5px; transition: transform .18s cubic-bezier(.34,1.4,.64,1), box-shadow .18s; }
.food:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.food:nth-child(6n+1){ border-top-color: var(--chili-500); }
.food:nth-child(6n+2){ border-top-color: var(--maiz-500); }
.food:nth-child(6n+3){ border-top-color: var(--teal-500); }
.food:nth-child(6n+4){ border-top-color: var(--lima-500); }
.food:nth-child(6n+5){ border-top-color: var(--rosa-500); }
.food:nth-child(6n+6){ border-top-color: var(--buganvilla-500); }
.food__photo { height: 198px; background: var(--masa-300); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--comal-500); position: relative; overflow: hidden; }
.food__photo img { width: 100%; height: 100%; object-fit: cover; }
.food__photo i { font-size: 44px; }
.food__photo span { font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.food__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.food__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; margin: 0; display: flex; align-items: center; gap: 9px; }
.food__body h3 i { font-size: 22px; }
.food:nth-child(6n+1) h3 i { color: var(--chili-500); }
.food:nth-child(6n+2) h3 i { color: var(--maiz-600); }
.food:nth-child(6n+3) h3 i { color: var(--teal-500); }
.food:nth-child(6n+4) h3 i { color: var(--lima-600); }
.food:nth-child(6n+5) h3 i { color: var(--rosa-500); }
.food:nth-child(6n+6) h3 i { color: var(--buganvilla-500); }
.food__body p { margin: 0; color: var(--fg2); font-size: 15px; line-height: 1.55; }

/* ============ REVIEWS ============ */
.reviews { background: var(--teal-50); }
.reviews__rating { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 8px; }
.reviews__stars { color: var(--maiz-500); font-size: 26px; display: flex; gap: 3px; }
.reviews__rating b { font-family: var(--font-display); font-size: 30px; color: var(--fg1); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev { background: var(--bg-raised); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.rev__head { display: flex; align-items: center; gap: 12px; }
.rev__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 19px; flex: none; }
.rev__name { font-weight: 800; font-size: 15px; color: var(--fg1); }
.rev__meta { font-size: 12.5px; color: var(--fg3); display: flex; align-items: center; gap: 5px; }
.rev__stars { color: var(--maiz-500); font-size: 15px; letter-spacing: 1px; }
.rev p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg2); }
.rev__g { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--fg3); }
.reviews__cta { text-align: center; margin-top: 38px; }

/* ============ VISIT US ============ */
.visit-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px,4vw,44px); align-items: stretch; }
.visit__info { display: flex; flex-direction: column; gap: 4px; }
.visit__row { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1.5px solid var(--border); }
.visit__row:last-of-type { border-bottom: 0; }
.visit__ic { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 22px; flex: none; }
.visit__ic--pin { background: var(--buganvilla-50); color: var(--primary); }
.visit__ic--clock { background: var(--teal-50); color: var(--teal-600); }
.visit__ic--phone { background: var(--lima-50); color: var(--lima-600); }
.visit__ic--mail { background: var(--maiz-50); color: var(--maiz-700); }
.visit__row h4 { font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg3); margin: 2px 0 5px; }
.visit__row p, .visit__row a { margin: 0; font-size: 16px; line-height: 1.55; color: var(--fg1); text-decoration: none; font-weight: 600; }
.visit__row a:hover { color: var(--primary); }
.visit__hours span { display: block; font-size: 15px; color: var(--fg2); line-height: 1.7; font-weight: 600; }
.visit__hours .closed { color: var(--chili-600); }
.visit__map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 2px solid var(--cocoa-900); min-height: 380px; }
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.visit__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ============ FOOTER ============ */
.footer { background: var(--cocoa-900); color: var(--fg-on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: clamp(48px,6vw,64px) 0 36px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .brand__mark { border-color: var(--maiz-500); }
.footer__brand .brand__name { color: var(--maiz-500); }
.footer__brand .brand__sub { color: var(--fg-on-dark-2); }
.footer p.tag { color: var(--fg-on-dark-2); font-size: 14.5px; line-height: 1.6; max-width: 34ch; margin: 18px 0 0; }
.footer h5 { font-family: var(--font-body); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--maiz-500); margin: 0 0 16px; }
.footer__row { display: flex; gap: 11px; align-items: flex-start; color: var(--fg-on-dark-2); font-size: 14.5px; line-height: 1.5; margin-bottom: 12px; text-decoration: none; }
.footer__row i { color: var(--rosa-300); font-size: 18px; flex: none; margin-top: 1px; }
a.footer__row:hover { color: var(--fg-on-dark); }
.footer__social { display: flex; gap: 12px; margin-top: 4px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--cocoa-900); background: var(--maiz-500); text-decoration: none; transition: transform .15s cubic-bezier(.34,1.56,.64,1), background-color .15s; }
.footer__social a:hover { transform: translateY(-3px) scale(1.05); background: var(--rosa-300); }
.footer__bottom { border-top: 1px solid var(--border-on-dark); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--fg-on-dark-2); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .visit-grid { grid-template-columns: 1fr; }
  .food-grid, .rev-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav__cta .btn span.cta-label { display: inline; }
  .split { grid-template-columns: 1fr; }
  .about__art, .about__photos { order: -1; }
  .menu-imgs { grid-template-columns: 1fr; }
  .food-grid, .rev-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .brand__sub { display: none; }
}
@media (max-width: 460px) {
  .values { grid-template-columns: 1fr; }
  .nav__cta .btn--icon-only span.cta-label { display: none; }
  .brand__name { display: none; }
}

/* mobile dropdown menu */
.mobile-menu { display: none; position: fixed; inset: 72px 0 auto 0; z-index: 55; background: var(--masa-50); border-bottom: 1.5px solid var(--border); box-shadow: var(--shadow-md); padding: 12px 20px 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 6px; font-weight: 700; font-size: 17px; color: var(--fg1); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: 0; }
