/* Rancho Chico - Global Premium CSS Styling Sheet */

:root {
  --background: #181615; /* Brightened warm dark charcoal */
  --foreground: #F6F4F0; /* Cream linen white */
  --foreground-light: #A3A19E; /* Muted gray-cream */
  --primary: #E06A3B; /* Sunset saffron orange */
  --primary-hover: #C2410C;
  --accent: #2D8A66; /* Agave forest green */
  --card-bg: #22201F; /* Brightened warm card background */
  --border-color: rgba(246, 244, 240, 0.12); /* Slightly brighter borders */
  --gold-glow: rgba(228, 106, 59, 0.15);
  
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  background-color: var(--background);
  color: var(--foreground);
}

/* Common Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.py-24 {
  padding-top: 96px;
  padding-bottom: 96px;
}

.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mt-6 { margin-top: 24px; }

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-16 { gap: 64px; }

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.items-center { align-items: center; }
.items-start { align-items: start; }
.text-center { text-align: center; }
.max-w-2xl { max-width: 672px; }
.max-w-4xl { max-width: 896px; }
.max-w-6xl { max-width: 1152px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-6 > * + * { margin-top: 24px; }
.space-y-8 > * + * { margin-top: 32px; }
.space-y-12 > * + * { margin-top: 48px; }
.pt-4 { padding-top: 16px; }
.border-t { border-top: 1px solid var(--border-color); }
.bg-card { background-color: var(--card-bg); }

/* Custom position and overflow helpers missing in Vanilla CSS styling */
.relative { position: relative !important; }
.overflow-hidden { overflow: hidden !important; }
.w-full { width: 100% !important; }

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 576px) {
  .sm\:w-auto { width: auto !important; }
}

/* Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
}

.logo-group {
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--foreground);
}

.logo-accent {
  color: var(--foreground);
}

.logo-sub {
  color: var(--primary);
  margin-left: 2px;
}

.subtitle {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 8px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 44px;
  }
}

.section-desc {
  font-size: 14px;
  color: var(--foreground-light);
  line-height: 1.6;
}

.line-divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 16px auto;
}

.line-divider.text-left {
  margin-left: 0;
}

.text-left { text-align: left !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(224, 106, 59, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(246, 244, 240, 0.05);
  border-color: var(--foreground);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 14px;
}

.w-full {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(11, 10, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-menu {
  display: none;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
    gap: 32px;
  }
}

.nav-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--foreground-light);
  transition: colors 0.3s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-link.active {
  color: var(--primary) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-trigger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-menu .bar {
  width: 100%;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .hamburger-menu {
    display: none;
  }
}

/* Page Header (for subpages) */
.page-header {
  position: relative;
  padding: 160px 0 80px 0; /* Extra top padding to clear fixed navbar */
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
  font-family: var(--font-serif);
}

@media (min-width: 768px) {
  .page-title {
    font-size: 56px;
  }
}

.page-desc {
  font-size: 15px;
  color: var(--foreground-light);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  position: relative;
  height: 95vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 130px;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 160px;
  }
}

.hero-content {
  max-width: 900px;
  padding: 0 24px;
  z-index: 10;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 26px;
    margin-bottom: 12px;
  }
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(224, 106, 59, 0.1);
  border: 1px solid rgba(224, 106, 59, 0.2);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: none;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 68px;
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 15px;
  color: rgba(246, 244, 240, 0.95);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 18px;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 576px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll down indicator */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.scroll-down .arrow {
  width: 6px;
  height: 6px;
  border-left: 2px solid var(--foreground-light);
  border-bottom: 2px solid var(--foreground-light);
  transform: rotate(-45deg);
  margin-top: 10px;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(-45deg); opacity: 0.3; }
  50% { transform: translateY(12px) rotate(-45deg); opacity: 1; }
}

/* Marquee scrolling strip */
.marquee-container {
  overflow: hidden;
  width: 100%;
  background: var(--card-bg);
  border-y: 1px solid var(--border-color);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 64px;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.5px;
  color: var(--foreground-light);
  opacity: 0.75;
}

/* Interactive Menu grid & cards */
.menu-tabs {
  margin-bottom: 48px;
}

.tab-btn {
  background: transparent;
  color: var(--foreground-light);
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Menu Card item */
.menu-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(246, 244, 240, 0.15);
}

.menu-card-img {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  overflow: hidden;
  background-color: rgba(246, 244, 240, 0.02);
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.04);
}

.menu-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(224, 106, 59, 0.3);
}

.menu-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.menu-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
}

.menu-card-price {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.menu-card-desc {
  font-size: 12px;
  color: var(--foreground-light);
  line-height: 1.5;
}

/* Card 3D tilt effects */
.card-perspective {
  perspective: 1000px;
}

.card-tilt {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

/* Image Visual Showcase */
.visuals-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-box {
  border: 4px solid var(--card-bg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--card-bg);
}

.main-image {
  width: 80%;
  height: 80%;
  position: relative;
  z-index: 2;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--background);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
}

.floating-image {
  position: absolute;
  width: 45%;
  aspect-ratio: 1/1;
  bottom: -5%;
  right: -5%;
  z-index: 3;
}

.floating-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Value Items */
.value-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value-number {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.value-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--foreground-light);
}

/* Reservation Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--foreground-light);
}

.form-group input, .form-group select, .form-group textarea {
  background-color: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 13px;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.reservation-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F6F4F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
}

/* Success Modal inside booking box */
.booking-success-modal {
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-success-modal.active {
  transform: translateY(0);
}

.success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.success-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 8px;
}

.success-message {
  font-size: 14px;
  color: var(--foreground-light);
}

.conf-details {
  border-color: var(--border-color);
}

/* Contact/Hours elements */
.contact-item {
  text-align: left;
}

.contact-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hours-block {
  border-color: var(--border-color);
}

/* Cart Slide Drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s;
}

.cart-drawer.active {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cart-drawer.active .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--card-bg);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active .cart-drawer-content {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-close {
  background: transparent;
  border: none;
  color: var(--foreground-light);
  font-size: 20px;
  cursor: pointer;
}

.cart-drawer-items {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-drawer-footer {
  padding: 24px;
  border-color: var(--border-color);
  background: var(--background);
}

/* Cart Item card */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--background);
  gap: 16px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
}

.cart-item-price {
  font-size: 12px;
  color: var(--primary);
  font-weight: 800;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

/* Footer styling */
.footer {
  background-color: var(--background);
  border-color: var(--border-color);
}

.footer-links a {
  text-decoration: none;
  color: var(--foreground-light);
}

.footer-links a:hover {
  color: var(--primary);
}

/* Scroll reveal utility style classes */
.reveal-el {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-el.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================= */
/* v2.0 RANCHO CHICO — COSMETIC UPGRADE LAYER                     */
/* ============================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 300;
  background: linear-gradient(90deg, var(--primary), #F59E0B);
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.1s linear;
}

/* Trust strip */
.trust-strip {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-stars {
  color: var(--primary);
  font-size: 18px;
  letter-spacing: 2px;
}

.trust-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--foreground-light);
  text-transform: uppercase;
}

/* Live map embeds */
.map-embed {
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  background: var(--card-bg);
  position: relative;
}

.map-embed-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(224, 106, 59, 0.3);
  pointer-events: none;
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

/* Button loading state (reservation "checking availability") */
.btn-loading {
  opacity: 0.85;
  cursor: progress;
  position: relative;
  padding-left: 44px !important;
}

.btn-loading::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid rgba(0, 0, 0, 0.35);
  border-top-color: #000;
  border-radius: 50%;
  animation: btnspin 0.7s linear infinite;
}

@keyframes btnspin {
  to { transform: rotate(360deg); }
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  width: max-content;
  max-width: 90vw;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--primary);
  color: var(--foreground);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-icon { font-size: 16px; }

/* Sticky mobile action bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background: rgba(11, 10, 9, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}

.mab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: var(--foreground-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 4px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.mab-item:active { background: rgba(246, 244, 240, 0.06); }
.mab-icon { font-size: 18px; }

.mab-primary {
  color: var(--primary);
}

@media (max-width: 767px) {
  .mobile-action-bar { display: flex; }
  /* lift fixed page bottoms above the bar */
  body { padding-bottom: 64px; }
  .toast-container { bottom: 84px; }
  .map-embed iframe { height: 220px; }
}

/* Video background page header */
.page-header.has-video, .hero.has-video { background: #000; }
.page-header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.55), rgba(8, 8, 8, 0.82));
}
.page-header-content {
  position: relative;
  z-index: 2;
}

/* Staff portal link in footer */
.staff-link {
  color: var(--foreground-light);
  text-decoration: none;
  border-bottom: 1px dotted rgba(246, 244, 240, 0.3);
}
.staff-link:hover { color: var(--primary); }
