/* Shared brand tokens — Auto Group Facility & One-Stop Cleaning Service
   Source: owner's flyer set (green #7ED957 + navy #1C2143). Reuse for flyers/brochures. */
:root {
  --navy: #1C2143;        /* primary dark (flyer navy) */
  --navy-2: #282D57;      /* secondary navy (flyer banners) */
  --green: #7ED957;       /* brand green (flyer green) — use on navy, or with navy text */
  --green-dark: #2F7D17;  /* AA-safe green for text on white/light backgrounds */
  --ink: #23273F;         /* body text */
  --slate: #5B6177;       /* muted text */
  --mist: #F2F8EF;        /* light background (green-tinted white) */
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 33, 67, .10);
  --font-head: "Montserrat", "Arial", sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--green-dark); margin-bottom: .9em; }
.accent { color: var(--green); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: var(--navy); font-family: var(--font-head); font-weight: 700; text-decoration: none; padding: .9em 1.6em; border-radius: 999px; border: 2px solid var(--green); transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); background: #95E373; box-shadow: 0 10px 24px rgba(126,217,87,.35); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.btn-lg { padding: 1.05em 1.9em; font-size: 1.02rem; }
.btn-sm { padding: .55em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; margin-top: 8px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; background: linear-gradient(180deg, rgba(20,24,47,.75), rgba(20,24,47,0)); }
.site-header.scrolled { background: rgba(28,33,67,.97); box-shadow: 0 6px 24px rgba(0,0,0,.25); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-text strong { font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.brand-text em { font-style: normal; font-weight: 600; font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; color: var(--green); margin-top: 4px; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { text-decoration: none; font-weight: 500; color: var(--white); }
.nav-menu a:not(.btn):hover { color: var(--green); }
.nav-menu .btn { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: center; color: var(--white); overflow: hidden; background: var(--navy); padding-top: 76px; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,24,47,.96) 0%, rgba(28,33,67,.88) 38%, rgba(28,33,67,.55) 70%, rgba(40,45,87,.35) 100%),
              linear-gradient(0deg, rgba(20,24,47,.85) 0%, rgba(20,24,47,0) 35%); }
.hero-inner { position: relative; z-index: 2; padding: 72px 0 140px; max-width: 1200px; }
.hero-inner > * { max-width: 760px; }
.hero h1 { color: var(--white); text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero .eyebrow { color: var(--green); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #E3E6F0; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-chips { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li { font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .45em 1em; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #E3E6F0; }
.hero-chips li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: middle; }
.hero-trust { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; background: rgba(126,217,87,.95); color: var(--navy); padding: 16px 0; text-align: center; font-weight: 500; }
.hero-trust p { margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p:last-child { color: var(--slate); }
.section-head.light h2 { color: var(--white); }
.section-head.light .eyebrow { color: var(--green); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #E1E6DE; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(28,33,67,.18); }
.svc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc-img img { transform: scale(1.07); }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,33,67,0) 45%, rgba(28,33,67,.75) 100%); }
.svc-num { position: absolute; z-index: 1; left: 20px; bottom: 14px; font-family: var(--font-head); font-weight: 900; font-size: 2.2rem; color: var(--green); line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.svc-body { padding: 26px 26px 30px; border-top: 4px solid var(--green); flex: 1; }
.svc-body p { color: var(--slate); margin: 0; }

/* Gallery band */
.gallery-band { background: radial-gradient(900px 400px at 10% 0%, rgba(126,217,87,.12), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); padding: 100px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px; }
.g-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #14182F; }
.g-item.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .4s; filter: saturate(1.05); }
.g-item img.g-zoom { object-position: 30% 50%; }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,24,47,.85)); pointer-events: none; }
.g-item figcaption { position: absolute; z-index: 1; left: 20px; bottom: 16px; font-family: var(--font-head); font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 10px; }
.g-item figcaption::before { content: ""; width: 22px; height: 3px; background: var(--green); border-radius: 2px; }

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-copy p { color: var(--slate); }
.owner-note { color: var(--ink) !important; font-weight: 500; }
.owner-note strong { color: var(--green-dark); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-list li { display: flex; gap: 14px; background: var(--mist); border: 1px solid #E1E6DE; border-radius: var(--radius); padding: 24px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.why-list li:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow); }
.why-list p { margin: 0; color: var(--slate); font-size: .95rem; }
.check { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--navy); position: relative; }
.check::after { content: ""; position: absolute; left: 11px; top: 6px; width: 6px; height: 13px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Partners */
.partners-sec { background: var(--mist); padding: 84px 0; }
.partners { text-align: center; }
.partner-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.partner { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--white); border-radius: var(--radius); padding: 22px 24px; border: 1px solid #E1E6DE; transition: transform .25s, box-shadow .25s; }
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partner strong { display: block; font-family: var(--font-head); color: var(--navy); }
.partner span:not(.pin) { color: var(--slate); font-size: .92rem; }
.pin { flex: 0 0 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(126,217,87,.25); }

/* Contact */
.contact { position: relative; padding: 110px 0; background: var(--navy); overflow: hidden; }
.contact-bg, .contact-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-bg img { object-fit: cover; opacity: .35; filter: blur(2px); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(20,24,47,.95), rgba(40,45,87,.8)); }
.contact-box { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--white); border-radius: 24px; padding: 56px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.contact-copy p { color: var(--slate); }
.contact-actions { display: grid; gap: 12px; }
.contact-line { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 14px 18px; border: 1px solid #E1E6DE; border-radius: 12px; font-weight: 600; color: var(--navy); word-break: break-word; transition: border-color .2s, transform .2s; }
a.contact-line:hover { border-color: var(--green); transform: translateX(4px); }
.contact-line small { display: block; font-weight: 500; color: var(--slate); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.ci { flex: 0 0 44px; height: 44px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; }
.ci svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.site-footer { background: #14182F; color: #B9BED6; padding: 40px 0; font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer p { margin: 0; }
.sister a { color: var(--green); font-weight: 600; }

/* Reveal animations (enabled by JS; respects reduced motion) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; transform: none; } * { transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .why-grid, .contact-box { grid-template-columns: 1fr; }
  .svc-grid, .partner-list { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 20px 20px; display: none; box-shadow: 0 12px 24px rgba(0,0,0,.3); }
  .nav-menu.open { display: flex; }
  .site-header:has(.nav-menu.open) { background: var(--navy); }
  .nav-menu a { padding: 12px 0; }
  .nav-menu .btn { margin-top: 8px; }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(20,24,47,.92) 0%, rgba(28,33,67,.82) 60%, rgba(20,24,47,.95) 100%); }
  .hero-inner { padding: 48px 0 32px; }
  .hero-trust { position: relative; }
  .hero-cta .btn { flex: 1 1 100%; }
  .section { padding: 68px 0; }
  .svc-grid, .partner-list, .why-list, .gallery { grid-template-columns: 1fr; }
  .g-item.g-wide { grid-column: auto; }
  .contact { padding: 64px 0; }
  .contact-box { padding: 30px 22px; }
  .footer-grid { flex-direction: column; text-align: center; }
}

/* ===================== Lead-gen additions (shared by both sites) ===================== */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--green); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }
.btn:focus-visible, .mobile-bar a:focus-visible { outline: 3px solid var(--white); box-shadow: 0 0 0 6px var(--navy); }
.text-link { color: var(--green-dark); font-weight: 700; }
.inline-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }

/* Service card links + CTA card */
.svc-link { display: inline-flex; gap: 6px; margin-top: 14px; font-family: var(--font-head); font-weight: 700; color: var(--green-dark); text-decoration: none; font-size: .95rem; }
.svc-link:hover { text-decoration: underline; }
.svc-cta { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border: 0; }
.svc-cta .svc-body { border-top: 0; display: flex; flex-direction: column; justify-content: center; padding: 36px 30px; }
.svc-cta h3 { color: var(--white); font-size: 1.35rem; }
.svc-cta p { color: #D7DBEA !important; }
.svc-cta .eyebrow { color: var(--green) !important; }
.svc-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.svc-cta .btn-ghost { color: var(--white); }

/* Who we serve */
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind { background: var(--mist); border: 1px solid #E1E6DE; border-radius: var(--radius); padding: 26px 22px; }
.ind h3 { font-size: 1.05rem; }
.ind p { color: var(--slate); margin: 0; font-size: .95rem; }
.ind-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.ind-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Clients list */
ul.partner-list { list-style: none; padding: 0; margin: 36px 0 0; }
.clients-note { color: var(--slate); margin-top: 18px; font-size: .92rem; }

/* CTA band */
.band-cta { text-align: center; margin-top: 44px; }
.cta-band { background: var(--green); color: var(--navy); padding: 40px 0; }
.cta-band .cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--navy); }
.cta-band p { margin: 6px 0 0; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 10px 24px rgba(28,33,67,.3); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: rgba(28,33,67,.08); box-shadow: none; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sister-company band */
.sister-band { background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: var(--white); padding: 64px 0; }
.sister-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.sister-inner > div { max-width: 680px; }
.sister-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.sister-band p { color: #D7DBEA; margin: 0; }
.sister-band .eyebrow { color: var(--green); margin-bottom: .7em; }

/* Quote form */
.qform { display: grid; gap: 14px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field label, .svc-pick legend { font-weight: 600; color: var(--navy); font-size: .95rem; }
.qform input[type=text], .qform input[type=tel], .qform input[type=email], .qform select, .qform textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #8A90A6; border-radius: 10px; padding: 12px 14px; }
.qform textarea { resize: vertical; min-height: 110px; }
.qform input:focus, .qform textarea:focus, .qform select:focus { outline: 3px solid rgba(47,125,23,.35); border-color: var(--green-dark); }
.qform [aria-invalid=true] { border-color: #B3261E !important; }
.svc-pick { border: 1.5px solid #D5DAE3; border-radius: 12px; padding: 12px 16px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.svc-pick[aria-invalid=true] { border-color: #B3261E; }
.svc-pick legend { padding: 0 6px; }
.svc-pick label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); font-size: .95rem; cursor: pointer; line-height: 1.35; }
.svc-pick input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green-dark); flex: 0 0 18px; }
.svc-pick .ferr { grid-column: 1 / -1; }
.req { color: #B3261E; }
.ferr { color: #B3261E; font-size: .88rem; margin: 0; min-height: 0; font-weight: 500; }
.ferr:empty { display: none; }
.form-errors { background: #FCEEEE; color: #8C1D18; border: 1px solid #E8B4B0; border-radius: 10px; padding: 12px 14px; font-weight: 600; }
.form-done { background: var(--mist); border: 1px solid var(--green-dark); color: var(--ink); border-radius: 10px; padding: 12px 14px; margin: 0; }
.form-done a { color: var(--green-dark); font-weight: 700; }
.fnote { color: var(--slate); font-size: .85rem; margin: 0; }
.qform .btn-block { width: 100%; font-size: 1.05rem; cursor: pointer; }
.qform button.btn { font: inherit; font-family: var(--font-head); font-weight: 800; }

/* Footer columns */
.site-footer .footer-grid { align-items: flex-start; }
.footer-col { display: grid; gap: 8px; }
.footer-col a { color: #E3E6F0; text-decoration: none; }
.footer-col a:hover { color: var(--green); }
.footer-wide { flex-basis: 100%; }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }

/* Sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(20,24,47,.97); box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
  .mobile-bar a { text-align: center; text-decoration: none; font-family: var(--font-head); font-weight: 800; padding: 13px 10px; border-radius: 999px; }
  .mb-email { color: var(--white); border: 2px solid rgba(255,255,255,.6); }
  .mb-quote { background: var(--green); color: var(--navy); }
  body { padding-bottom: 76px; }
  .frow, .svc-pick { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .sister-inner .btn, .cta-band .btn { width: 100%; }
  .cta-btns { width: 100%; }
  .footer-col { justify-items: center; }
  .site-footer .footer-grid { align-items: center; }
}
@media (min-width: 721px) and (max-width: 960px) { .ind-grid { grid-template-columns: 1fr 1fr; } }

/* AFG-specific tweaks for the quote section */
.contact-box { align-items: start; }
.contact-copy .contact-actions { margin-top: 24px; }
.about-sec { background: var(--white); padding-top: 0; }
.nav-menu .nav-sister { color: var(--green); font-weight: 600; }
@media (max-width: 1100px) and (min-width: 721px) { .nav-menu { gap: 18px; font-size: .92rem; } }
@media (max-width: 960px) and (min-width: 721px) { .nav-menu .nav-sister { display: none; } .nav-menu { gap: 14px; } .brand-text strong { font-size: 1rem; } }
@media (max-width: 960px) and (min-width: 721px) { .nav-menu a { white-space: nowrap; font-size: .88rem; } .nav-menu { gap: 12px; } }
