/* =========================
   BAY JUNK SERVICES - OPTIMIZED PREMIUM UI
   Clean structure: base, glass, header, hero, pages, modal, estimator, forms, footer, responsive
========================= */

:root {
  --navy-950: #02152f;
  --navy-900: #031c3a;
  --navy-800: #042a55;
  --navy-700: #0b4f93;
  --blue-500: #0f7fc2;
  --sky-300: #72c6eb;
  --green-500: #6fbf3a;
  --orange-500: #ff8a00;
  --orange-400: #ffb342;
  --white: #ffffff;
  --ink: #071b36;
  --muted: #5d7187;
  --glass-light: rgba(255, 255, 255, 0.18);
  --glass-card: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 70px rgba(2, 21, 47, 0.24);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(114, 198, 235, 0.45), transparent 34rem),
    linear-gradient(180deg, #e8f2fb 0%, #f7fbff 42%, #ffffff 100%);
}

body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

/* =========================
   GLASS + BUTTON SYSTEM
========================= */

.liquid-glass,
.glass-button,
.glass-chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.liquid-glass {
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background 0.26s ease;
}

.liquid-glass:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 30px 75px rgba(2, 21, 47, 0.32), inset 0 1px rgba(255, 255, 255, 0.58);
}

.glass-button {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.glass-button::after {
  content: "";
  position: absolute;
  top: -80%;
  left: -50%;
  width: 45%;
  height: 260%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(18deg);
  opacity: 0;
  transition: left 0.55s ease, opacity 0.25s ease;
  pointer-events: none;
}

.glass-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 42px rgba(2, 21, 47, 0.28), inset 0 1px rgba(255, 255, 255, 0.55);
}

.glass-button:hover::after { left: 120%; opacity: 1; }
.glass-button:active { transform: scale(0.98); }

.btn {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  box-shadow: 0 10px 28px rgba(255, 138, 0, 0.34);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.dark-text { color: var(--navy-900); }
.btn-large { min-height: 56px; padding-inline: 1.55rem; }
.full { width: 100%; }

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}

.header-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.48rem 0.55rem 0.48rem 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 20%, rgba(114, 198, 235, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(2, 21, 47, 0.96), rgba(4, 42, 85, 0.94), rgba(11, 79, 147, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 55px rgba(2, 21, 47, 0.34), inset 0 1px rgba(255, 255, 255, 0.16);
}

.header-wrap:hover { transform: translateY(-1px); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: white;
  text-decoration: none;
  transition: transform 0.22s ease;
}

.brand:hover { transform: translateY(-1px); }
.logo { width: 62px; height: 62px; object-fit: contain; border-radius: 18px; }
.brand-text span { display: block; font-weight: 850; font-size: 0.98rem; letter-spacing: -0.02em; }
.brand-text small { display: block; opacity: 0.78; font-size: 0.78rem; }

.site-nav { display: flex; align-items: center; gap: 0.35rem; }

.nav-link,
.site-footer button {
  border: 0;
  background: transparent;
  color: white;
  padding: 0.65rem 0.86rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.nav-link:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-2px); }
.nav-link.active { background: linear-gradient(135deg, var(--orange-500), var(--orange-400)); color: white; }

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

/* =========================
   VIEWS + HERO
========================= */

.view { display: none; animation: fadeIn 0.35s ease both; }
.view.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  min-height: calc(100vh - 100px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom-left-radius: 42px;
  border-bottom-right-radius: 42px;
}

.hero-bg,
.hero-overlay { position: absolute; inset: 0; }

.hero-bg {
  background:
    linear-gradient(120deg, rgba(2, 21, 47, 0.78), rgba(2, 21, 47, 0.28)),
    url("tampa-truck.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 138, 0, 0.32), transparent 20rem),
    linear-gradient(180deg, rgba(2, 21, 47, 0.06), rgba(2, 21, 47, 0.8));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  align-items: end;
  gap: 1.4rem;
  padding: 4rem 0;
}

.hero-card,
.hero-logo-panel {
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-card { max-width: 760px; padding: clamp(1.8rem, 5vw, 3.8rem); }
.hero-logo-panel { display: grid; gap: 0.7rem; color: white; padding: 1.3rem; }
.hero-logo-panel img { width: 100%; max-height: 300px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.24)); }
.hero-logo-panel strong, .hero-logo-panel span { display: block; }
.hero-logo-panel span { opacity: 0.82; margin-top: 0.2rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--sky-300);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 900;
}

h1, h2, h3 { margin-top: 0; line-height: 1.04; letter-spacing: -0.05em; }
h1 { color: white; font-size: clamp(2.55rem, 7vw, 5.7rem); margin-bottom: 1rem; font-weight: 850; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 850; }

.hero-subtitle { color: rgba(255, 255, 255, 0.88); font-size: clamp(1rem, 2vw, 1.25rem); max-width: 620px; }
.trust-line { color: rgba(255, 255, 255, 0.86); font-weight: 800; margin-top: 0.85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }

/* =========================
   QUICK CARDS + PAGES
========================= */

.quick-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -3rem;
  padding-bottom: 4rem;
}

.quick-card,
.page-shell,
.choice-card,
.category-card,
.estimate-summary,
.photo-form,
.location-card,
.service-card,
.benefits-grid article {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 136, 204, 0.14);
  box-shadow: 0 12px 30px rgba(4, 31, 70, 0.08);
}

.quick-card { background: rgba(255, 255, 255, 0.66); padding: 1.25rem; }
.quick-card span { color: var(--orange-500); font-weight: 900; }
.quick-card h3 { margin: 0.35rem 0; font-size: 1.28rem; }
.quick-card p { margin: 0; color: var(--muted); }

.page-shell {
  margin: 2.5rem auto 4rem;
  min-height: 62vh;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.74);
}

.page-heading { max-width: 720px; margin-bottom: 1.5rem; }
.page-heading p, .page-shell > p, .split-page p { color: var(--muted); font-size: 1.05rem; }
.services-grid, .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.9rem; }

.service-card,
.benefits-grid article,
.location-card {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.84);
  font-weight: 850;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover,
.benefits-grid article:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 18px 35px rgba(4, 31, 70, 0.13); }
.page-cta { margin-top: 1.3rem; }
.split-page { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.2rem; align-items: center; }
.location-card { display: grid; gap: 0.65rem; text-align: center; }
.location-card span { font-size: 3rem; }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.4rem; flex-wrap: wrap; }
.glass-chip { color: var(--navy-900); padding: 0.75rem 1rem; border-radius: 999px; text-decoration: none; background: rgba(255, 255, 255, 0.58); font-weight: 850; transition: transform 0.22s ease; }
.glass-chip:hover { transform: translateY(-2px); }
.contact-box { text-align: center; }
.center-actions { justify-content: center; }

/* =========================
   MODAL + TABS
========================= */

.estimate-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.estimate-modal.active { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(114, 198, 235, 0.22), transparent 28rem), rgba(2, 21, 47, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 30001;
  width: min(1120px, 96vw);
  max-height: 91vh;
  overflow: auto;
  border-radius: 34px;
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.32);
  animation: modalIn 0.28s ease both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 30002;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
}

.modal-intro { max-width: 820px; margin: 0 auto; text-align: center; }
.modal-intro h2 { margin-bottom: 0.7rem; }
.modal-intro p { color: rgba(4, 31, 70, 0.78); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 1.4rem; }
.choice-card { min-height: 230px; padding: 1.5rem; text-align: left; color: var(--navy-900); background: rgba(255, 255, 255, 0.56); transition: transform 0.22s ease; }
.choice-card:hover { transform: translateY(-4px) scale(1.01); }
.choice-card span { font-size: 2.4rem; }
.choice-card strong { display: block; margin: 0.85rem 0 0.4rem; font-size: 1.45rem; }
.choice-card small { color: var(--muted); font-size: 0.98rem; }

.estimate-workspace[hidden] { display: none !important; }
.modal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.back-choice { border: 0; border-radius: 999px; padding: 0.75rem 1rem; color: var(--navy-900); background: rgba(255, 255, 255, 0.56); font-weight: 900; }
.tabs { display: inline-flex; padding: 0.35rem; border-radius: 999px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.42); }
.tab-btn { border: 0; border-radius: 999px; padding: 0.72rem 1.05rem; background: transparent; color: var(--navy-800); font-weight: 900; }
.tab-btn.active { background: var(--navy-900); color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =========================
   ESTIMATOR
========================= */

.estimator-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) 360px; gap: 1rem; align-items: start; }
.item-categories { display: grid; gap: 1rem; }
.category-card { padding: 1.1rem; background: rgba(255, 255, 255, 0.78); }
.category-card h3 { margin-bottom: 0.7rem; color: var(--navy-900); }
.item-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.75rem; align-items: center; padding: 0.75rem 0; border-top: 1px solid rgba(4, 31, 70, 0.08); }
.item-row:first-of-type { border-top: 0; }
.item-row small, .fine-print, .summary-empty { color: var(--muted); }
.item-controls { display: flex; gap: 0.35rem; }
.qty-btn { width: 34px; height: 34px; border: 0; border-radius: 12px; background: var(--navy-800); color: white; font-weight: 900; }
.qty-display { min-width: 26px; text-align: center; font-weight: 900; }

.estimate-summary { position: sticky; top: 1rem; padding: 1.15rem; background: rgba(255, 255, 255, 0.6); }
.estimate-summary label, label { display: grid; gap: 0.4rem; font-weight: 900; }
select, input, textarea { width: 100%; border: 1px solid rgba(17, 136, 204, 0.22); border-radius: 16px; padding: 0.82rem 0.9rem; outline: none; background: rgba(255, 255, 255, 0.84); color: var(--navy-900); }
.summary-items { margin: 1rem 0; max-height: 220px; overflow: auto; }
.summary-line { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.48rem 0; border-bottom: 1px dashed rgba(4, 31, 70, 0.12); }
.total-box { margin-bottom: 0.9rem; padding: 1rem; border-radius: 22px; background: linear-gradient(135deg, rgba(114, 198, 235, 0.38), rgba(255, 255, 255, 0.72)); border: 1px solid rgba(17, 136, 204, 0.22); }
.total-box span { display: block; color: var(--muted); font-weight: 900; text-transform: uppercase; font-size: 0.73rem; letter-spacing: 0.08em; }
.total-box strong { display: block; margin-top: 0.2rem; font-size: 2.45rem; color: var(--navy-900); }
.fine-print { font-size: 0.86rem; }

.estimate-send-box { margin: 0.85rem 0; padding: 0.85rem; border-radius: 20px; background: rgba(255, 255, 255, 0.46); border: 1px solid rgba(17, 136, 204, 0.14); }
.send-title { margin: 0 0 0.65rem; font-weight: 900; color: var(--navy-900); }
.send-options, .photo-choice-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.send-option-btn, .photo-choice-btn { min-height: 50px; }
.send-icon { width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; flex: 0 0 auto; }
.send-icon svg { width: 17px; height: 17px; fill: currentColor; }
.sms-icon { color: var(--blue-500); background: rgba(114, 198, 235, 0.28); }
.whatsapp-icon { color: #25d366; background: rgba(37, 211, 102, 0.16); }

/* =========================
   FORM / PHOTO DETAILS
========================= */

.photo-form { padding: 1.1rem; background: rgba(255, 255, 255, 0.56); }
.text-photo-box { margin-bottom: 1rem; padding: 1.35rem; border: 1px dashed rgba(17, 136, 204, 0.44); border-radius: 24px; background: rgba(114, 198, 235, 0.14); text-align: center; }
.upload-icon { font-size: 2.3rem; margin-bottom: 0.45rem; }
.text-photo-box p { margin: 0 0 0.35rem; font-weight: 900; }
.text-photo-box span { display: block; color: var(--muted); margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.full-width { grid-column: 1 / -1; }
.form-status { color: var(--green-500); font-weight: 900; }

/* =========================
   PREMIUM FOOTER
========================= */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  padding: 3rem 0 1.25rem;
  color: white;
  background:
    radial-gradient(circle at 12% 0%, rgba(15, 127, 194, 0.34), transparent 24rem),
    radial-gradient(circle at 90% 28%, rgba(255, 138, 0, 0.24), transparent 20rem),
    linear-gradient(135deg, #02152f 0%, #031c3a 46%, #020b18 100%);
}

.footer-glow { position: absolute; inset: auto 0 0; height: 170px; background: radial-gradient(circle at center, rgba(111, 191, 58, 0.16), transparent 40rem); pointer-events: none; }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: 1rem; align-items: stretch; margin-bottom: 1.2rem; }
.footer-brand-card, .footer-cta-card { border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.08); box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.footer-brand-card { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; }
.footer-logo { width: 92px; height: 92px; object-fit: contain; border-radius: 20px; background: rgba(255, 255, 255, 0.08); padding: 0.3rem; }
.footer-brand-card h3 { margin-bottom: 0.4rem; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.footer-brand-card p { margin: 0; color: rgba(255, 255, 255, 0.78); max-width: 620px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.footer-badges span { padding: 0.42rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 850; color: white; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); }

.footer-cta-card { display: flex; flex-direction: column; justify-content: center; gap: 0.8rem; padding: 1.35rem; }
.footer-mini-title { color: var(--sky-300); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 900; }
.footer-cta-card strong { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.06; letter-spacing: -0.04em; }
.footer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.footer-actions .btn { width: 100%; min-height: 54px; padding: 0.95rem 1.05rem; font-size: 0.98rem; }
.footer-actions .btn-secondary { background: rgba(255, 255, 255, 0.13); color: white; border: 1px solid rgba(255, 255, 255, 0.18); }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1.3rem; }
.premium-footer-grid { position: relative; z-index: 1; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-column h4 { margin: 0 0 0.75rem; color: white; font-size: 0.95rem; }
.site-footer a, .site-footer button, .footer-column span { display: block; margin: 0.4rem 0; padding: 0; color: rgba(255, 255, 255, 0.72); text-align: left; text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover, .site-footer button:hover { color: var(--sky-300); transform: translateX(2px); }
.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.7rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; }
.footer-bottom p { margin: 0; }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .header-wrap { border-radius: 26px; }
  .mobile-menu-btn { display: grid; place-items: center; }
  .site-nav { display: none; position: absolute; top: 92px; right: 4vw; left: 4vw; padding: 0.85rem; border-radius: 24px; flex-direction: column; align-items: stretch; background: rgba(3, 28, 58, 0.96); box-shadow: 0 20px 50px rgba(2, 21, 47, 0.34); }
  .site-nav.open { display: flex; }
  .nav-link, .nav-cta { width: 100%; justify-content: center; text-align: center; }
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; padding: 2rem 0 4.5rem; }
  .hero-logo-panel { max-width: 380px; }
  .quick-grid, .choice-grid, .form-grid, .split-page, .estimator-layout, .footer-top, .footer-grid { grid-template-columns: 1fr; }
  .quick-grid { margin-top: -2rem; }
  .estimate-summary { position: static; }
  .footer-brand-card { align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 560px) {
  .brand-text small { display: none; }
  .logo { width: 54px; height: 54px; }
  .hero-card, .page-shell, .modal-panel { border-radius: 24px; }
  .hero-actions, .footer-actions, .send-options, .photo-choice-buttons { grid-template-columns: 1fr; flex-direction: column; }
  .btn { width: 100%; }
  h1 { font-size: 2.55rem; }
  .item-row { grid-template-columns: 1fr; }
  .item-controls { justify-content: flex-start; }
  .footer-brand-card { flex-direction: column; }
}

/* =========================
   MOBILE NAV FINAL FIX
   Keeps the premium header but lets the dropdown escape the glass container.
========================= */
.site-header {
  z-index: 9999;
}

.header-wrap {
  overflow: visible;
}

.mobile-menu-btn {
  flex: 0 0 auto;
  position: relative;
  z-index: 10001;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .header-wrap {
    overflow: visible;
    position: relative;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0.85rem;
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    background:
      radial-gradient(circle at 20% 0%, rgba(114, 198, 235, 0.18), transparent 18rem),
      linear-gradient(135deg, rgba(2, 21, 47, 0.98), rgba(4, 42, 85, 0.97), rgba(11, 79, 147, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 70px rgba(2, 21, 47, 0.45);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
  }

  .site-nav.open {
    display: flex;
    animation: mobileMenuIn 0.2s ease both;
  }

  .site-nav .nav-link,
  .site-nav .nav-cta {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal must stay above the mobile header/menu */
body.modal-open .site-header { display: none; }


/* =========================
   EMAIL ESTIMATE UPDATE
========================= */

.item-hint {
  color: var(--muted);
}

.total-box {
  display: none;
}

.estimate-email-form {
  margin: 1rem 0 0;
  padding: 0.95rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(17, 136, 204, 0.14);
}

.estimate-email-intro {
  margin: -0.25rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.mini-form-grid {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.mini-form-grid label {
  font-size: 0.88rem;
}

.mini-form-grid input,
.mini-form-grid textarea {
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
}

.form-status.info {
  color: var(--navy-700);
}

.form-status.success {
  color: var(--green-500);
}

.form-status.error {
  color: #b42318;
}



/* =========================
   7x14 TRAILER ESTIMATOR UPDATE
   Collapsible item sections + visible trailer load estimate
========================= */

.total-box {
  display: block;
}

.total-box strong {
  font-size: 1.25rem;
  line-height: 1.25;
}

.category-card h3 {
  display: none;
}

.category-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 900;
  font-size: 1.08rem;
  padding: 0.2rem 0;
  text-align: left;
}

.category-arrow {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(4, 42, 85, 0.08);
  color: var(--navy-900);
  font-size: 1.4rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.category-card.open .category-arrow {
  transform: rotate(180deg);
  background: rgba(255, 138, 0, 0.18);
}

.category-items {
  margin-top: 0.7rem;
}

.item-hint {
  font-size: 0.8rem;
}


/* =========================
   LOCATION + COMPANY UPGRADE
========================= */

.location-upgrade-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.location-info-card,
.company-proof-card,
.why-grid article {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 136, 204, 0.14);
  box-shadow: 0 14px 34px rgba(4, 31, 70, 0.08);
}

.location-info-card {
  padding: 1.3rem;
}

.location-info-card h3 {
  margin-bottom: 0.9rem;
  color: var(--navy-900);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.area-tags span {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(114, 198, 235, 0.2);
  color: var(--navy-900);
  font-weight: 850;
  border: 1px solid rgba(17, 136, 204, 0.14);
}

.arrival-card {
  padding: 1rem;
  border-radius: 22px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255, 138, 0, 0.14), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 138, 0, 0.18);
}

.arrival-card strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.arrival-card p {
  margin: 0;
  color: var(--muted);
}

.map-box {
  min-height: 390px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(17, 136, 204, 0.18);
  box-shadow: 0 18px 40px rgba(4, 31, 70, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 390px;
  border: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.why-grid article {
  padding: 1.15rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.why-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(4, 31, 70, 0.13);
}

.why-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 138, 0, 0.14);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.why-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  color: var(--navy-900);
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.company-proof-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem;
  margin-top: 1.2rem;
}

.company-proof-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.company-proof-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .location-upgrade-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .company-proof-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .location-upgrade-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .map-box,
  .map-box iframe {
    min-height: 300px;
  }
}
