/* ==========================================================================
   La Margarita 66 — Mexican Restaurant & Event Center
   Sapulpa, OK
   ========================================================================== */

:root {
  --bg:        #0a0906;
  --bg-2:      #141008;
  --bg-3:      #1e1810;
  --line:      #2a2318;

  --gold:      #d4a24c;
  --gold-hi:   #f0c76b;
  --gold-mute: #8a6a30;

  --red:       #c44536;
  --red-hi:    #e0604f;

  --green:     #4c7a54;
  --green-hi:  #6ea377;

  --cream:     #f5efe0;
  --cream-2:   #d8d0bd;
  --cream-mute:#9d9581;

  --radius:    14px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(0,0,0,.5), 0 10px 30px rgba(0,0,0,.35);
  --shadow-2: 0 1px 2px rgba(0,0,0,.5), 0 20px 60px rgba(0,0,0,.55);

  --ease: cubic-bezier(.2, .8, .2, 1);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  --serif:  "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
  --sans:   "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-hi); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; top: -100px; left: 12px;
  background: var(--gold); color: var(--bg);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  z-index: 100;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ==========================================================================
   Section chrome
   ========================================================================== */

section { padding: clamp(64px, 9vw, 120px) 0; }

.section-kicker {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 0 4px;
  line-height: 1;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--cream);
}

.section-lede {
  color: var(--cream-2);
  max-width: 60ch;
  font-size: 1.05rem;
  margin: 0 0 20px;
}

.section-head { margin-bottom: clamp(32px, 5vw, 56px); text-align: center; }
.section-head .section-lede { margin-inline: auto; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid transparent;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold-hi); }
.link-arrow:hover span { transform: translateX(4px); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-small { padding: 10px 18px; font-size: .9rem; }

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 8px 22px -8px rgba(212, 162, 76, 0.6);
}
.btn-primary:hover { background: var(--gold-hi); color: var(--bg); box-shadow: 0 12px 30px -8px rgba(240, 199, 107, 0.7); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 239, 224, 0.25);
}
.btn-ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 9, 6, 0.75);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header[data-scroll="scrolled"] {
  background: rgba(10, 9, 6, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--cream);
  text-decoration: none;
}
.brand:hover { color: var(--gold-hi); }
.brand-mark { color: var(--gold); flex: 0 0 auto; }
.brand-text { display: inline-flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.brand-suffix {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1.5px solid var(--gold-mute);
  border-radius: 6px;
}

.site-nav {
  margin-inline-start: auto;
  display: flex; gap: 28px;
  font-size: .95rem;
  font-weight: 500;
}
.site-nav a { color: var(--cream-2); }
.site-nav a:hover { color: var(--gold-hi); }

.cta-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--gold-mute);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.cta-phone span { white-space: nowrap; }
.cta-phone:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .header-inner { gap: 12px; padding-block: 12px; }
  .cta-phone { margin-inline-start: auto; padding: 8px 14px; font-size: .85rem; }
}

@media (max-width: 420px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 1.15rem; }
  .brand-suffix { font-size: .78rem; padding: 2px 6px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .cta-phone { padding: 8px 12px; font-size: .82rem; gap: 6px; }
  .cta-phone svg { width: 14px; height: 14px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-block: clamp(96px, 14vw, 180px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(196, 69, 54, 0.20), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(76, 122, 84, 0.20), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0e0b07 100%);
}

.hero-glow {
  position: absolute;
  top: 20%; left: 50%; transform: translateX(-50%);
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.10) 0%, transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-agave {
  position: absolute;
  right: -80px; bottom: -60px;
  width: 480px; max-width: 55vw;
  color: var(--gold-mute);
  opacity: 0.28;
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; }

.eyebrow {
  font-size: .82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-mute);
  margin: 0 0 18px;
}
.eyebrow span { color: var(--gold); }

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0;
  line-height: 1;
}
.hero-title-script {
  display: block;
  font-family: var(--script);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 8.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 4px 30px rgba(212, 162, 76, 0.35);
}
.hero-title-line {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  color: var(--cream);
  letter-spacing: 0.02em;
}
.hero-title-line .amp { color: var(--red-hi); font-style: normal; }

.hero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream-2);
  margin: 22px 0 32px;
}
.hero-tag em { color: var(--gold); font-style: italic; }

.hero-cta {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-facts {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  font-size: .95rem;
  color: var(--cream-2);
}
.hero-facts span { color: var(--gold); margin-right: 6px; }

/* ==========================================================================
   About
   ========================================================================== */

.about { background: var(--bg-2); border-block: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-copy p { color: var(--cream-2); margin: 0 0 16px; }

.about-callout {
  background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid; gap: 24px;
  box-shadow: var(--shadow-1);
}

.callout-row { display: grid; gap: 4px; }
.callout-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.callout-num span {
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--cream-mute);
  margin-left: 6px;
  font-weight: 500;
}
.callout-lbl { color: var(--cream-2); font-size: .95rem; }

/* ==========================================================================
   Menu
   ========================================================================== */

.menu { background: var(--bg); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.dish {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.dish:hover { border-color: var(--gold-mute); transform: translateY(-3px); background: var(--bg-3); }

.dish-photo {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(196, 69, 54, 0.25), transparent 55%),
    linear-gradient(135deg, var(--bg-3) 0%, #2a2013 100%);
  display: grid; place-items: center;
  color: var(--gold-mute);
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}
.dish-photo svg { width: 60%; height: 60%; opacity: .55; }
.dish-photo::after {
  content: attr(data-tag);
  position: absolute; top: 10px; right: 10px;
  background: rgba(10,9,6,0.85);
  color: var(--gold);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--gold-mute);
}

.dish-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cream);
  margin: 0 0 8px;
}
.dish-desc { color: var(--cream-2); font-size: .96rem; margin: 0 0 10px; }
.dish-note {
  font-family: var(--script);
  color: var(--gold);
  font-size: 1.1rem;
  margin: 8px 0 0;
  line-height: 1.2;
}

.dish-drink .dish-photo {
  background:
    radial-gradient(circle at 40% 30%, rgba(76, 122, 84, 0.3), transparent 55%),
    linear-gradient(135deg, var(--bg-3) 0%, #1a2418 100%);
  color: var(--green-hi);
}

.dish-cta {
  background: linear-gradient(160deg, rgba(212, 162, 76, 0.12) 0%, transparent 100%);
  border: 1px dashed var(--gold-mute);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.dish-cta .dish-name { color: var(--gold-hi); }
.dish-cta .btn { margin-top: 16px; }

/* ==========================================================================
   Events
   ========================================================================== */

.events {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.events::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 20%, rgba(212, 162, 76, 0.10), transparent 60%),
    radial-gradient(500px 400px at 10% 80%, rgba(196, 69, 54, 0.10), transparent 60%);
  pointer-events: none;
}

.events-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .events-grid { grid-template-columns: 1fr; }
}

.events-copy p { color: var(--cream-2); }

.event-types {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 20px;
}
.event-types li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--cream-2);
  font-size: .98rem;
}
.event-types li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 2px;
}

.event-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.events-poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  transform: rotate(-1.5deg);
  transition: transform .4s var(--ease);
}
.events-poster:hover { transform: rotate(0deg) scale(1.01); }
.events-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Location
   ========================================================================== */

.location { background: var(--bg); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
}

.info-block { margin-top: 32px; }
.info-block h3 {
  font-family: var(--sans);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 14px;
  font-weight: 600;
}

.hours {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
}
.hours > div {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .96rem;
}
.hours > div:last-child { border-bottom: none; }
.hours dt { color: var(--cream); font-weight: 500; margin: 0; }
.hours dd { color: var(--gold); margin: 0; font-variant-numeric: tabular-nums; }

.micro { font-size: .82rem; color: var(--cream-mute); margin-top: 10px; }

.info-block p { margin: 0 0 6px; color: var(--cream-2); }
.info-block a { color: var(--gold); }

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  aspect-ratio: 4 / 3;
}
.location-map iframe {
  width: 100%; height: 100%; border: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(212, 162, 76, 0.12), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact-inner .section-title { max-width: 20ch; margin-inline: auto; }
.contact-inner .section-lede { margin-inline: auto; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.contact-card {
  display: grid;
  padding: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--cream);
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); background: var(--bg-3); color: var(--cream); }

.cc-label {
  font-family: var(--sans);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 8px;
}
.cc-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 8px;
  word-break: break-word;
}
.cc-hint { color: var(--cream-mute); font-size: .88rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { justify-content: center; }
}

.footer-brand {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-brand .brand-name {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--cream); font-size: 1.15rem;
}
.footer-brand .brand-suffix {
  font-family: var(--sans); font-weight: 700; color: var(--gold);
  font-size: .82rem; padding: 2px 6px; border: 1.5px solid var(--gold-mute); border-radius: 5px;
  letter-spacing: 0.08em;
}
.footer-tag { color: var(--cream-mute); font-size: .85rem; margin: 0; }

.footer-nav {
  display: flex; gap: 24px; justify-content: center;
  font-size: .9rem;
}
.footer-nav a { color: var(--cream-2); }
.footer-nav a:hover { color: var(--gold-hi); }

.footer-legal { color: var(--cream-mute); font-size: .82rem; margin: 0; }
