/* ============================================================
   Casa Alebrije — Cocina Mexicana & Agave Bar (demo site)
   Design language: near-black canvas, coral pill CTAs, teal
   eyebrow labels, big serif headlines w/ italic coral accents.
   Original code — layout inspiration only, nothing copied.
   ============================================================ */

:root {
  --ink: #0c0b0d;            /* page background */
  --ink-2: #141216;          /* section alt background */
  --panel: #1c191e;          /* cards */
  --panel-2: #242028;        /* raised cards */
  --line: rgba(244, 234, 216, 0.14);
  --cream: #f4ead8;          /* primary text */
  --cream-dim: #c9bfae;      /* secondary text */
  --coral: #ee5a6f;          /* CTA / accent */
  --coral-deep: #d94b60;
  --teal: #45b8a4;           /* eyebrow / icon accent */
  --gold: #e8a94b;           /* stars / marigold */
  --radius-pill: 999px;
  --radius-card: 18px;
  --font-display: "Rye", serif;               /* hero wordmark only */
  --font-serif: "Fraunces", Georgia, serif;   /* headlines */
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 18px;
}
.h-display {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.08;
  letter-spacing: -0.01em;
}
.h-display em, .accent { font-style: italic; color: var(--coral); }
.h-sub {
  color: var(--cream-dim); font-size: clamp(16px, 2vw, 19px);
  max-width: 640px; margin-top: 18px;
}
.center { text-align: center; }
.center .h-sub { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; font-family: var(--font-body); font-weight: 700;
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius-pill); padding: 17px 34px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--coral); color: #fff; }
.btn-solid:hover { background: var(--coral-deep); }
.btn-ghost { border-color: rgba(244,234,216,0.45); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); }
.btn-ghost-coral { border-color: var(--coral); color: var(--cream); background: transparent; }
.btn-ghost-coral:hover { background: rgba(238,90,111,0.12); }
.btn-block { width: 100%; }
.link-underline {
  font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 16px; display: inline-block; padding-bottom: 10px;
  border-bottom: 3px solid var(--coral); color: var(--cream);
}
.link-underline:hover { color: var(--coral); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  padding: 14px 0;
}
.site-header.scrolled { background: rgba(12,11,13,0.94); box-shadow: 0 6px 24px rgba(0,0,0,0.45); backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand .brand-fallback { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.header-phone { display: none; font-weight: 700; letter-spacing: 0.04em; color: var(--cream-dim); }
.header-phone:hover { color: var(--teal); }
.header-cta { display: none; }
.nav-toggle {
  width: 52px; height: 48px; border: none; background: transparent;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  gap: 7px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--cream); border-radius: 2px; width: 34px; transition: all 0.25s ease; }
.nav-toggle span:nth-child(2) { width: 24px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); width: 34px; }

.nav-drawer {
  position: fixed; inset: 0; z-index: 55; background: rgba(12,11,13,0.98);
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 26px 40px; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }
.nav-drawer a.nav-link {
  font-family: var(--font-serif); font-size: clamp(26px, 5vw, 38px);
  padding: 10px 0; display: block; color: var(--cream);
}
.nav-drawer a.nav-link:hover, .nav-drawer a.nav-link.active { color: var(--coral); font-style: italic; }
.nav-drawer .nav-sub a { font-size: 18px; color: var(--cream-dim); padding: 7px 0 7px 18px; display: block; }
.nav-drawer .nav-sub a:hover { color: var(--coral); }
.nav-group-label { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin: 16px 0 4px; }
.nav-drawer .drawer-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }

/* desktop inline nav */
.nav-inline { display: none; }

@media (min-width: 1020px) {
  .header-phone, .header-cta { display: inline-flex; }
  .nav-toggle, .nav-drawer { display: none; }
  .nav-inline { display: flex; align-items: center; gap: 26px; }
  .nav-inline > li { position: relative; }
  .nav-inline a.top-link {
    font-size: 13.5px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; padding: 10px 2px; display: inline-block;
  }
  .nav-inline a.top-link:hover, .nav-inline a.top-link.active { color: var(--coral); }
  .nav-inline .dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
    background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px;
    min-width: 210px; padding: 10px; opacity: 0; visibility: hidden;
    transition: all 0.18s ease; box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  }
  .nav-inline li:hover .dropdown, .nav-inline li:focus-within .dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
  .nav-inline .dropdown a { display: block; padding: 11px 16px; border-radius: 9px; font-size: 14px; font-weight: 700; }
  .nav-inline .dropdown a:hover { background: rgba(238,90,111,0.14); color: var(--coral); }
  .header-cta { padding: 13px 26px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92svh; display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: clamp(48px, 8vh, 90px);
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,11,13,0.55) 0%, rgba(12,11,13,0.25) 40%, rgba(12,11,13,0.92) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-wordmark {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(52px, 11vw, 150px); line-height: 0.95; color: #fff;
  text-shadow: 0 6px 40px rgba(0,0,0,0.55);
}
.hero-tag {
  font-family: var(--font-serif); font-size: clamp(18px, 2.6vw, 26px);
  color: var(--cream); margin-top: 22px;
}
.hero-ctas { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; max-width: 680px; }
@media (min-width: 720px) { .hero-ctas { flex-direction: row; } .hero-ctas .btn { flex: 1; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--ink-2); }

/* location card */
.loc-card {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  margin-top: 44px; border: 1px solid var(--line);
}
.loc-card .loc-bg { position: absolute; inset: 0; }
.loc-card .loc-bg img { width: 100%; height: 100%; object-fit: cover; }
.loc-card .loc-bg::after { content: ""; position: absolute; inset: 0; background: rgba(16,14,17,0.82); }
.loc-body { position: relative; z-index: 2; padding: clamp(28px, 4vw, 52px); }
.loc-name { font-family: var(--font-serif); font-style: italic; color: var(--coral); font-size: clamp(30px, 4vw, 42px); }
.loc-meta { margin-top: 20px; display: grid; gap: 12px; }
.loc-meta li { display: flex; gap: 12px; align-items: flex-start; color: var(--cream); }
.loc-meta .ico { color: var(--teal); flex: 0 0 22px; margin-top: 3px; }
.loc-meta a:hover { color: var(--teal); }
.hours-box {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; margin-top: 24px; background: rgba(12,11,13,0.35);
}
.hours-box .hours-label { display: flex; align-items: center; gap: 9px; color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; }
.hours-box table { width: 100%; border-collapse: collapse; }
.hours-box td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-box tr:last-child td { border-bottom: none; }
.hours-box td:first-child { font-weight: 800; }
.hours-box td:last-child { text-align: right; color: var(--cream-dim); }
.loc-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
@media (min-width: 860px) {
  .loc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
  .loc-ctas { flex-direction: row; }
  .loc-ctas .btn { flex: 1; }
}

/* stat band (world cup) */
.band {
  position: relative; overflow: hidden; border-radius: 0;
}
.band .band-bg { position: absolute; inset: 0; }
.band .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band .band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,18,0.93), rgba(10,12,18,0.86)); }
.band-inner { position: relative; z-index: 2; }
.stats { display: flex; gap: clamp(24px, 6vw, 64px); flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 34px; }
.stat-num { font-family: var(--font-serif); font-size: clamp(38px, 6vw, 58px); color: var(--coral); line-height: 1; }
.stat-label { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-dim); margin-top: 8px; }
.perk-list { margin-top: 30px; display: grid; gap: 13px; }
.perk-list li { display: flex; gap: 12px; align-items: baseline; }
.perk-list li::before { content: "●"; color: var(--teal); font-size: 10px; }

/* pill label */
.pill-label {
  display: inline-block; border: 1.5px solid var(--teal); color: var(--teal);
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 26px;
}

/* split cards (gift / mezcal) */
.split-grid { display: grid; gap: 22px; margin-top: 10px; }
@media (min-width: 860px) { .split-grid { grid-template-columns: 1fr 1fr; } }
.split-card {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end; border: 1px solid var(--line);
}
.split-card img.split-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,13,0.15), rgba(12,11,13,0.92) 78%); }
.split-body { position: relative; z-index: 2; padding: 30px; }
.split-body h3 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); }
.split-body p { color: var(--cream-dim); margin: 10px 0 22px; max-width: 420px; }

/* big quote */
.big-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 4.6vw, 46px); line-height: 1.3; max-width: 900px;
  margin: 0 auto; text-align: center;
}
.quote-attr { text-align: right; max-width: 900px; margin: 40px auto 0; font-weight: 800; font-size: 19px; }
.quote-attr::before { content: "—"; color: var(--coral); margin-right: 10px; }

/* kitchen gallery */
.kitchen-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.gallery { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }
.dish-card { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.dish-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dish-card:hover img { transform: scale(1.04); }
.dish-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 22px 18px;
  font-family: var(--font-serif); font-size: 22px;
  background: linear-gradient(180deg, transparent, rgba(12,11,13,0.85));
}

/* press strip */
.press { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center; align-items: center; margin-top: 34px; }
.press span {
  font-family: var(--font-serif); font-size: 19px; color: var(--cream-dim);
  letter-spacing: 0.05em; opacity: 0.85;
}

/* events list */
.event-row {
  display: grid; grid-template-columns: 82px 1fr; gap: 18px;
  padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.event-date {
  text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px;
  background: var(--panel);
}
.event-date .dow { font-size: 11px; letter-spacing: 0.2em; color: var(--teal); text-transform: uppercase; display: block; }
.event-date .dom { font-family: var(--font-serif); font-size: 30px; line-height: 1.1; display: block; }
.event-date .mon { font-size: 11px; letter-spacing: 0.2em; color: var(--cream-dim); text-transform: uppercase; display: block; }
.event-kind { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); }
.event-title { font-family: var(--font-serif); font-size: clamp(21px, 2.6vw, 27px); margin-top: 4px; }
.event-desc { color: var(--cream-dim); margin-top: 4px; font-size: 15.5px; }
.event-cta { grid-column: 2; margin-top: 8px; }
@media (min-width: 860px) {
  .event-row { grid-template-columns: 92px 1fr auto; }
  .event-cta { grid-column: auto; margin-top: 0; }
}

/* instagram band */
.insta-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 38px; }
@media (min-width: 760px) { .insta-strip { grid-template-columns: repeat(4, 1fr); } }
.insta-strip .tile { border-radius: 14px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); }
.insta-strip .tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- menu pages ---------- */
.menu-section { margin-top: 54px; }
.menu-section h2 {
  font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 36px);
  border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 10px;
}
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: none; }
.menu-item .name { font-weight: 800; font-size: 17.5px; }
.menu-item .price { font-family: var(--font-serif); color: var(--coral); font-size: 19px; white-space: nowrap; }
.menu-item .desc { grid-column: 1 / -1; color: var(--cream-dim); font-size: 15px; }
.menu-note { color: var(--cream-dim); font-size: 14px; margin-top: 26px; font-style: italic; }
.badge { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); border-radius: 999px; padding: 2px 10px; margin-left: 8px; vertical-align: 2px; }

/* ---------- estimator / forms ---------- */
.tool-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: clamp(24px, 4vw, 40px); margin-top: 40px;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); color: var(--cream);
  border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px;
  font-family: var(--font-body); font-size: 16px; min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--coral); border-color: transparent; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.thirds { grid-template-columns: 1fr 1fr 1fr; } }
.quote-box {
  border: 1.5px solid var(--coral); border-radius: 14px; padding: 24px;
  margin-top: 8px; background: rgba(238,90,111,0.07);
}
.quote-line { display: flex; justify-content: space-between; padding: 7px 0; color: var(--cream-dim); font-size: 15.5px; }
.quote-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; font-weight: 800; font-size: 21px; }
.quote-total .amt { font-family: var(--font-serif); color: var(--coral); font-size: 27px; }
.form-note { font-size: 13.5px; color: var(--cream-dim); margin-top: 14px; }
.form-success {
  display: none; border: 1.5px solid var(--teal); background: rgba(69,184,164,0.1);
  border-radius: 14px; padding: 22px; margin-top: 18px; color: var(--cream);
}
.form-success.show { display: block; }

/* ---------- maps ---------- */
.map-frame { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); height: 420px; margin-top: 40px; }
.map-frame .map { height: 100%; width: 100%; background: var(--panel); }
.leaflet-container { font-family: var(--font-body); }

/* ---------- reviews ---------- */
.stars { color: var(--gold); letter-spacing: 3px; font-size: 18px; }
.review-grid { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 860px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.review-card blockquote { font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.5; }
.review-who { margin-top: 18px; display: flex; justify-content: space-between; gap: 10px; color: var(--cream-dim); font-size: 14.5px; }
.review-who b { color: var(--cream); }

/* trust strip */
.trust-strip {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--panel); padding: 24px; margin-top: 46px;
}
@media (min-width: 760px) { .trust-strip { grid-template-columns: 1fr 1fr 1fr; text-align: center; } }
.trust-cell b { display: block; font-family: var(--font-serif); font-size: 21px; }
.trust-cell span { color: var(--cream-dim); font-size: 14px; }

/* ---------- page hero (interior pages) ---------- */
.page-hero { position: relative; padding: 170px 0 80px; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,13,0.72), rgba(12,11,13,0.94)); }
.page-hero .wrap { position: relative; z-index: 2; }

/* ---------- footer ---------- */
.site-footer { background: #09080a; border-top: 1px solid var(--line); padding: 70px 0 40px; margin-top: 0; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 64px; margin-bottom: 18px; }
.footer-brand p { color: var(--cream-dim); font-size: 15px; max-width: 300px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--cream-dim); font-size: 15.5px; }
.footer-col a:hover { color: var(--coral); }
.footer-legal {
  border-top: 1px solid var(--line); margin-top: 50px; padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  color: rgba(201,191,174,0.65); font-size: 13px;
}

/* call FAB (mobile) */
.call-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(238,90,111,0.45); color: #fff;
}
@media (min-width: 1020px) { .call-fab { display: none; } }

/* misc */
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
/* mobile-header v1: on phones the header scrolls away with the page instead of riding along. */
@media(max-width:760px){.site-header{position:absolute}}
