/* ==========================================================================
   EL SAUZ FAMILY RESTAURANT — style.css
   Palette + layout system. Edit the variables below to retune the whole site.
   ========================================================================== */

:root {
  /* Browns */
  --brown-darkest: #1d0f08;
  --brown-dark: #4a2c17;   /* header / footer coffee brown */
  --brown-deep: #5a3620;   /* welcome coffee brown */
  --brown-coffee: #4a2c17;
  --brown-medium: #6b4227;
  --brown-light: #96683c;
  --brown-pale: #c9a37a;

  /* Lights */
  --cream: #f7efe1;
  --parchment: #f2e6d0;
  --beige: #e3d2b6;

  /* Accents */
  --burgundy: #6e1420;
  --burgundy-dark: #520d17;
  --burgundy-light: #8a1d2b;
  --gold: #c9a227;
  --gold-soft: #e0c168;

  --text-dark: #2f1c12;
  --text-body: #4a3123;
  --text-light: #f7efe1;
  --text-muted: #d8c3a5;

  --font-head: "Playfair Display", "Georgia", serif;
  --font-script: "Great Vibes", "Segoe Script", cursive;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 6px;
  --shadow-card: 0 10px 24px rgba(29, 15, 8, .22);
  --shadow-soft: 0 4px 14px rgba(29, 15, 8, .16);
  --wrap: 1320px;
  --header-h: 104px;
  --ease: cubic-bezier(.32, .72, .35, 1);
}

/* ---------- Solid brown + parchment surfaces ---------------------------- */
.wood {
  background-color: var(--brown-coffee);
  background-image: none;
}

.parchment {
  background-color: var(--parchment);
  background-image:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(60% 50% at 10% 100%, rgba(201, 163, 122, .28), transparent 70%),
    radial-gradient(60% 50% at 90% 90%, rgba(201, 163, 122, .22), transparent 70%);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe, svg { max-width: 100%; }
img, video { display: block; height: auto; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
a { color: inherit; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding: 62px 0 68px; position: relative; }
.section--parchment { background-color: var(--parchment); }
.section--parchment::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, .65), transparent 70%),
    radial-gradient(60% 50% at 8% 100%, rgba(201, 163, 122, .3), transparent 70%),
    radial-gradient(60% 50% at 92% 92%, rgba(201, 163, 122, .24), transparent 70%);
}
.section--parchment > .container { position: relative; z-index: 1; }
.section--cream { background: linear-gradient(180deg, var(--cream), #f1e5d2); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--burgundy); color: var(--cream); padding: 10px 16px;
  border-radius: var(--radius); transition: top .2s;
}
.skip-link:focus { top: 12px; }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

/* ---------------------------- Section titles ---------------------------- */
.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  color: var(--brown-deep);
  text-align: center;
  letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-bottom: 34px;
}
.script-title { font-family: var(--font-script); font-weight: 400; font-size: 1.35em; line-height: 1; color: var(--burgundy); }

.section-intro {
  max-width: 74ch; margin: -14px auto 30px; text-align: center;
  color: var(--text-body); font-size: 1.04rem;
}
.section-cta { margin: 6px 0 0; text-align: center; }

.flourish {
  flex: 0 1 130px; height: 14px; position: relative;
  background:
    linear-gradient(90deg, transparent, var(--gold) 55%, var(--gold)) center/100% 2px no-repeat;
  opacity: .85;
}
.flourish::after {
  content: ""; position: absolute; right: -3px; top: 50%; width: 9px; height: 9px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}
.flourish--right { transform: scaleX(-1); }

.gold-divider {
  display: block; width: 190px; max-width: 60%; height: 10px; margin: 4px 0 20px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0)) left center/100% 2px no-repeat;
  position: relative;
}
.gold-divider::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg); background: var(--gold);
}
.gold-divider--center { margin-inline: auto; background-position: center;
  background-image: linear-gradient(90deg, rgba(201, 162, 39, 0), var(--gold), rgba(201, 162, 39, 0)); }
.gold-divider--center::before { left: 50%; transform: translate(-50%, -50%) rotate(45deg); }

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .92rem;
  color: var(--cream);
  background: linear-gradient(180deg, var(--burgundy-light), var(--burgundy));
  border: 1px solid rgba(201, 162, 39, .55);
  border-radius: 4px;
  padding: 14px 30px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(29, 15, 8, .3), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: background .25s, transform .2s, border-color .25s;
}
.btn:hover {
  background: linear-gradient(180deg, var(--burgundy), var(--burgundy-dark));
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn--sm { padding: 11px 20px; font-size: .82rem; }

/* ================================ HEADER ================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background-color: var(--brown-coffee);
  background-image: none;
  border-bottom: 3px solid var(--burgundy);
  box-shadow: 0 3px 0 rgba(201, 162, 39, .35), 0 8px 22px rgba(0, 0, 0, .35);
}
.header-inner {
  max-width: var(--wrap); margin-inline: auto; padding: 8px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 88px; width: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }

.primary-nav { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  font-family: var(--font-body);
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .86rem;
  font-weight: 600;
  padding: 8px 2px;
  transition: color .22s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--gold-soft); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-divider { width: 1px; height: 26px; background: linear-gradient(180deg, transparent, rgba(201, 162, 39, .8), transparent); }

.social-list { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-btn {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid rgba(201, 162, 39, .6); border-radius: 50%;
  color: var(--cream); background: rgba(0, 0, 0, .28);
  transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.social-btn svg { width: 19px; height: 19px; fill: currentColor; }
.social-btn:hover { background: var(--burgundy); color: var(--gold-soft); border-color: var(--gold); transform: translateY(-2px); }

/* hamburger */
.nav-toggle {
  display: none; width: 46px; height: 42px; border-radius: 4px;
  background: rgba(0, 0, 0, .3); border: 1px solid rgba(201, 162, 39, .5);
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; place-items: center; }
.nav-toggle-bars i { display: block; width: 22px; height: 2px; background: var(--cream); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  :root { --header-h: 78px; }
  .brand img { height: 62px; }
  .nav-toggle { display: grid; place-items: center; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background-color: var(--brown-coffee);
    background-image: none;
    border-bottom: 3px solid var(--burgundy);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .45);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s var(--ease), visibility .3s;
  }
  .primary-nav.is-open { max-height: 70vh; visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; }
  .nav-links li { border-bottom: 1px solid rgba(201, 162, 39, .18); }
  .nav-link { display: block; padding: 15px 26px; font-size: .95rem; }
  .nav-link::after { display: none; }
  .nav-divider { width: auto; height: 1px; margin: 0 26px; background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .7), transparent); }
  .social-list { padding: 18px 26px 24px; gap: 14px; }
  .social-btn { width: 44px; height: 44px; }
}

/* ============================== CAROUSEL ================================ */
.carousel { position: relative; padding: 0 54px 46px; }
.carousel.is-static { padding: 0 54px 4px; }
.car-viewport { overflow: hidden; }
.car-track {
  display: flex; list-style: none; margin: 0; padding: 4px;
  transition: transform .4s var(--ease);
  will-change: transform;
}
.car-item { flex: 0 0 var(--slide-w, 25%); padding: 0 10px; display: flex; }

/* Food / drink card */
.card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: #fff;
  border: 1px solid rgba(43, 24, 16, .35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card-media { position: relative; aspect-ratio: 4 / 3.55; overflow: hidden; background: var(--beige); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card-label {
  background: linear-gradient(180deg, var(--burgundy-light), var(--burgundy-dark));
  color: var(--cream);
  text-align: center;
  padding: 13px 12px;
  flex: 1 0 auto;
  display: grid; place-items: center;
  min-height: 64px;
  border-top: 2px solid rgba(201, 162, 39, .45);
}
.card-label span, .card-label .card-title {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 1.02rem;
  line-height: 1.25;
  margin: 0;
}
button.card { cursor: pointer; padding: 0; font: inherit; color: inherit; text-align: inherit; }
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(29, 15, 8, .3); }
.card:hover .card-media img, .card:focus-visible .card-media img { transform: scale(1.05); }

/* arrows */
.car-arrow {
  position: absolute; top: calc(50% - 24px); transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; z-index: 3;
  background: linear-gradient(180deg, var(--burgundy-light), var(--burgundy-dark));
  border: 1px solid rgba(201, 162, 39, .6);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
  transition: background .25s, transform .2s, opacity .25s;
}
.car-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.car-arrow:hover { background: var(--brown-deep); border-color: var(--gold); }
.car-arrow--prev { left: 0; }
.car-arrow--next { right: 0; }
.car-arrow[disabled] { opacity: .35; cursor: default; }

/* dots */
.car-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 10px; }
.car-dot {
  width: 12px; height: 12px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 1px solid rgba(43, 24, 16, .35);
  background: var(--brown-pale);
  transition: background .25s, transform .25s;
}
.car-dot[aria-selected="true"] { background: var(--burgundy); transform: scale(1.2); }

@media (max-width: 920px) {
  .carousel { padding: 0 44px 44px; }
}
@media (max-width: 620px) {
  .carousel { padding: 0 8px 46px; }
  .car-arrow { top: auto; bottom: -4px; transform: none; width: 42px; height: 42px; }
  .car-arrow--prev { left: 4px; }
  .car-arrow--next { right: 4px; }
  .car-dots { bottom: 12px; }
  .car-item { padding: 0 8px; }
}

/* ============================== WELCOME ================================= */
.welcome {
  padding: 0;
  background-color: var(--brown-deep);
  background-image: none;
  border-top: 3px solid var(--burgundy);
  border-bottom: 3px solid var(--burgundy);
}
.welcome-grid {
  max-width: 1560px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); align-items: center;
}
.welcome-copy { padding: 74px clamp(24px, 5vw, 80px) 74px clamp(24px, 6vw, 110px); color: var(--text-light); }
.script-line {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--gold-soft);
  margin: 0 0 -.15em;
  line-height: 1;
}
.welcome-title {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--cream);
  margin: .25em 0 .1em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .5);
}
.welcome-copy p { color: var(--text-muted); max-width: 54ch; font-size: 1.04rem; }
.welcome-photo { position: relative; align-self: stretch; min-height: 420px; }
.welcome-photo img {
  width: 100%; height: 100%; object-fit: cover;
}

@media (max-width: 980px) {
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-copy { padding: 54px 24px 40px; }
  .welcome-photo { min-height: 300px; height: 46vw; max-height: 420px; }
}

/* ============================== TACO CART =============================== */
.tacocart {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--brown-deep);
  border-block: 3px solid var(--burgundy);
}
.tacocart-photo { position: relative; min-height: 300px; }
.tacocart-photo img { width: 100%; height: 100%; object-fit: cover; }
.tacocart-copy {
  display: grid; align-content: center; justify-items: center; text-align: center;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px);
  color: var(--cream);
}
.tacocart-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-style: italic;
  letter-spacing: .01em;
  margin: 0 0 .35em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .45);
}
.tacocart-min {
  font-family: var(--font-head); font-style: italic; font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--gold-soft); margin: 0 0 1.4em;
}
.tacocart-note { margin: 0; color: var(--gold-soft); font-size: clamp(.95rem, 1.5vw, 1.08rem); }
.tacocart-note a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(201, 162, 39, .45); }
.tacocart-note a:hover { color: var(--gold); }

@media (max-width: 820px) {
  .tacocart { grid-template-columns: 1fr; }
  .tacocart-photo { height: 54vw; max-height: 380px; }
}

/* ============================== LOCATIONS =============================== */
.locations { background: #241811; border-top: 3px solid var(--burgundy); padding: 46px 24px 52px; }
.locations-grid {
  max-width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px);
  list-style: none; padding: 0;
}
.location { color: var(--text-muted); text-align: center; }
.location-logo { height: clamp(58px, 6vw, 78px); width: auto; margin: 0 auto 16px; object-fit: contain; }
.location-phone { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--cream); margin: 0 0 4px; }
.location-phone a { text-decoration: none; }
.location-phone a:hover { color: var(--gold-soft); }
.location address { font-style: normal; font-size: .96rem; line-height: 1.5; }

@media (max-width: 780px) {
  .locations-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ============================== FULL BAR ================================ */
.fullbar { position: relative; isolation: isolate; background: var(--brown-darkest); }
.fullbar-img {
  width: 100%; height: clamp(300px, 34vw, 460px); display: block;
  background-image: url("../images/full-bar-banner.jpg");
  background-position: center 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 920px), (hover: none) {
  .fullbar-img { background-attachment: scroll; }
}
.fullbar::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(58% 100% at 50% 50%, rgba(30, 12, 6, .62), rgba(30, 12, 6, .12) 70%, transparent 85%),
    linear-gradient(180deg, rgba(30, 12, 6, .25), rgba(30, 12, 6, .3));
}
.fullbar { border-block: 3px solid var(--burgundy); }
.fullbar-text {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; text-align: center;
  padding: 20px;
}
.fullbar-text h2 {
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cream);
  margin: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .75);
}
.fullbar-text h2::after {
  content: ""; display: block; width: 60%; height: 2px; margin: .35em auto .3em;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.fullbar-text p {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  color: var(--gold-soft);
  margin: 0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .7);
}

/* ============================ DRINK CARDS =============================== */
.drink-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.drink-card .card-media { aspect-ratio: 4 / 3.7; }
.drink-card .card-label span {
  font-family: var(--font-script);
  color: var(--cream);
  text-transform: none;
  letter-spacing: .02em;
  font-size: 2.05rem;
  line-height: 1.2;
}
@media (max-width: 900px) { .drink-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .drink-grid { grid-template-columns: 1fr; gap: 20px; } }

/* =============================== FOOTER ================================= */
.site-footer {
  color: var(--text-muted);
  background-color: var(--brown-coffee);
  background-image: none;
  border-top: 3px solid var(--burgundy);
  box-shadow: inset 0 3px 0 rgba(201, 162, 39, .3);
}
.footer-grid {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: clamp(24px, 3.4vw, 46px);
  padding-top: 56px; padding-bottom: 42px;
}
.footer-col { position: relative; }
.footer-heading {
  font-size: 1.18rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--cream); margin-bottom: 18px; padding-bottom: 10px; position: relative;
}
.footer-heading::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 2px; background: var(--gold);
}
.map-frame {
  border: 2px solid rgba(201, 162, 39, .4); border-radius: 4px; overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .4); margin-bottom: 16px; background: #241108;
}
.map-frame iframe { display: block; width: 100%; height: 172px; border: 0; filter: saturate(.9) brightness(.95); }
.site-footer address { font-style: normal; margin-bottom: 16px; line-height: 1.6; }

.phone a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.32rem; color: var(--cream); text-decoration: none;
  transition: color .22s;
}
.phone svg { width: 22px; height: 22px; fill: var(--gold); flex: none; }
.phone a:hover { color: var(--gold-soft); }
.footer-note { font-size: .95rem; }

.hours-list { list-style: none; margin: 0; padding: 0; font-size: .97rem; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 5px 0; border-bottom: 1px dashed rgba(201, 162, 39, .18);
}
.hours-list li span:first-child { color: var(--cream); font-weight: 600; }
.hours-list li.is-today { color: var(--gold-soft); }
.hours-list li.is-today span:first-child { color: var(--gold-soft); }
.open-status {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 3px; margin: 0 0 12px;
  border: 1px solid rgba(201, 162, 39, .5); color: var(--cream); background: rgba(0, 0, 0, .3);
}
.open-status.is-open { background: rgba(52, 92, 40, .55); }
.open-status.is-closed { background: rgba(110, 20, 32, .6); }

.footer-social { display: flex; gap: 14px; list-style: none; margin: 0 0 18px; padding: 0; }
.footer-social a {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: var(--cream); background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(201, 162, 39, .55);
  transition: background .22s, color .22s, transform .22s, border-color .22s;
}
.footer-social svg { width: 27px; height: 27px; fill: currentColor; }
.footer-social a:hover { background: var(--burgundy); color: var(--gold-soft); border-color: var(--gold); transform: translateY(-3px); }
.footer-cactus { width: 108px; color: var(--brown-pale); opacity: .22; margin-top: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, .22);
  text-align: center; padding: 18px 24px;
  font-size: .88rem; color: rgba(216, 195, 165, .8);
  background: rgba(0, 0, 0, .25);
}
.footer-bottom p { margin: 0; }
.credit-link { color: var(--gold-soft); text-decoration: none; border-bottom: 1px solid rgba(201, 162, 39, .4); transition: color .22s, border-color .22s; }
.credit-link:hover { color: var(--gold); border-color: var(--gold); }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; padding-top: 42px; }
  .footer-cactus { display: none; }
}

/* ================================ MODAL ================================= */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 9, 4, .82); backdrop-filter: blur(3px); animation: fade .28s var(--ease); }
.modal-panel {
  position: relative; z-index: 2;
  width: min(560px, 100%); max-height: min(88vh, 860px); overflow: auto;
  padding: 34px 32px 30px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, .5);
  background-color: var(--cream);
  background-image:
    radial-gradient(90% 60% at 50% 0%, #fff8ec, transparent 70%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  animation: pop .3s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-panel { animation: none; }
  .car-track { transition: none; }
}
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--burgundy); color: var(--cream); border: 1px solid rgba(201, 162, 39, .5);
  transition: background .22s, transform .2s;
}
.modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.modal-close:hover { background: var(--burgundy-dark); transform: rotate(90deg); }
.modal-title {
  font-size: clamp(1.4rem, 3.4vw, 1.9rem); text-transform: uppercase; letter-spacing: .05em;
  color: var(--brown-deep); margin: 4px 30px 6px;
}
.modal-media { border: 1px solid rgba(43, 24, 16, .35); border-radius: 5px; overflow: hidden; box-shadow: var(--shadow-soft); }
.modal-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.modal-desc { margin: 18px 4px 0; color: var(--text-body); }
body.modal-open { overflow: hidden; }
