/**
 * AutoGator — Concept A "Industrial Precision" Skin
 * css/skin.css  —  Drop-in replacement for bootstrap.min.css + style.min.css
 * ═══════════════════════════════════════════════════════════════
 * Design:      Deep forest-black (#0E1009) + AutoGator Green (#7FBB41) + Lime CTA (#CFEB34)
 * Typography:  Montserrat (headings 700/800/900) + DM Sans (body 400/500/600)
 *
 * WCAG 2.1 AA Contrast:
 *   --color-text  (#f0f4e8) on --color-dark (#0e1009) = 14.8:1  AAA ✓
 *   --color-lime  (#cfeb34) on --color-dark (#0e1009) = 10.1:1  AAA ✓
 *   --color-green (#7fbb41) on --color-dark (#0e1009) = 5.2:1   AA  ✓ (large text)
 *   --color-muted (#9aaa80) on --color-dark (#0e1009) = 4.6:1   AA  ✓
 *
 * NOTE: This file intentionally does NOT import Bootstrap.
 *       All Bootstrap utility classes used by existing pages are
 *       re-implemented here so existing page markup continues to
 *       work without modification.
 */

/* ─────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  --color-dark:      #0e1009;
  --color-surface:   #171a10;
  --color-surface2:  #232816;
  --color-border:    #2e3520;
  --color-green:     #7fbb41;
  --color-lime:      #cfeb34;
  --color-text:      #f0f4e8;
  --color-muted:     #9aaa80;
  --color-footer-bg: #070a07;
  --color-error:     #ef4444;

  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Page body colours (white mode) */
  --color-page-bg:   #ffffff;
  --color-page-text: #1a1a1a;
  --color-page-muted:#444444;
  --color-page-heading: #1c3a0e;

  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --section-py:    5rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-nav:  0 2px 16px rgba(0,0,0,0.6);

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--color-page-bg);
  color: var(--color-page-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }
iframe { border: none; }

/* ─────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-page-heading);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.0; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
p  { font-family: var(--font-body); line-height: 1.7; color: var(--color-page-muted); }

.ca-section-label {
  display: block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-green);
  padding-left: .875rem;
  border-left: 3px solid var(--color-green);
  margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   4. LAYOUT
───────────────────────────────────────────────────────────── */
.container, .container-lg, .container-sm {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.container-sm { max-width: 640px; }

/* Bootstrap grid shim — keeps existing page layouts intact */
.row          { display: flex; flex-wrap: wrap; margin-left: -.75rem; margin-right: -.75rem; }
.col, [class*="col-"] { padding-left: .75rem; padding-right: .75rem; flex: 1 0 0%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6  { flex: 0 0 100%; max-width: 100%; }
.col-lg-4  { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px)  { .col-md-6  { flex: 0 0 50%;        max-width: 50%;        } }
@media (min-width: 1024px) { .col-lg-4  { flex: 0 0 33.333%;    max-width: 33.333%;    } }

/* Bootstrap card-deck shim */
.card-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .card-deck { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-deck { grid-template-columns: repeat(3, 1fr); } }

/* Bootstrap icon-deck (6-up grid) */
.icon-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .icon-deck { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .icon-deck { grid-template-columns: repeat(3, 1fr); } }

/* Spacing utilities */
.pb-1 { padding-bottom: .25rem; }
.pb-2 { padding-bottom: .5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.text-light  { color: var(--color-text) !important; }
.bg-dark     { background: var(--color-dark) !important; }
.bg-gray     { background: var(--color-surface) !important; }
.img-fluid   { max-width: 100%; height: auto; }

/* ─────────────────────────────────────────────────────────────
   5. BUTTONS
───────────────────────────────────────────────────────────── */
.ca-btn, .btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms var(--ease-out),
              color 160ms var(--ease-out),
              border-color 160ms var(--ease-out),
              transform 160ms var(--ease-out);
  white-space: nowrap;
}
.ca-btn:active, .btn:active { transform: scale(.97); }
.ca-btn:focus-visible, .btn:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }

/* Primary */
.ca-btn-primary, .btn-primary {
  background: var(--color-lime);
  color: var(--color-dark);
  border-color: var(--color-lime);
}
.ca-btn-primary:hover, .btn-primary:hover {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-text);
}

/* Outline */
.ca-btn-outline, .btn-secondary, .btn-outline-primary {
  background: transparent;
  color: var(--color-text);
  border-color: #6a7a50;
}
.ca-btn-outline:hover, .btn-secondary:hover {
  border-color: var(--color-lime);
  color: var(--color-lime);
}

/* Short button variant (existing site uses btn-short) */
.btn-short { padding: .5rem 1rem; font-size: .8rem; }

/* Phone pill */
.ca-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.125rem;
  background: var(--color-lime);
  color: var(--color-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
  box-shadow: 0 0 0 3px rgba(207,235,52,.18);
}
.ca-btn-phone:hover { background: var(--color-green); color: var(--color-text); }
.ca-btn-phone:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }

/* ─────────────────────────────────────────────────────────────
   6. NAVIGATION
───────────────────────────────────────────────────────────── */
.ca-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14,16,9,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-nav);
}

/* Inner wrapper — constrained to same max-width as page content */
.ca-nav > * {
  /* handled by ca-nav__bar below */
}

.ca-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem var(--container-pad);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.ca-nav__logo img { height: 64px; width: auto; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }

.ca-nav__links { display: none; align-items: center; gap: 2rem; }
.ca-nav__link {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-muted); text-decoration: none;
  transition: color 160ms var(--ease-out);
  border-radius: var(--radius-sm);
}
.ca-nav__link:hover { color: var(--color-lime); }
.ca-nav__link:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }

.ca-nav__actions { display: none; align-items: center; gap: .75rem; }

.ca-nav__toggle {
  display: flex; align-items: center; justify-content: center;
  padding: .5rem; color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color 160ms var(--ease-out);
}
.ca-nav__toggle:hover { color: var(--color-lime); }
.ca-nav__toggle:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }

/* Mobile menu */
.ca-mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 90;
  padding: 5rem 1.5rem 2rem;
  flex-direction: column;
  background: var(--color-surface);
  overflow-y: auto;
}
.ca-mobile-menu.is-open { display: flex; }
.ca-mobile-menu__logo   { height: 56px; width: auto; margin-bottom: 1.5rem; }
.ca-mobile-menu__link {
  display: block;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
  color: var(--color-text); padding: .875rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.ca-mobile-menu__link:hover { color: var(--color-lime); }
.ca-mobile-menu__link:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }
.ca-mobile-menu__cta { margin-top: 1.5rem; justify-content: center; }

@media (min-width: 1024px) {
  .ca-nav__links   { display: flex; }
  .ca-nav__actions { display: flex; }
  .ca-nav__toggle  { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   7. HERO (index.php main header)
───────────────────────────────────────────────────────────── */
/* The existing site uses <header class="bg-img-card-container bg-img-hero index-main-cards"> */
.bg-img-card-container {
  position: relative;
  padding-top: 5rem; /* clear fixed nav */
}

.bg-img-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-surface) 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.index-main-cards {
  padding: 6rem 0 4rem;
}

/* ─────────────────────────────────────────────────────────────
   8. CARDS (existing .card class restyled)
───────────────────────────────────────────────────────────── */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 250ms var(--ease-out),
              box-shadow 250ms var(--ease-out),
              transform 250ms var(--ease-out);
}
.card:hover { border-color: var(--color-green); box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.hover-scale:hover { transform: translateY(-4px) scale(1.01); }

.card-body { padding: 1.5rem; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 900;
  color: var(--color-text); margin-bottom: .75rem;
}

/* Hero service cards (image background) */
.index-main-cards .card {
  min-height: 280px;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}
.index-main-cards .card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,16,9,.9) 40%, rgba(14,16,9,.3) 100%);
  border-radius: var(--radius-md);
}
.index-main-cards .card-body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  height: 100%; min-height: 280px;
}
.index-main-cards .card-title { font-size: 1.75rem; color: var(--color-text); }

/* Icon cards */
.icon-deck .card { cursor: default; }
.icon-deck .card.pointer { cursor: pointer; }
.hover-primary:hover .card-title { color: var(--color-lime); }

.svg-container {
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.svg-container img { width: 24px; height: 24px; filter: invert(1) sepia(1) saturate(2) hue-rotate(60deg); }

/* box-shadow utility */
.box-shadow { box-shadow: var(--shadow-card); }

/* ─────────────────────────────────────────────────────────────
   9. "WHY US" FLOATING BAR
───────────────────────────────────────────────────────────── */
.why-us { background: var(--color-dark); padding: var(--section-py) 0; }
.why-us article { }

.floating-bar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .floating-bar { flex-direction: row; align-items: center; }
}

.floating-bar .text-container { flex: 1; }
.floating-bar h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.floating-bar h2 .color-primary { color: var(--color-lime); }
.floating-bar p  { font-size: .95rem; }

.floating-img-container { flex-shrink: 0; }
.floating-img {
  width: 100%; max-width: 320px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ─────────────────────────────────────────────────────────────
   10. REVIEWS CAROUSEL
───────────────────────────────────────────────────────────── */
.user-reviews {
  background: var(--color-surface);
  padding: var(--section-py) 0;
}

/* New skin carousel markup */
#ag-reviews { max-width: 48rem; margin: 0 auto; }

.ag-review-slide { }
.ag-review-slide[hidden] { display: none; }

.ag-review__stars { display: flex; gap: .25rem; margin-bottom: 1rem; }
.ag-review__stars svg { color: var(--color-lime); fill: var(--color-lime); width: 20px; height: 20px; }

.ag-review__text {
  font-size: 1.1rem; font-style: italic;
  color: var(--color-text); line-height: 1.7;
  margin-bottom: 1.25rem;
}

.ag-review__author {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--color-green);
}
.ag-review__location { font-size: .8rem; color: var(--color-muted); }

.ag-review__controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.5rem;
}

.ag-review__nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.ag-review__nav-btn:hover { border-color: var(--color-lime); color: var(--color-lime); }
.ag-review__nav-btn:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }
.ag-review__nav-btn svg { width: 18px; height: 18px; }

.ag-review__counter { font-family: var(--font-display); font-size: .8rem; color: var(--color-muted); }

/* Legacy Bootstrap carousel shim (keeps old markup working) */
.carousel { position: relative; overflow: hidden; }
.carousel-inner { }
.carousel-item { display: none; }
.carousel-item.active { display: block; }
.flex-wrapper {
  display: flex; flex-direction: column; gap: 1.5rem;
  align-items: flex-start; padding: 2rem;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
@media (min-width: 640px) { .flex-wrapper { flex-direction: row; align-items: center; } }
.flex-wrapper img {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--color-green);
}
.flex-wrapper .text-container h3 {
  font-size: 1.2rem; margin-bottom: .5rem;
}
.flex-wrapper .text-container h3 .color-primary { color: var(--color-lime); }
.flex-wrapper .text-container p { font-size: .9rem; }

.control-container {
  display: flex; justify-content: space-between;
  padding: 1rem 0;
}
.carousel-control-prev, .carousel-control-next {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  border-color: var(--color-lime); color: var(--color-lime);
}
.carousel-control-prev-icon img, .carousel-control-next-icon img {
  width: 18px; height: 18px; filter: invert(1);
}

/* ─────────────────────────────────────────────────────────────
   11. LOCATION / MAP
───────────────────────────────────────────────────────────── */
.location {
  background: var(--color-dark);
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .location { grid-template-columns: 1fr 1fr; } }

.mapouter { width: 100%; }
.gmap_canvas { width: 100%; }
.gmap_canvas iframe { width: 100%; height: 400px; display: block; }

.location .info-container {
  padding: 3rem 2rem;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
}
.location .info-container h2 { margin-bottom: 1rem; }
.location .info-container p  { font-size: .95rem; }

/* ─────────────────────────────────────────────────────────────
   12. NEWSLETTER SECTION
───────────────────────────────────────────────────────────── */
.newsletter {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0;
  text-align: center;
}
.newsletter h2 { margin-bottom: .75rem; }
.newsletter p  { margin-bottom: 1.5rem; }
.newsletter .main-card { max-width: 600px; }
.newsletter img { border-radius: var(--radius-sm); margin: .5rem auto; }
.bg-img-parts { /* override background image if set */ }

/* ─────────────────────────────────────────────────────────────
   13. INNER PAGE LAYOUT (privacy, terms, about, etc.)
───────────────────────────────────────────────────────────── */
.page-content {
  padding-top: 7rem; /* clear fixed nav (nav is ~72px tall) */
  padding-bottom: 4rem;
  min-height: 60vh;
}

.page-content h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem); color: var(--color-page-heading); }
.page-content h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; color: var(--color-page-heading); }
.page-content h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; color: var(--color-page-heading); }
.page-content p  { margin-bottom: 1rem; font-size: .95rem; color: var(--color-page-muted); }
.page-content ul, .page-content ol { margin: .75rem 0 1rem 1.5rem; }
.page-content li { font-size: .95rem; color: var(--color-page-muted); margin-bottom: .4rem; }
.page-content ul li { list-style: disc; }
.page-content ol li { list-style: decimal; }
.page-content a { color: #2d6e0f; text-decoration: underline; }
.page-content a:hover { color: #1c3a0e; }
.page-content strong { color: var(--color-page-text); font-weight: 700; }

/* Details container (existing class) */
.details-container {
  padding-top: 7rem;
  padding-bottom: 2rem;
}

/* Warning/banner section */
.warning-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────────────────────────── */
.ca-footer { background: var(--color-footer-bg); border-top: 1px solid var(--color-border); }
.ca-footer__inner {
  padding: 3rem var(--container-pad);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.ca-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 640px)  { .ca-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ca-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.ca-footer__logo    { height: 3.5rem; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 1px 4px rgba(0,0,0,.5)); }
.ca-footer__tagline { font-size: .875rem; color: var(--color-muted); }

.ca-footer__col-heading {
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--color-green); margin-bottom: 1rem;
}

.ca-footer__links { display: flex; flex-direction: column; gap: .5rem; }
.ca-footer__link {
  font-size: .875rem; color: var(--color-muted);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.ca-footer__link:hover { color: var(--color-text); }
.ca-footer__link:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 2px; border-radius: var(--radius-sm); }

.ca-footer__divider {
  height: 1px;
  background: linear-gradient(to right, var(--color-green), var(--color-lime), var(--color-green));
  margin: 2rem 0 1rem;
}

.ca-footer__bottom {
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .75rem; color: var(--color-text);
}
@media (min-width: 640px) { .ca-footer__bottom { flex-direction: row; justify-content: space-between; } }

.ca-footer__social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.ca-footer__social-link { color: var(--color-muted); transition: color 160ms var(--ease-out); }
.ca-footer__social-link:hover { color: var(--color-green); }
.ca-footer__social-link:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; border-radius: var(--radius-sm); }
.ca-footer__social-link svg { width: 20px; height: 20px; }

/* Legacy footer shim */
.footer-wrapper { background: var(--color-footer-bg) !important; }
.footer-item-container { display: none; } /* hidden — replaced by ca-footer__grid */
.footer-copyright { display: none; }      /* hidden — replaced by ca-footer__bottom */

/* ─────────────────────────────────────────────────────────────
   15. SELL MY CAR PAGES
───────────────────────────────────────────────────────────── */

/* ── Shared button variants ── */
.ca-btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), transform 100ms var(--ease-out);
}
.ca-btn:active { transform: scale(0.97); }
.ca-btn--primary {
  background: var(--color-lime);
  color: #1a1a1a;
  border: 2px solid var(--color-lime);
}
.ca-btn--primary:hover { background: #d8f530; border-color: #d8f530; }
.ca-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}
.ca-btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.ca-btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.ca-btn--outline-light:hover { background: rgba(255,255,255,.1); }
.ca-btn--green {
  background: var(--color-green);
  color: #fff;
  border: 2px solid var(--color-green);
}
.ca-btn--green:hover { background: #1c3a0e; border-color: #1c3a0e; }
.ca-btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ── Hero (full-bleed with overlay) ── */
.smc-hero, .smc-page-hero, .smc-quote-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 320px; /* shorter hero so image is smaller and text is readable */
  display: block;
  padding-top: 80px; /* clear the fixed nav */
}
.smc-hero__img, .smc-page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.smc-hero__overlay, .smc-page-hero__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(to right, rgba(10,20,5,.85) 40%, rgba(10,20,5,.5) 100%);
}
.smc-hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.smc-accent { color: var(--color-lime); }
.smc-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-bottom: 2rem;
}
.smc-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.smc-hero__hours {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin: 0;
}
.smc-breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}
.smc-breadcrumb a { color: var(--color-lime); text-decoration: none; }
.smc-breadcrumb a:hover { text-decoration: underline; }

/* ── Trust badges ── */
.smc-badges {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.75rem 0;
}
.smc-badges__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .smc-badges__grid { grid-template-columns: repeat(4, 1fr); } }
.smc-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  padding: .75rem;
}
.smc-badge__icon { font-size: 1.75rem; }
.smc-badge strong { font-size: .9rem; color: var(--color-text); }
.smc-badge span { font-size: .8rem; color: var(--color-muted); }

/* ── Sub-page cards on hub ── */
.smc-subpage-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}
@media (min-width: 640px) { .smc-subpage-cards { grid-template-columns: repeat(3, 1fr); } }
.smc-subpage-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  background: var(--color-surface);
  transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.smc-subpage-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  transform: translateY(-3px);
}
.smc-subpage-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.smc-subpage-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.smc-subpage-card__body h3 {
  font-size: 1.05rem;
  color: var(--color-text);
  margin: 0;
}
.smc-subpage-card__body p {
  font-size: .875rem;
  color: var(--color-muted);
  margin: 0;
  flex: 1;
}
.smc-link-arrow {
  font-size: .85rem;
  color: var(--color-lime);
  font-weight: 700;
  margin-top: auto;
}

/* ── Steps (how-it-works) ── */
.smc-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0;
  border-left: 3px solid var(--color-green);
  padding-left: 0;
}
.smc-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
}
.smc-step:last-child { border-bottom: none; }
.smc-step__number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-lime);
  color: #1a1a1a;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smc-step__body h2 {
  font-size: 1.2rem;
  margin: 0 0 .5rem;
  color: var(--color-text); /* light — dark card background */
}
.smc-step__body p { margin-bottom: .75rem; color: var(--color-muted); }

/* ── Quote page two-column cards ── */
.smc-quote-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .smc-quote-options { grid-template-columns: 1fr 1fr; } }
.smc-quote-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}
.smc-quote-card--phone { border-color: var(--color-green); }
.smc-quote-card__icon { font-size: 2.5rem; }
.smc-quote-card h2 { font-size: 1.4rem; margin: 0; color: var(--color-text); } /* light — dark card */
.smc-quote-card__sub { font-size: .85rem; color: var(--color-muted); margin: 0; }
.smc-quote-card p { font-size: .95rem; color: var(--color-muted); margin: 0; }
.smc-quote-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.smc-quote-list li { font-size: .9rem; color: var(--color-muted); }
.smc-quote-card__btn { margin-top: auto; text-align: center; }

/* ── Bottom CTA band ── */
.smc-bottom-cta {
  background: linear-gradient(135deg, #0d2206 0%, #1c3a0e 60%, #2d6e0f 100%);
  padding: 4rem 0;
  text-align: center;
  margin-top: 3rem;
}
.smc-bottom-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }

/* ── Content section (sell-my-car hub) ── */
.smc-content-section {
  background: var(--color-page-bg);
  padding: 3.5rem 0;
}
.smc-content-inner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2rem;
}
/* Dark card — all text must be light */
.smc-content-inner h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 1.25rem; color: var(--color-text); }
.smc-content-inner h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; color: var(--color-lime); }
.smc-content-inner h2:first-child { margin-top: 0; }
.smc-content-inner h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; color: var(--color-text); }
.smc-content-inner p  { margin-bottom: 1rem; font-size: .95rem; color: var(--color-muted); }
.smc-content-inner li { font-size: .95rem; color: var(--color-muted); margin-bottom: .4rem; }
.smc-content-inner strong { color: var(--color-text); font-weight: 700; }
.smc-content-inner a  { color: var(--color-lime); text-decoration: underline; }
.smc-content-inner a:hover { color: #d8f530; }
@media (min-width: 768px) { .smc-content-inner { padding: 3rem 3.5rem; } }
.smc-bottom-cta h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: #fff; margin: 0; }
.smc-bottom-cta p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0; font-size: .95rem; }
.smc-bottom-cta__btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: .5rem; }
.smc-bottom-cta__hours { font-size: .8rem; color: rgba(255,255,255,.55); margin: 0; }

/* ─────────────────────────────────────────────────────────────
   15. COOKIE BANNER & MODAL
───────────────────────────────────────────────────────────── */
.ca-cookie-banner {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 2rem); max-width: 48rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  flex-direction: column; gap: 1rem;
  display: none; /* controlled by JS — hidden attr won't override flex */
}
.ca-cookie-banner.is-visible {
  display: flex;
}
@media (min-width: 768px) { .ca-cookie-banner { flex-direction: row; align-items: center; } }
.ca-cookie-banner p { font-size: .875rem; color: var(--color-text); flex: 1; }
.ca-cookie-banner a { color: var(--color-lime); text-decoration: underline; }
.ca-cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.ca-cookie-modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,.8);
  display: none; /* controlled by JS — do NOT use flex here; hidden attr won't override flex */
}
.ca-cookie-modal-overlay.is-open {
  display: flex;
}
.ca-cookie-modal {
  width: 100%; max-width: 32rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--color-text);
}
.ca-cookie-modal__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.ca-cookie-modal__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; }
.ca-cookie-modal__close { padding: .5rem; border-radius: var(--radius-sm); color: var(--color-text); transition: color 160ms var(--ease-out); }
.ca-cookie-modal__close:hover { color: var(--color-text); }
.ca-cookie-modal__close:focus-visible { outline: 2px solid var(--color-lime); outline-offset: 3px; }
.ca-cookie-modal__close svg { width: 20px; height: 20px; }

.ca-cookie-option {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1rem;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
}
.ca-cookie-option__title { font-weight: 700; font-size: .875rem; color: var(--color-text); margin-bottom: .25rem; }
.ca-cookie-option__desc  { font-size: .75rem; color: #c8d4b0; }
.ca-cookie-option__always-on {
  font-size: .75rem; font-weight: 700;
  padding: .25rem .75rem; border-radius: var(--radius-sm);
  background: var(--color-green); color: var(--color-dark);
  white-space: nowrap; flex-shrink: 0;
}
.ca-cookie-option input[type="checkbox"] { width: 1.25rem; height: 1.25rem; accent-color: var(--color-lime); cursor: pointer; flex-shrink: 0; margin-top: .125rem; }
.ca-cookie-modal__actions { display: flex; gap: .75rem; margin-top: 1.5rem; }

/* ─────────────────────────────────────────────────────────────
   16. ACCESSIBILITY UTILITIES
───────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: .75rem 1.5rem;
  background: var(--color-lime); color: var(--color-dark);
  font-family: var(--font-display); font-weight: 900; font-size: .875rem;
  text-decoration: none; border-radius: var(--radius-sm);
  transition: top 160ms;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ─────────────────────────────────────────────────────────────
   17. ANIMATIONS
───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  }
  .fade-up.is-visible { opacity: 1; transform: translateY(0); }
  .fade-up > *:nth-child(1) { transition-delay: 0ms; }
  .fade-up > *:nth-child(2) { transition-delay: 70ms; }
  .fade-up > *:nth-child(3) { transition-delay: 140ms; }
  .fade-up > *:nth-child(4) { transition-delay: 210ms; }
  .fade-up > *:nth-child(5) { transition-delay: 280ms; }
  .fade-up > *:nth-child(6) { transition-delay: 350ms; }
}

/* ─────────────────────────────────────────────────────────────
   CONTACT PAGE LAYOUT
───────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-md);
  display: block;
}

.contact-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-page-heading);
  margin-bottom: 1.5rem;
}
.contact-info h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-page-heading);
  margin: 1.5rem 0 .4rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-info p {
  font-size: .95rem;
  color: var(--color-page-muted);
  margin-bottom: .75rem;
  line-height: 1.65;
}
.contact-info a {
  color: #2d6e0f;
  text-decoration: underline;
}
.contact-info a:hover { color: #1c3a0e; }
.contact-info strong { color: var(--color-page-text); font-weight: 700; }

.directions-section {
  border-top: 1px solid #e0e0e0;
  padding-top: 2rem;
  margin-top: 1rem;
}
.directions-section h2 {
  font-size: 1.4rem;
  color: var(--color-page-heading);
  margin-bottom: 1rem;
}
.directions-section p {
  font-size: .95rem;
  color: var(--color-page-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.directions-section strong { color: var(--color-page-text); font-weight: 700; }

/* ─────────────────────────────────────────────────────────────
   ABOUT PAGE LAYOUT
───────────────────────────────────────────────────────────── */
.about-hero {
  text-align: center;
  padding: 2rem 0 2.5rem;
  border-bottom: 2px solid #e8f0e0;
  margin-bottom: 2.5rem;
}
.about-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--color-page-heading);
  margin-bottom: .75rem;
}
.about-tagline {
  font-size: 1.15rem;
  color: var(--color-page-muted);
  font-style: italic;
  margin: 0;
}

.about-section {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e8f0e0;
}
.about-section:last-of-type { border-bottom: none; }

.about-section h2 {
  font-size: 1.6rem;
  color: var(--color-page-heading);
  margin-bottom: 1rem;
  font-weight: 800;
}
.about-section h3 {
  font-size: 1.1rem;
  color: var(--color-page-heading);
  font-weight: 700;
  margin-bottom: .5rem;
}
.about-section p {
  font-size: .975rem;
  color: var(--color-page-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Customer cards grid */
.about-customers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px)  { .about-customers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .about-customers { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.about-customer-card {
  background: #f7faf4;
  border: 1px solid #d4e8c2;
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.about-customer-card h3 {
  font-size: 1rem;
  color: var(--color-page-heading);
  font-weight: 700;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.about-customer-card p {
  font-size: .875rem;
  color: var(--color-page-muted);
  line-height: 1.7;
  margin: 0;
}

/* Affiliations */
.about-affiliations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
@media (min-width: 768px) { .about-affiliations { grid-template-columns: 1fr 1fr; } }

.about-affiliation {
  background: #f7faf4;
  border: 1px solid #d4e8c2;
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.about-affiliation h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.about-affiliation h3 a {
  color: var(--color-page-heading);
  text-decoration: none;
}
.about-affiliation h3 a:hover {
  color: #2d6e0f;
  text-decoration: underline;
}
.about-affiliation p {
  font-size: .875rem;
  color: var(--color-page-muted);
  line-height: 1.75;
  margin: 0;
}

/* CTA block */
.about-cta {
  background: #f0f7e8;
  border: 1px solid #c8e0a8;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-top: 1rem;
}
.about-cta h2 {
  font-size: 1.75rem;
  color: var(--color-page-heading);
  margin-bottom: .75rem;
}
.about-cta p {
  font-size: 1rem;
  color: var(--color-page-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════════
   REPAIRABLE VEHICLES PAGE  (repairable-vehicles.php)
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero variant for rv page ── */
.rv-hero { min-height: 320px; }

/* ── Make filter card ── */
.rv-filter-section { background: var(--color-surface); padding: 2rem 0; border-bottom: 1px solid var(--color-border); }
.rv-filter-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem 2rem; box-shadow: var(--shadow-card); }
.rv-filter-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.rv-filter-header h2 { font-size: 1.25rem; margin: 0; color: var(--color-text); }
.rv-notify-btn { font-size: .85rem; padding: .45rem 1rem; }
.rv-make-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .75rem; }
.rv-make-link { font-size: .9rem; color: var(--color-muted); text-decoration: none; padding: .25rem .5rem; border-radius: var(--radius-sm); transition: background 150ms, color 150ms; }
.rv-make-link:hover { background: var(--color-surface-hover, rgba(255,255,255,.06)); color: var(--color-text); }
.rv-make-link--active { background: var(--color-lime); color: #0d1a04 !important; font-weight: 700; }
.rv-make-count { font-size: .8rem; opacity: .7; }

/* ── Results section ── */
.rv-results-section { padding: 2.5rem 0 3rem; background: var(--color-page-bg); }
.rv-results-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.rv-results-header h2 { font-size: 1.5rem; margin: 0; color: var(--color-page-heading); }
.rv-accent { color: var(--color-green); }
.rv-sort { display: flex; align-items: center; gap: .5rem; }
.rv-sort-label { font-size: .85rem; color: var(--color-page-muted); }
.rv-sort-select { font-size: .85rem; padding: .35rem .75rem; border: 1px solid #ccc; border-radius: var(--radius-sm); background: #fff; color: #1a1a1a; cursor: pointer; }

/* ── Vehicle grid ── */
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.rv-card { background: #fff; border: 1px solid #e0e0e0; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.07); transition: transform 200ms, box-shadow 200ms; }
.rv-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.rv-card--sold { opacity: .7; }
.rv-card__img-link { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.rv-card__img-link--sold { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: default; }
.rv-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms; }
.rv-card:hover .rv-card__img { transform: scale(1.04); }
.rv-badge { position: absolute; top: .6rem; left: .6rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .2rem .55rem; border-radius: 3px; }
.rv-badge--new  { background: #5e9900; color: #fff; }
.rv-badge--drive { background: #fd7e14; color: #fff; }
.rv-badge--sold { background: #dc3545; color: #fff; }
.rv-card__body { padding: 1rem; }
.rv-card__title { font-size: .95rem; font-weight: 700; color: #1a1a1a; margin: 0 0 .4rem; line-height: 1.3; }
.rv-card__price { font-size: 1rem; font-weight: 700; color: var(--color-green); margin: 0 0 .75rem; }
.rv-card__btn { width: 100%; text-align: center; font-size: .85rem; padding: .5rem; }
.rv-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; color: var(--color-page-muted); font-size: 1rem; }
.rv-empty a { color: var(--color-green); }

/* ── SEO content section ── */
.rv-seo-section { background: var(--color-page-bg); }
