/* ======================================================
   THE CAR STORE — PUBLIC FRONTEND STYLESHEET
   FILE: /autonest/assets/css/public.css
   FINAL POLISHED VERSION
   ====================================================== */

/* ======================================================
   ROOT VARIABLES
   ====================================================== */
:root {
  --bg: #0f0f10;
  --panel: #17181b;
  --panel-2: #1f2024;
  --text: #f6f6f6;
  --muted: #c7c7c7;
  --line: rgba(255,255,255,0.1);
  --accent: #f4c400;
  --accent-dark: #d2a800;
  --shadow: 0 18px 45px rgba(0,0,0,0.28);
  --radius: 18px;
  --container: 1180px;
}

/* ======================================================
   GLOBAL RESET / BASE
   ====================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input,
textarea {
  font: inherit;
}

/* ======================================================
   LAYOUT CONTAINER
   ====================================================== */
.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* ======================================================
   STICKY HEADER
   ====================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,11,12,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* ======================================================
   DESKTOP NAVIGATION
   ====================================================== */
.site-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.site-nav a,
.mobile-nav a {
  font-weight: 700;
  color: #fff;
}

.site-nav a:hover,
.mobile-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--accent);
}

/* ======================================================
   HAMBURGER BUTTON
   ====================================================== */
.menu-toggle {
  width: 58px;
  height: 58px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 0;
  background: #fff;
  border-radius: 999px;
  transition: 0.25s ease;
}

/* ======================================================
   MOBILE NAVIGATION
   ====================================================== */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #141518;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

/* ======================================================
   HERO / PAGE HERO
   ====================================================== */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

/* ======================================================
   HERO IMAGE SHELL
   NATURAL RESPONSIVE IMAGE
   ====================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #000;
}

/* ======================================================
   HERO IMAGE
   NATURAL SCALE + CENTER
   ====================================================== */
.hero-image {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ======================================================
   TYPOGRAPHY
   ====================================================== */
.eyebrow {
  margin: 0 0 14px;
  color: #ffd700 !important;
  font-size: 33px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.1;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  margin-bottom: 18px;
  color: #ffd700;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy,
.page-hero p,
.dynamic-note,
.note-card li,
.feature-card p,
.contact-card p,
.intro-grid p,
.about-section p,
.footer-wrap p,
.form-note {
  color: var(--muted);
}

/* ======================================================
   BUTTONS
   ====================================================== */
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* ======================================================
   SECTIONS / BACKGROUNDS
   ====================================================== */
.section {
  padding: 82px 0;
}

.intro-band,
.filters-section {
  background: #121316;
}

.filters-section {
  margin-top: 32px;
}

.about-section {
  background: linear-gradient(180deg, #16171b, #101114);
}

.contact-section {
  background: #131417;
}

.inventory-hero {
  padding: 90px 0 60px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.55)),
    radial-gradient(circle at top right, rgba(244,196,0,0.2), transparent 30%);
}

/* ======================================================
   GRID LAYOUTS
   ====================================================== */
.intro-grid,
.two-col,
.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.3fr 1fr;
}

.intro-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.intro-grid article {
  max-width: 760px;
}

.contact-grid-wide {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

/* ======================================================
   CARDS / PANELS
   ====================================================== */
.note-card,
.feature-card,
.contact-card,
.inventory-card,
.vehicle-card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.note-card,
.contact-card,
.feature-card {
  padding: 24px;
}

.contact-info-card {
  margin-top: 20px;
}

.form-card {
  padding: 24px;
}

.note-card ul {
  margin: 12px 0 0 18px;
  padding: 0;
}

/* ======================================================
   SECTION HEADING
   ====================================================== */
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.text-link {
  font-weight: 800;
  color: #fff;
}

/* ======================================================
   INVENTORY / VEHICLE CARDS
   MATCH SHOWROOM LOOK
   ====================================================== */
.vehicle-card,
.inventory-card {
  overflow: hidden;
}

.inventory-card {
  background: #0f0f0f;
  border: 2px solid #b30000;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.inventory-card:hover {
  transform: translateY(-4px);
  border-color: #ff2a2a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.vehicle-image,
.inventory-image {
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  overflow: hidden;
}

.vehicle-image img,
.inventory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-info,
.inventory-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  background: #0f0f0f;
}

.vehicle-title,
.inventory-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.vehicle-meta,
.inventory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(244,196,0,0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  color: #ffd000;
}

.inventory-card-finance {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #ffd000;
}

.inventory-card-meta {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: #d7d7d7;
}

.inventory-card-actions {
  margin-top: auto;
  padding-top: 10px;
}

.inventory-card-actions .btn {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
}

/* ======================================================
   FILTERS
   ====================================================== */
.filters-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
}

.filter-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.filter-box select,
.filter-box input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #191a1e;
  color: #fff;
  padding: 0 14px;
}

/* ======================================================
   INVENTORY GRID
   ====================================================== */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ======================================================
   INVENTORY PAGINATION
   ====================================================== */
.inventory-pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.inventory-pagination .btn {
  min-width: 48px;
}

/* ======================================================
   INVENTORY AJAX LOADING STATE
   ====================================================== */
.inventory-grid-section {
  position: relative;
}

.inventory-grid-section.is-loading {
  pointer-events: none;
}

.inventory-grid-section.is-loading::before {
  content: "Loading...";
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(17,17,17,0.9);
  border: 1px solid rgba(255,215,0,0.4);
  color: #ffd700;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.inventory-grid-section > .container {
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.inventory-grid-section.is-loading > .container {
  opacity: 0.5;
  transform: scale(0.995);
  filter: blur(0.5px);
}

/* ======================================================
   CONTACT MAP POLISH
   ====================================================== */
.contact-card iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
}

@media (max-width: 760px) {
  .contact-card iframe {
    height: 240px;
  }
}

.contact-card h3 {
  margin-bottom: 12px;
}

/* ======================================================
   CONTACT FORM
   ====================================================== */
.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.two-up {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  font-weight: 700;
  color: #fff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #111216;
  color: #fff;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(244,196,0,0.8);
  box-shadow: 0 0 0 3px rgba(244,196,0,0.16);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-success {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(244,196,0,0.12);
  border: 1px solid rgba(244,196,0,0.35);
  color: #fff;
  font-weight: 700;
}

/* ======================================================
   HOMEPAGE FEATURED HEADING — CENTERED + RESPONSIVE
   ====================================================== */
.featured-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.featured-heading > div {
  width: 100%;
  text-align: center;
}

.featured-heading .eyebrow,
.featured-heading h2,
.featured-heading .text-link {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .featured-heading {
    gap: 10px;
  }
}

.featured-carousel-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 980px) 52px;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.carousel-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: auto;
  padding: 4px 2px 10px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.featured-card-slide {
  flex: 0 0 85%;
  max-width: 85%;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.featured-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.featured-card {
  background: #0f0f0f;
  border: 2px solid #b30000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.featured-card-link:hover .featured-card,
.featured-card-link:focus .featured-card {
  transform: translateY(-4px);
  border-color: #ff2a2a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.featured-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  overflow: hidden;
}

.featured-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #ccc;
  font-weight: 700;
}

.featured-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.featured-card-badge.available {
  background: #177245;
}

.featured-card-badge.pending {
  background: #b87900;
}

.featured-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.featured-card-title {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.featured-card-trim {
  margin: 0 0 10px;
  color: #bdbdbd;
  font-size: 14px;
  min-height: 18px;
}

.featured-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  margin-bottom: 14px;
}

.featured-card-price {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffd000;
}

.featured-card-mileage {
  font-size: 14px;
  font-weight: 600;
  color: #d7d7d7;
}

.featured-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffd000;
  color: #000;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-empty-card {
  flex: 0 0 100%;
  background: #111;
  border: 2px solid #b30000;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  color: #ddd;
  font-weight: 700;
}

/* ======================================================
   HOMEPAGE FEATURED ARROWS
   ====================================================== */
.featured-prev,
.featured-next {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #b30000;
  background: #111;
  color: #ffd000;
  font-size: 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.featured-prev:hover,
.featured-next:hover {
  background: #1a1a1a;
  border-color: #ff2a2a;
}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0d0d0f;
}

.footer-wrap {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ======================================================
   INVENTORY MULTI-MODE SHOWROOM
   STRIP + SHOWCASE + 3D CUBE
   ====================================================== */
.inventory-modes-section {
  padding: 38px 0 10px;
  background: #111;
}

.inventory-modes-header {
  margin-bottom: 20px;
  text-align: center;
}

.inventory-modes-header .eyebrow {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.inventory-modes-heading {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
  text-align: center;
}

.inventory-mode-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.inventory-modes-empty {
  background: #111;
  border: 2px solid #b30000;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  color: #ddd;
  font-weight: 700;
}

/* ======================================================
   MODE TOGGLE
   ====================================================== */
.inventory-mode-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.inventory-mode-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #111;
  color: #ffd000;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.inventory-mode-btn:hover,
.inventory-mode-btn.active {
  background: #1a1a1a;
  border-color: #ff2a2a;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.inventory-mode-btn:hover {
  transform: translateY(-2px);
}

.inventory-mode-panel {
  display: none;
}

.inventory-mode-panel.active {
  display: block;
}

/* ======================================================
   STRIP MODE
   ====================================================== */
.inventory-strip-shell {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 16px;
}

.inventory-strip-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.inventory-strip-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  touch-action: auto;
  overscroll-behavior-x: contain;
  scroll-padding-left: 0;
  scroll-padding-right: 20px;
  padding: 4px 20px 10px 0;
}

.inventory-strip-track::after {
  content: "";
  flex: 0 0 20px;
}

.inventory-strip-track::-webkit-scrollbar {
  display: none;
}

.inventory-strip-slide {
  flex: 0 0 85%;
  max-width: 85%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
  display: flex;
}

.inventory-strip-card-link {
  display: flex;
  width: 100%;
  height: 100%;
}

.inventory-strip-card {
  background: #0f0f0f;
  border: 2px solid #b30000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.inventory-strip-card-link:hover .inventory-strip-card,
.inventory-strip-card-link:focus .inventory-strip-card {
  transform: translateY(-4px);
  border-color: #ff2a2a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.inventory-strip-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  overflow: hidden;
}

.inventory-strip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inventory-strip-no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: #ccc;
  font-weight: 700;
}

.inventory-strip-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.inventory-strip-badge.available {
  background: #177245;
}

.inventory-strip-badge.pending {
  background: #b87900;
}

.inventory-strip-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 210px;
}

.inventory-strip-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  min-height: 48px;
}

.inventory-strip-price {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffd000;
  margin: 0 0 14px;
}

.inventory-strip-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffd000;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  margin-top: auto;
}

.inventory-strip-arrow {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #b30000;
  background: #111;
  color: #ffd000;
  font-size: 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.inventory-strip-arrow:hover {
  background: #1a1a1a;
  border-color: #ff2a2a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

/* ======================================================
   SHOWCASE MODE
   ====================================================== */
.inventory-showcase-shell {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 16px;
}

.inventory-showcase-stage {
  position: relative;
  min-height: 520px;
}

.inventory-showcase-slide {
  display: none;
}

.inventory-showcase-slide.active {
  display: block;
}

.inventory-showcase-card {
  display: block;
  background: #0f0f0f;
  border: 2px solid #b30000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.inventory-showcase-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: #1a1a1a;
  overflow: hidden;
}

.inventory-showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-showcase-no-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-weight: 700;
}

.inventory-showcase-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.inventory-showcase-badge.available {
  background: #177245;
}

.inventory-showcase-badge.pending {
  background: #b87900;
}

.inventory-showcase-body {
  padding: 20px;
}

.inventory-showcase-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.inventory-showcase-price {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
  color: #ffd000;
}

.inventory-showcase-mileage {
  margin: 0 0 16px;
  color: #d7d7d7;
  font-weight: 600;
}

.inventory-showcase-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #ffd000;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.inventory-showcase-arrow {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #b30000;
  background: #111;
  color: #ffd000;
  font-size: 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.inventory-showcase-arrow:hover {
  background: #1a1a1a;
  border-color: #ff2a2a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

/* ======================================================
   3D CUBE MODE — STABLE DESKTOP VERSION
   ====================================================== */
.inventory-cube-shell {
  padding: 12px 0 28px;
}

.inventory-cube-scene {
  position: relative;
  width: 100%;
  min-height: 700px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 0 10px;
}

.inventory-cube {
  position: relative;
  width: 520px;
  height: 560px;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  will-change: transform;
}

.inventory-cube-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 520px;
  height: 560px;
  overflow: hidden;
  border-radius: 22px;
  border: 2px solid #b30000;
  background: #111;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
  opacity: 0.25;
  z-index: 1;
  transition: opacity 0.25s ease, box-shadow 0.25s ease;
}

.inventory-cube-face.is-front {
  opacity: 1;
  z-index: 12;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.52);
}

.inventory-cube-face-1 { transform: rotateY(0deg) translateZ(230px); }
.inventory-cube-face-2 { transform: rotateY(90deg) translateZ(230px); }
.inventory-cube-face-3 { transform: rotateY(180deg) translateZ(230px); }
.inventory-cube-face-4 { transform: rotateY(-90deg) translateZ(230px); }

.inventory-cube-face-5,
.inventory-cube-face-6 {
  display: none;
}

.inventory-cube-face-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.inventory-cube-no-image {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-weight: 700;
  background: #1a1a1a;
}

.inventory-cube-face-info {
  min-height: 260px;
  padding: 18px 18px 20px;
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.inventory-cube-face-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}

.inventory-cube-face-trim {
  margin: 0 0 10px;
  color: #bdbdbd;
  font-size: 15px;
  min-height: 18px;
}

.inventory-cube-face-price {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  color: #ffd000;
}

.inventory-cube-face-mileage {
  margin: 0 0 12px;
  font-size: 15px;
  color: #d7d7d7;
  font-weight: 600;
}

.inventory-cube-face-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ffd000;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  margin-top: auto;
}

.inventory-cube-front-link {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 560px;
  transform: translate(-50%, -50%);
  z-index: 40;
  display: block;
  border-radius: 22px;
  background: transparent;
  pointer-events: auto;
  touch-action: pan-x;
}

.inventory-cube-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.inventory-cube-arrow {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #b30000;
  background: #111;
  color: #ffd000;
  font-size: 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.inventory-cube-arrow:hover {
  background: #1a1a1a;
  border-color: #ff2a2a;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
}

/* ======================================================
   RESPONSIVE — DESKTOP SAFETY
   ====================================================== */
@media (min-width: 901px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .menu-toggle {
    display: none !important;
  }

  .mobile-nav,
  .mobile-nav.active {
    display: none !important;
  }
}

/* ======================================================
   RESPONSIVE — TABLET
   ====================================================== */
@media (max-width: 980px) {
  .inventory-grid,
  .filters-wrap,
  .intro-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    max-width: 680px;
  }
}

/* ======================================================
   RESPONSIVE — MOBILE NAV / LAYOUT
   ====================================================== */
@media (max-width: 900px) {
  .site-nav {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .mobile-nav {
    display: none;
    width: 100%;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 20px 18px;
  }

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 0;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
  }

  .contact-grid-wide,
  .form-row.two-up {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .hero-image {
    width: 100%;
    height: auto;
  }

  .hero-content {
    max-width: 540px;
    padding: 42px 0 48px;
  }

  .hero h1,
  .page-hero h1 {
    line-height: 1.08;
    margin-bottom: 12px;
    max-width: none;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .featured-card-slide {
    flex: 0 0 82vw;
    max-width: 82vw;
  }

  .inventory-strip-shell,
  .inventory-showcase-shell {
    grid-template-columns: 1fr;
  }

  .inventory-strip-prev,
  .inventory-strip-next,
  .inventory-showcase-prev,
  .inventory-showcase-next {
    display: none;
  }

  .inventory-strip-track {
    scroll-padding-left: 7vw;
    scroll-padding-right: 7vw;
    padding: 4px 7vw 10px;
  }

  .inventory-strip-slide {
    flex: 0 0 86vw;
    max-width: 86vw;
    scroll-snap-align: center;
  }

  .inventory-showcase-stage {
    min-height: auto;
  }

  .inventory-showcase-image-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* ======================================================
   RESPONSIVE — MOBILE STACKING
   ====================================================== */
@media (max-width: 760px) {
  .inventory-grid,
  .filters-wrap,
  .intro-grid,
  .two-col,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
    gap: 10px;
  }

  .hero-content {
    padding: 48px 0 56px;
  }

  .footer-wrap {
    min-height: auto;
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-card-title {
    font-size: 18px;
  }

  .featured-card-price {
    font-size: 22px;
  }

  .featured-card-cta {
    min-height: 42px;
    font-size: 13px;
  }

  .featured-carousel-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-prev,
  .featured-next {
    display: none;
  }

  .featured-card-slide {
    flex: 0 0 88vw;
    max-width: 88vw;
  }
}

/* ======================================================
   RESPONSIVE — SMALL MOBILE FEATURED CARDS / CUBE
   ====================================================== */
@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .featured-card-slide {
    flex: 0 0 92vw;
    max-width: 92vw;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .btn {
    min-height: 46px;
    padding: 0 18px;
  }

  .inventory-mode-toggle {
    gap: 10px;
    margin-bottom: 14px;
  }

  .inventory-mode-btn {
    width: 100%;
    justify-content: center;
  }

  .inventory-strip-track {
    scroll-padding-left: 6vw;
    scroll-padding-right: 6vw;
    padding: 4px 6vw 10px;
  }

  .inventory-strip-slide {
    flex: 0 0 88vw;
    max-width: 88vw;
    scroll-snap-align: center;
  }

  .inventory-cube-shell {
    padding: 0 0 18px;
  }

  .inventory-cube-scene {
    min-height: 360px;
    perspective: 1200px;
    padding: 0;
  }

  .inventory-cube {
    width: 270px;
    height: 300px;
    transition: transform 0.22s linear;
  }

  .inventory-cube-face {
    width: 270px;
    height: 300px;
  }

  .inventory-cube-face-1 { transform: rotateY(0deg) translateZ(135px); }
  .inventory-cube-face-2 { transform: rotateY(90deg) translateZ(135px); }
  .inventory-cube-face-3 { transform: rotateY(180deg) translateZ(135px); }
  .inventory-cube-face-4 { transform: rotateY(-90deg) translateZ(135px); }

  .inventory-cube-face-5,
  .inventory-cube-face-6 {
    display: none;
  }

  .inventory-cube-front-link {
    width: 270px;
    height: 300px;
  }

  .inventory-cube-face-image,
  .inventory-cube-no-image {
    height: 145px;
  }

  .inventory-cube-face-info {
    padding: 8px 10px 10px;
  }

  .inventory-cube-face-title {
    font-size: 13px;
    line-height: 1.15;
    margin-bottom: 3px;
  }

  .inventory-cube-face-trim,
  .inventory-cube-face-mileage {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .inventory-cube-face-price {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .inventory-cube-face-cta {
    min-height: 28px;
    font-size: 10px;
    padding: 5px 8px;
  }

  .inventory-pagination {
    gap: 8px;
  }

  .inventory-pagination .btn {
    min-width: 44px;
    padding: 0 14px;
  }
}

/* ======================================================
   RESPONSIVE — FEATURED CARD BREAKPOINTS
   ====================================================== */
@media (min-width: 768px) {
  .featured-card-slide {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .inventory-strip-slide {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

@media (min-width: 1100px) {
  .featured-card-slide {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
  }

  .inventory-strip-slide {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
  }
}

/* ======================================================
   ACTIVE NAV LINK — FRONTEND POLISH
   ====================================================== */
.site-nav a.active,
.mobile-nav a.active {
  color: #ffd700;
  font-weight: 600;
  border-bottom: 2px solid #ffd700;
}

/* ======================================================
   INVENTORY RESULTS SUMMARY + ACTIVE FILTER PILLS
   ====================================================== */
.inventory-results-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
}

.inventory-results-text {
  font-weight: 800;
  color: #fff;
}

.inventory-results-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.inventory-active-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(244,196,0,0.12);
  border: 1px solid rgba(244,196,0,0.28);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
}

/* ======================================================
   INVENTORY SECTION SPACING FIX
   ====================================================== */
.filters-section.section {
  padding-bottom: 30px;
}

/* ======================================================
   CONTACT FORM STATUS MESSAGES
   ====================================================== */
.success-message,
.error-message {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.success-message {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #bbf7d0;
}

.error-message {
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(220, 38, 38, 0.34);
  color: #fecaca;
}

/* ======================
   CONTACT HOURS STYLING
====================== */
.contact-hours {
  line-height: 1.6;
  font-size: 15px;
  color: #ccc;
}

.contact-hours strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.contact-hours span {
  display: inline-block;
  width: 90px;
  color: #f5c518;
  font-weight: 600;
}

/* ======================
   CONTACT INFO SPACING FIX (OVERRIDE)
====================== */
.contact-info p {
  margin: 6px 0;
}

.contact-hours {
  margin: 8px 0;
  line-height: 1.4;
  color: #ccc;
}

.contact-hours strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.contact-hours div {
  margin: 2px 0;
}

/* ======================
   CONTACT CARD RESTORE
====================== */
.contact-card {
  background: linear-gradient(145deg, #1a1a1a, #111111);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ======================
   CONTACT INFO SPACING FIX
====================== */
.contact-info p {
  margin: 0 0 1rem 0;
}

.contact-hours {
  margin: 0 0 1rem 0;
  line-height: 1.45;
  color: #f2f2f2;
}

.contact-hours strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.contact-hours div {
  margin: 0.15rem 0;
}

/* ======================================================
   INVENTORY HERO — CENTERED + RESPONSIVE
   ====================================================== */
.inventory-hero {
  text-align: center;
}

.inventory-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.inventory-hero-title {
  margin: 0;
  color: var(--accent);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 4.5rem);
  text-wrap: balance;
}

.inventory-hero-text {
  margin: 1rem auto 0;
  max-width: 700px;
  color: var(--text);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .inventory-hero-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .inventory-hero-title {
    letter-spacing: 0.04em;
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .inventory-hero-text {
    font-size: 1rem;
  }
}

.inventory-hero {
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.inventory-hero-title {
  margin-bottom: 10px;
}

.inventory-hero-text {
  opacity: 0.85;
}

/* ======================================================
   FINANCE LINES — FEATURED + SHOWROOM CARDS
   ====================================================== */
.featured-card-finance,
.inventory-strip-finance,
.inventory-showcase-finance,
.inventory-cube-face-finance {
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
}

.inventory-strip-mileage {
  margin: 6px 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
}

.inventory-grid .inventory-strip-mileage {
  color: #ffffff !important;
}

/* ======================================================
   CONTACT LINKS (PHONE + EMAIL CLICKABLE STYLE)
   ====================================================== */
.contact-info a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ======================================================
   CONTACT ICON LINES
   ====================================================== */
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-icon {
  font-size: 18px;
}

.contact-info a {
  color: #ffd700;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ======================================================
   CONTACT SECTION — FINAL ICON LAYOUT
   ====================================================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.contact-item:hover {
  background: rgba(255, 215, 0, 0.08);
}

.contact-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  margin: 0;
}

.contact-info a {
  color: #ffd700;
  font-weight: 500;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ======================================================
   CONTACT SECTION — ICONS INLINE FIX
   FILE: /autonest/assets/css/public.css
   ====================================================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.contact-item:hover {
  background: rgba(255, 215, 0, 0.08);
}

.contact-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-text {
  margin: 0;
}

.contact-item > div {
  flex: 1;
  min-width: 0;
}

.contact-hours {
  margin: 0;
}

.contact-hours strong {
  display: block;
  margin-bottom: 4px;
}

/* ======================================================
   FEATURED SECTION BUTTON — RED BORDER STYLE
   ====================================================== */
.btn-outline-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-weight: 800;
  border: 2px solid #b30000;
  transition: all 0.25s ease;
}

.btn-outline-red:hover {
  background: #1a1a1a;
  border-color: #ff2a2a;
  color: #ffd000;
  transform: translateY(-1px);
}

/* ======================================================
   FIX: CENTERED COMPACT BUTTON (BEST)
   ====================================================== */
.featured-heading .btn-outline-red {
  width: auto;
  display: inline-flex;
}

/* FORCE BUTTON TO STAY COMPACT + CENTERED */
.featured-heading .btn-outline-red {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

/* ======================================================
   CONTACT SECTION — FINAL TOP / BOTTOM LAYOUT
   TOP LEFT = INFO
   TOP RIGHT = MAP
   BOTTOM CENTER = FORM
   ====================================================== */

.contact-section-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-section-header .eyebrow {
  text-align: center;
  margin-bottom: 12px;
}

.contact-section-header h2 {
  margin-bottom: 14px;
  text-align: center;
}

.contact-section-lead {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-left,
.contact-right {
  display: block;
}

.contact-info-card {
  max-width: none;
  margin: 0;
}

.contact-form-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.contact-form-card {
  width: 100%;
  max-width: 760px;
}

@media (max-width: 900px) {
  .contact-section-header {
    margin-bottom: 26px;
  }

  .contact-top-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-form-row {
    margin-top: 22px;
  }

  .contact-form-card {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .contact-section-header .eyebrow {
    font-size: 28px;
    letter-spacing: 3px;
  }

  .contact-section-header h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .contact-section-lead {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* ======================================================
   CONTACT SECTION — MATCH BOX HEIGHTS WITHOUT STRETCHING MAP
   DESKTOP ONLY
   ====================================================== */

@media (min-width: 901px) {
  .contact-top-grid {
    align-items: stretch;
  }

  .contact-left,
  .contact-right {
    display: flex;
  }

  .contact-left .contact-card,
  .contact-right .contact-card {
    flex: 1;
  }

  .contact-right .contact-card {
    display: flex;
    flex-direction: column;
  }

  .contact-right iframe {
    height: 340px;
    min-height: 340px;
  }
}

/* ======================================================
   CONTACT FORM SMS CONSENT (FIXED LAYOUT)
   ====================================================== */
.contact-consent {
  margin-top: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #d7d7d7;

  width: 100%;
  display: block;
}

.contact-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;

  width: 100%;
}

.contact-consent-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  transform: scale(1.1);
}

.contact-consent-label span {
  display: block;
  flex: 1;
}

/* ======================================================
   CONTACT FORM CHECKBOX FIX
   ====================================================== */
.contact-consent-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  padding: 0 !important;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #111216;
  appearance: auto;
  -webkit-appearance: checkbox;
  display: inline-block;
  vertical-align: top;
  margin: 4px 0 0 0;
  flex: 0 0 18px;
  transform: none !important;
  box-shadow: none !important;
}

.contact-consent {
  width: 100%;
  display: block;
}

.contact-consent-label {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-consent-label span {
  display: block;
  flex: 1 1 auto;
}

/* ======================================================
   CONTACT FORM DISCLAIMER TEXT
   ====================================================== */
.contact-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #8a8f98;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================================================
   CONTACT FORM FINAL SPACING POLISH
   ====================================================== */

/* tighten space above checkbox */
.contact-consent {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* button spacing */
.contact-form .btn {
  margin-top: 10px;
}

/* disclaimer spacing + look */
.contact-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #8a8f98;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* mobile tweak */
@media (max-width: 600px) {
  .contact-disclaimer {
    font-size: 11px;
    padding: 0 10px;
  }
}

/* ======================================================
   FOOTER LEGAL LINKS
   ====================================================== */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal-links {
  font-size: 14px;
  color: #ccc;
}

.footer-legal-links a {
  color: #ffd700;
  text-decoration: none;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}