  /* ============================================================
   ALL STATE AUTO PARTS — Shared Stylesheet
   One file for every page: home, category, legal, 404, etc.
   Sections: 1) Tokens  2) Base  3) Buttons & utilities
   4) Header  5) Hero  6) Quick strip  7) Category grid
   8) Stats  9) Split / mission  10) CTA banners  11) Cards
   12) Forms  13) Accordion  14) Carousel  15) Interior pages
   16) Footer  17) Find My Part widget  18) Motion  19) Responsive
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* color */
  --navy: #053b67;
  --navy-deep: #053b67;
  --navy-ink: #053b67;
  --sky: #42aae4;
  --sky-deep: #2f8fc9;
  --sky-soft: #e4f2fb;
  --ink: #1a1f2b;
  --muted: #5b6472;
  --line: #e6ebf1;
  --offwhite: #f6f9fc;
  --white: #ffffff;
  --success: #1f9d55;
  --danger: #d64545;
  --grad: linear-gradient(120deg, var(--navy) 0%, var(--sky) 100%);

  /* type */
  --font-head: "Sora", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.3rem, 4.5vw, 3.7rem);
  --fs-h1: clamp(1.9rem, 3.2vw, 2.6rem);
  --fs-h2: clamp(1.55rem, 2.5vw, 2.1rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.32rem);
  --fs-body: 1rem;
  --fs-sm: 0.94rem;
  --fs-xs: 0.84rem;
  --fs-tiny: 0.78rem;
  --lh-tight: 1.18;
  --lh-body: 1.68;

  /* spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.2rem;
  --space-2xl: 6.8rem;

  /* misc */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(10, 44, 85, 0.08);
  --shadow-md: 0 12px 34px rgba(10, 44, 85, 0.12);
  --shadow-lg: 0 26px 60px rgba(10, 44, 85, 0.18);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--sky-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: var(--lh-tight);
  color: var(--navy-deep);
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--navy);
  color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 8px; }

/* ---------- 3. BUTTONS & UTILITIES ---------- */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding-block: var(--space-xl); }
.section-tight { padding-block: var(--space-lg); }
.section-off { background: var(--offwhite); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sky-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sky); }
.eyebrow-center::after { content: ""; width: 26px; height: 2px; background: var(--sky); }
.eyebrow-center { justify-content: center; }
.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.text-sky { color: var(--sky-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, color 0.25s, border-color 0.25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); box-shadow: var(--shadow-md); color: #fff; }
.btn-sky { background: var(--sky); color: var(--navy-ink); }
.btn-sky:hover { background: #5ab8ec; box-shadow: var(--shadow-md); color: var(--navy-ink); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky-soft); color: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.86rem; }

.icon-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--navy); transition: 0.3s var(--ease); flex: 0 0 auto;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--navy); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-md); }
.icon-btn.white { background: rgba(255,255,255,0.18); color: #fff; }
.icon-btn.white:hover { background: var(--sky); color: var(--navy-ink); }

.check-list { list-style: none; display: grid; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list svg { width: 21px; height: 21px; color: var(--sky); flex: 0 0 auto; margin-top: 2px; }
.check-list strong { color: var(--ink); }

.badge {
  display: inline-block; background: var(--sky-soft); color: var(--navy);
  font-size: var(--fs-tiny); font-weight: 600; letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}

/* ---------- 4. HEADER ---------- */
.topbar {
  background: var(--navy-ink); color: rgba(255,255,255,0.82); font-size: var(--fs-xs);
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; }
.topbar a { color: rgba(255,255,255,0.82); }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.2rem; }
.topbar-right svg { width: 14px; height: 14px; margin-right: 0.3rem; }
.topbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); display: inline-block; margin-right: 0.35rem; vertical-align: middle; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.9rem; transition: padding 0.3s var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header.scrolled .container { padding-block: 0.55rem; }
.site-header.scrolled .logo svg { width: 34px; height: 34px; }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; flex: 0 0 auto; }
.logo svg { width: 40px; height: 40px; transition: 0.3s var(--ease); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy-deep); letter-spacing: -0.01em; }
.logo-text span { font-size: var(--fs-tiny); color: var(--sky-deep); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; list-style: none; gap: 0.35rem; align-items: center; }
.main-nav a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 8px;
  font-size: 0.94rem; font-weight: 500; color: var(--ink);
  transition: 0.2s; position: relative;
}
.main-nav a:hover { color: var(--navy); background: var(--offwhite); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem;
  height: 2px; border-radius: 2px; background: var(--sky);
}
.nav-has-drop { position: relative; }
.nav-has-drop > a::after {
  content: ""; width: 6px; height: 6px; display: inline-block; margin-left: 0.45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 0.5rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: 0.25s var(--ease); z-index: 120;
}
.nav-has-drop:hover .dropdown, .nav-has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.dropdown a:hover { background: var(--offwhite); }
.dropdown a svg { width: 15px; height: 15px; color: var(--sky); opacity: 0; transition: 0.2s; }
.dropdown a:hover svg { opacity: 1; transform: translateX(3px); }

.header-cta { display: flex; align-items: center; gap: 1.1rem; flex: 0 0 auto; }
.header-phone { text-align: right; line-height: 1.2; }
.header-phone strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-deep); display: block; }
.header-phone span { font-size: var(--fs-tiny); color: var(--muted); letter-spacing: 0.04em; }
.header-phone span b { color: var(--success); font-weight: 600; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; place-items: center; margin-left: auto;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: 0.3s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); transition: 0.3s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 5. HERO ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f2f7fc 0%, #fff 100%); }
.hero .container { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: var(--space-xl); align-items: center; padding-block: var(--space-xl); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: var(--fs-display); margin: 0.35rem 0 1rem; }
.hero-copy h1 .line-accent { color: var(--sky); }
.hero-copy .lead { color: var(--muted); font-size: 1.06rem; max-width: 52ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: var(--space-lg); }

.hero-trust { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img, .avatars .avatar { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-left: -10px; box-shadow: var(--shadow-sm); }
.avatars img:first-child, .avatars .avatar:first-child { margin-left: 0; }
.avatars .avatar { display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; }
.hero-trust small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.hero-trust strong { color: var(--ink); font-family: var(--font-head); font-size: 0.95rem; }
.hero-trust .divider { width: 1px; height: 34px; background: var(--line); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -6% -6% 6%;
  background: var(--grad); border-radius: 46% 54% 52% 48% / 40% 44% 56% 60%;
  opacity: 0.14; filter: blur(4px);
}
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.35; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,71,144,0.08), rgba(12,52,102,0.34)); }

.float-card {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.1rem; display: flex; gap: 0.7rem; align-items: center; z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.float-card .fc-ico svg { width: 20px; height: 20px; }
.float-card strong { font-family: var(--font-head); font-size: 0.9rem; color: var(--navy-deep); display: block; line-height: 1.2; }
.float-card span { font-size: var(--fs-tiny); color: var(--muted); }
.fc-1 { top: 9%; left: -8%; background: var(--navy); }
.fc-1 .fc-ico { background: rgba(255,255,255,0.16); color: var(--sky); }
.fc-1 strong { color: #fff; }
.fc-1 span { color: rgba(255,255,255,0.72); }
.fc-2 { bottom: 16%; right: -7%; animation-delay: 1.4s; }
.fc-2 .fc-ico { background: var(--sky-soft); color: var(--sky-deep); }
.fc-3 { top: 42%; left: -12%; animation-delay: 2.6s; }
.fc-3 .fc-ico { background: var(--navy); color: #fff; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 6. QUICK STRIP ---------- */
.quick-strip { position: relative; z-index: 5; margin-top: -3.2rem; }
.quick-grid {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 0.35rem;
}
.quick-grid > * { min-width: 0; }
.quick-item {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.25rem 1.1rem; border-radius: calc(var(--radius-lg) - 4px);
  transition: 0.3s var(--ease); position: relative;
}
.quick-item:hover { background: var(--offwhite); }
.quick-item .q-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.quick-item .q-ico svg { width: 22px; height: 22px; }
.quick-item strong { display: block; font-family: var(--font-head); font-size: 0.93rem; color: var(--navy-deep); }
.quick-item small { font-size: var(--fs-tiny); color: var(--muted); }
.q-ico-a { background: var(--sky-soft); color: var(--sky-deep); }
.q-ico-b { background: #e9f0f9; color: var(--navy); }
.q-ico-c { background: #eef6ee; color: #2e7d4f; }
.q-ico-d { background: #fdf3e3; color: #b47712; }
.q-ico-e { background: #f3eafb; color: #7a4fb4; }
.quick-arrow { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: 0.25s; }
.quick-arrow svg { width: 18px; height: 18px; color: var(--sky); }
.quick-item:hover .quick-arrow { opacity: 1; transform: translateX(0); }

/* ---------- 7. CATEGORY GRID ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cat-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,44,85,0.05) 20%, rgba(10,44,85,0.88) 100%); }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile > .cat-body { position: relative; z-index: 2; padding: 1.3rem 1.4rem; width: 100%; }
.cat-tile .cat-title { color: #fff; margin-bottom: 0.15rem; font-size: 1.25rem; }
.cat-tile p { color: rgba(255,255,255,0.82); font-size: var(--fs-sm); margin: 0; max-width: 26ch; }
.cat-tile .icon-btn { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2; background: rgba(255,255,255,0.16); color: #fff; }
.cat-tile .icon-btn:hover { background: var(--sky); color: var(--navy-ink); }
.cat-tile.featured { grid-row: span 2; min-height: 620px; }
.cat-tile.featured .cat-title { font-size: 1.6rem; }

/* ---------- 8. STATS ---------- */
.stats-bar { background: var(--grad); position: relative; overflow: hidden; }
.stats-bar::before, .stats-bar::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.07);
}
.stats-bar::before { width: 340px; height: 340px; top: -160px; right: 8%; }
.stats-bar::after { width: 260px; height: 260px; bottom: -130px; left: 4%; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; z-index: 1; }
.stat { text-align: center; padding: var(--space-lg) 0.5rem; color: #fff; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.18); }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; }
.stat .num span { font-size: 0.55em; margin-left: 2px; }
.stat p { margin: 0.5rem 0 0; font-size: var(--fs-sm); color: rgba(255,255,255,0.88); }

/* ---------- 9. SPLIT / MISSION ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.split > * { min-width: 0; }
.split.flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media .media-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.split-media .media-main img { width: 100%; height: 100%; object-fit: cover; }
.split-media .media-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(19,71,144,0.1), rgba(42,170,228,0.22)); }
.media-accent { position: absolute; width: 55%; height: 62%; border: 3px solid var(--sky); border-radius: var(--radius-lg); z-index: -1; }
.media-accent.br { bottom: -16px; right: -16px; }
.media-accent.tl { top: -16px; left: -16px; }

.mission-card {
  position: absolute; bottom: -1.8rem; left: -1.2rem; background: var(--navy);
  color: #fff; border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow-lg);
  max-width: 320px; display: flex; gap: 0.9rem; align-items: center;
}
.mission-card .mc-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.14); display: grid; place-items: center; flex: 0 0 auto; color: var(--sky); }
.mission-card .mc-ico svg { width: 22px; height: 22px; }
.mission-card strong { font-family: var(--font-head); display: block; margin-bottom: 0.1rem; font-size: 1rem; }
.mission-card p { margin: 0; font-size: var(--fs-xs); color: rgba(255,255,255,0.78); }

.dark-cta-card {
  margin-top: var(--space-lg); background: var(--navy-ink); border-radius: var(--radius-lg);
  padding: 1.8rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.dark-cta-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--sky); opacity: 0.16; top: -90px; right: -60px; }
.dark-cta-card h3 { color: #fff; margin-bottom: 0.25rem; }
.dark-cta-card p { color: rgba(255,255,255,0.78); margin: 0; }
.dark-cta-card .phone-big { display: flex; align-items: center; gap: 0.9rem; }
.dark-cta-card .phone-big svg { width: 34px; height: 34px; color: var(--sky); }
.dark-cta-card .phone-big a { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #fff; }
.dark-cta-card .phone-big a:hover { color: var(--sky); }

/* ---------- 10. CTA BANNERS ---------- */
.cta-banner { background: var(--grad); border-radius: var(--radius-lg); padding: var(--space-xl) 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.cta-banner::before { width: 300px; height: 300px; top: -130px; left: -90px; }
.cta-banner::after { width: 220px; height: 220px; bottom: -110px; right: -60px; }
.cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.88); max-width: 54ch; margin: 0 auto 1.6rem; }
.cta-banner .btn { position: relative; z-index: 1; }

.page-banner {
  background: linear-gradient(115deg, var(--navy-ink) 0%, var(--navy) 55%, var(--sky-deep) 120%);
  color: #fff; padding: 4.2rem 0 3.6rem; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; right: -4%; top: -40%; width: 420px; height: 420px;
  border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px dashed rgba(255,255,255,0.25);
}
.page-banner .crumbs { font-size: var(--fs-xs); color: rgba(255,255,255,0.72); margin-bottom: 0.8rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.page-banner .crumbs a { color: var(--sky); }
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; }
.page-banner p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0; }
.form-overlap { margin-top: -3.6rem; position: relative; z-index: 5; }

/* ---------- 11. CARDS ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); overflow: hidden; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.blog-card .blog-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-card .blog-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,44,85,0.4)); }
.blog-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--sky); color: var(--navy-ink); font-size: var(--fs-tiny); font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 999px; letter-spacing: 0.04em; }
.blog-body { padding: 1.4rem 1.5rem 1.6rem; }
.blog-body time { font-size: var(--fs-xs); color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.blog-body time svg { width: 14px; height: 14px; }
.blog-body h3 { font-size: 1.12rem; margin: 0.55rem 0 0.5rem; }
.blog-body h3 a { color: var(--navy-deep); }
.blog-body h3 a:hover { color: var(--sky-deep); }
.blog-body p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0.9rem; }
.blog-more { font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 0.35rem; }
.blog-more svg { width: 16px; height: 16px; transition: transform 0.25s; }
.blog-more:hover svg { transform: translateX(4px); }

.part-card { padding: 1.8rem 1.6rem; }
.part-card .pc-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; }
.part-card .pc-ico svg { width: 26px; height: 26px; }
.part-card h3 { margin-bottom: 0.4rem; }
.part-card p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 1rem; }
.part-card .btn { width: 100%; }

/* ---------- 12. FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: var(--sky-deep); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  border: 1.5px solid var(--line); background: #fff; border-radius: 10px;
  padding: 0.78rem 0.95rem; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(66,170,228,0.18);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.2rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status {
  display: none; margin-top: 1.1rem; padding: 0.9rem 1.1rem; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 500; align-items: flex-start; gap: 0.6rem;
}
.form-status svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.form-status.is-show { display: flex; }
.form-status.is-success { background: #e8f7ef; color: var(--success); border: 1px solid #bde6cd; }
.form-status.is-error { background: #fdecec; color: var(--danger); border: 1px solid #f2c3c3; }
.form-status.is-demo { background: #eef4fb; color: var(--navy); border: 1px solid #c8d9ef; }

/* ---------- 13. ACCORDION ---------- */
.accordion { display: grid; gap: 0.9rem; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: 0.25s; }
.acc-item.open { box-shadow: var(--shadow-md); border-color: transparent; }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 1.15rem 1.4rem;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--navy-deep);
}
.acc-head .acc-num { color: var(--sky); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; }
.acc-head .acc-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: grid; place-items: center; flex: 0 0 auto; transition: 0.3s; }
.acc-head .acc-ico svg { width: 15px; height: 15px; }
.acc-item.open .acc-ico { background: var(--sky); color: var(--navy-ink); transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-body-inner { padding: 0 1.4rem 1.35rem; color: var(--muted); font-size: var(--fs-sm); }
.acc-body-inner p:last-child { margin-bottom: 0; }

/* ---------- 14. CAROUSEL ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform 0.55s var(--ease); }
.testimonial { flex: 0 0 100%; padding: 2.2rem 2.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.testimonial .stars { color: var(--sky); display: flex; gap: 3px; margin-bottom: 0.8rem; }
.testimonial .stars svg { width: 17px; height: 17px; }
.testimonial blockquote { margin: 0 0 1.3rem; font-size: 1.05rem; color: var(--ink); line-height: 1.65; }
.testimonial .t-who { display: flex; align-items: center; gap: 0.9rem; }
.testimonial .t-who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial .t-who strong { font-family: var(--font-head); color: var(--navy-deep); display: block; font-size: 0.95rem; }
.testimonial .t-who span { font-size: var(--fs-xs); color: var(--muted); }
.carousel-nav { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.4rem; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: 0.25s;
}
.carousel-nav button svg { width: 18px; height: 18px; }
.carousel-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel-dots { display: flex; gap: 0.45rem; justify-content: center; margin-top: 1.1rem; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: #c9d4e2; cursor: pointer; padding: 0; transition: 0.3s; }
.carousel-dots button.active { width: 26px; background: var(--sky); }

/* ---------- 15. INTERIOR PAGES ---------- */
.cat-hero-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow-md); position: relative; }
.cat-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,44,85,0.5), rgba(66,170,228,0.25)); }

.cat-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem 1.2rem; }
.cat-list li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.85rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 500; transition: 0.25s; }
.cat-list li:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.cat-list svg { width: 19px; height: 19px; color: var(--sky); flex: 0 0 auto; margin-top: 2px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.7rem 1.9rem; box-shadow: var(--shadow-sm); }
.step .step-num { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--sky); letter-spacing: 0.1em; }
.step h3 { margin: 0.7rem 0 0.5rem; }
.step p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.step::before { content: ""; position: absolute; top: 1.7rem; right: 1.7rem; width: 46px; height: 46px; border-radius: 14px; background: var(--sky-soft); }
.step .step-ico { position: absolute; top: 1.9rem; right: 1.9rem; width: 22px; height: 22px; color: var(--sky-deep); z-index: 1; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.contact-card { text-align: center; padding: 2rem 1.5rem; }
.contact-card .cc-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-deep); display: grid; place-items: center; margin: 0 auto 1.1rem; }
.contact-card .cc-ico svg { width: 26px; height: 26px; }
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: var(--fs-sm); margin: 0; display: block; }
.contact-card a { color: var(--navy); font-weight: 500; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td, .hours-table th { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; font-size: var(--fs-sm); }
.hours-table th { color: var(--muted); font-weight: 500; width: 45%; }
.hours-table td { font-weight: 600; color: var(--navy-deep); }
.hours-table .now { color: var(--success); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--offwhite); aspect-ratio: 21 / 9; display: grid; place-items: center; position: relative; }
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); animation: floaty 4s ease-in-out infinite; }
.map-pin svg { width: 24px; height: 24px; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-xl); align-items: start; }
.legal-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.legal-aside nav { display: grid; gap: 0.3rem; }
.legal-aside a { padding: 0.6rem 0.9rem; border-radius: 10px; font-size: var(--fs-sm); color: var(--muted); border-left: 3px solid transparent; }
.legal-aside a:hover { color: var(--navy); background: var(--offwhite); }
.legal-aside a.active { color: var(--navy); font-weight: 600; border-left-color: var(--sky); background: var(--offwhite); }
.legal-article { max-width: 780px; }
.legal-article h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal-article h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal-article p, .legal-article li { color: var(--muted); }
.legal-article ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; margin-bottom: 1.1em; }
.legal-article .updated { display: inline-block; background: var(--offwhite); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 1.4rem; }

/* 404 */
.notfound { text-align: center; padding: var(--space-2xl) 0; }
.notfound .nf-code { font-family: var(--font-head); font-size: clamp(6rem, 16vw, 10rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { margin: 0.4rem 0; }
.notfound p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.6rem; }

/* team / timeline (about) */
.timeline { position: relative; margin-left: 1rem; padding-left: 2.2rem; border-left: 2px solid var(--sky); display: grid; gap: 2rem; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: calc(-2.2rem - 8px); top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--sky); }
.timeline-item time { display: inline-block; background: var(--sky-soft); color: var(--navy); font-size: var(--fs-xs); font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 0.6rem; }
.timeline-item h3 { margin-bottom: 0.35rem; }
.timeline-item p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

.cert-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.cert { flex: 1 1 200px; display: flex; align-items: center; gap: 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); }
.cert .cert-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--sky-soft); color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.cert .cert-ico svg { width: 22px; height: 22px; }
.cert strong { font-family: var(--font-head); font-size: 0.9rem; color: var(--navy-deep); display: block; line-height: 1.3; }
.cert span { font-size: var(--fs-tiny); color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.team-card { text-align: center; padding: 1.6rem 1.2rem 1.4rem; }
.team-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--sky-soft); }
.team-card h3 { font-size: 1.05rem; margin-bottom: 0.1rem; }
.team-card span { font-size: var(--fs-xs); color: var(--sky-deep); font-weight: 600; }

/* ---------- 16. FOOTER ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,0.75); margin-top: var(--space-2xl); }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--sky); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--space-lg); padding-block: var(--space-xl); }
.footer-brand .logo strong { color: #fff; }
.footer-brand p { font-size: var(--fs-sm); max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; position: relative; padding-bottom: 0.6rem; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--sky); }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; font-size: var(--fs-sm); }
.footer-col ul a { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-col ul a svg { width: 13px; height: 13px; color: var(--sky); }
.footer-contact li { display: flex; gap: 0.7rem; font-size: var(--fs-sm); margin-bottom: 0.8rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sky); flex: 0 0 auto; margin-top: 3px; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: 0.25s; }
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-ink); transform: translateY(-3px); }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.2rem; font-size: var(--fs-xs); color: rgba(255,255,255,0.55); }
.footer-bar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bar nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- 17. FIND MY PART WIDGET ---------- */
.fmp-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; border: 0; cursor: pointer;
  display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1.3rem 0.85rem 0.85rem;
  background: var(--sky); color: var(--navy-ink); border-radius: 999px;
  box-shadow: var(--shadow-lg); font-family: var(--font-head); font-weight: 700; font-size: 0.92rem;
  transition: 0.3s var(--ease);
}
.fmp-fab .fab-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--sky); display: grid; place-items: center; }
.fmp-fab .fab-ico svg { width: 20px; height: 20px; }
.fmp-fab:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.fmp-fab:hover .fab-ico { background: var(--sky); color: var(--navy-ink); }
.fmp-panel {
  position: fixed; right: 1.4rem; bottom: 5.6rem; z-index: 91; width: min(400px, calc(100vw - 2rem));
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: translateY(24px) scale(0.96); opacity: 0; visibility: hidden; transition: 0.35s var(--ease);
  max-height: calc(100vh - 7rem); overflow-y: auto;
}
.fmp-panel.open { transform: none; opacity: 1; visibility: visible; }
.fmp-head { background: var(--grad); color: #fff; padding: 1.2rem 1.4rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.fmp-head h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.fmp-head p { margin: 0.15rem 0 0; font-size: var(--fs-xs); color: rgba(255,255,255,0.8); }
.fmp-close { background: rgba(255,255,255,0.16); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.fmp-close svg { width: 16px; height: 16px; }
.fmp-body { padding: 1.4rem; }
.fmp-body .field { margin-bottom: 0.85rem; }
.fmp-body .field input, .fmp-body .field select { font-size: 0.88rem; padding: 0.65rem 0.8rem; }
.fmp-body .form-status { margin-top: 0.6rem; }

/* ---------- 18. MOTION ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"] { transform: scale(0.94); }
[data-reveal].is-inview { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile.featured { grid-row: auto; grid-column: span 2; min-height: 420px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-cta .btn { display: none; }
  .main-nav a { padding: 0.55rem 0.6rem; font-size: 0.9rem; }
  .main-nav ul { gap: 0.2rem; }
  .site-header .container { gap: 1rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: #fff;
    transform: translateX(100%); transition: transform 0.4s var(--ease); z-index: 200;
    padding: 5.4rem 1.4rem 2rem; box-shadow: -20px 0 60px rgba(10,44,85,0.18); margin-left: 0;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .main-nav a { padding: 0.85rem 0.9rem; font-size: 1.02rem; border-radius: 10px; }
  .nav-has-drop { position: static; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; display: none; }
  .nav-has-drop.open .dropdown { display: block; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,44,85,0.4); z-index: 190; opacity: 0; visibility: hidden; transition: 0.3s; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .header-phone { display: none; }
  .hero .container { grid-template-columns: 1fr; gap: var(--space-lg); padding-block: var(--space-lg) var(--space-xl); }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { padding: 1.4rem 0.3rem; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(odd) { border-left: 1px solid rgba(255,255,255,0.18); }
  .split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .split.flip .split-media { order: 0; }
  .mission-card { position: static; margin-top: 1.4rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
  .legal-aside { position: static; }
  .legal-aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .cat-list { grid-template-columns: 1fr; }
  .fmp-fab span.fab-label { display: none; }
  .fmp-fab { padding: 0.85rem; border-radius: 50%; }
}
@media (max-width: 620px) {
  .topbar-right { display: none; }
  .topbar .container { justify-content: center; }
  .header-cta .btn { display: none; }
  /*.cat-grid { grid-template-columns: 1fr; }*/
  .cat-tile, .cat-tile.featured { min-height: 260px; grid-row: auto; }
  .cat-5 { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: var(--space-lg); }
  .section { padding-block: var(--space-lg); }
  .fc-1 { left: -4%; }
  .fc-2 { right: -4%; }
  .quick-strip { margin-top: -2.2rem; }
}

/* ---------- 20. ADS LANDING PAGE ---------- */
.landing-header .header-cta { margin-left: auto; }

.landing-hero { position: relative; overflow: hidden; }
.landing-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/hero-mechanic.jpg") center 35% / cover no-repeat;
}
.landing-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(8,30,58,0.94) 0%, rgba(12,52,102,0.86) 48%, rgba(19,71,144,0.62) 100%);
}
.landing-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: var(--space-2xl);
  align-items: center; padding-block: var(--space-2xl);
}
.landing-copy h1 { color: #fff; font-size: var(--fs-display); margin: 1rem 0 1.1rem; }
.landing-copy .lead { color: rgba(255,255,255,0.85); font-size: 1.06rem; max-width: 46ch; margin-bottom: 1.5rem; }
.landing-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.landing-chips span {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff;
  font-size: var(--fs-xs); font-weight: 600; padding: 0.5rem 0.95rem; border-radius: 999px;
}
.landing-chips svg { width: 15px; height: 15px; color: var(--sky); }
.landing-note { color: rgba(255,255,255,0.6); font-size: var(--fs-xs); margin: 0; }
.landing-note b { color: rgba(255,255,255,0.85); }

.landing-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.lf-head { background: var(--grad); color: #fff; padding: 1.6rem 1.9rem; }
.lf-head h2 { color: #fff; margin: 0; font-size: 1.4rem; }
.lf-head p { margin: 0.3rem 0 0; font-size: var(--fs-sm); color: rgba(255,255,255,0.85); }
.lf-body { padding: 1.7rem 1.9rem 1.9rem; }
.lf-body .btn { width: 100%; margin-top: 0.35rem; }
.lf-body .btn, .lf-body .lf-micro, .lf-body .form-status { grid-column: 1 / -1; }
.lf-micro { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-top: 0.95rem; font-size: var(--fs-tiny); color: var(--muted); }
.lf-micro svg { width: 15px; height: 15px; color: var(--success); }

.landing-footer { background: var(--navy-ink); color: rgba(255,255,255,0.75); padding-block: var(--space-xl) var(--space-lg); margin-top: var(--space-2xl); }
.landing-footer a { color: rgba(255,255,255,0.75); }
.landing-footer a:hover { color: var(--sky); }
.lf-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-lg); }
.lf-brand { max-width: 320px; }
.lf-brand .logo strong { color: #fff; }
.lf-brand p { font-size: var(--fs-sm); margin: 0.8rem 0 0; }
.lf-contact { display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--fs-sm); }
.lf-contact span, .lf-contact a { display: inline-flex; align-items: center; gap: 0.55rem; }
.lf-contact svg { width: 17px; height: 17px; color: var(--sky); }
.lf-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: var(--fs-sm); }
.lf-disclaim { border-top: 1px solid rgba(255,255,255,0.1); margin-top: var(--space-lg); padding-top: var(--space-md); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: var(--fs-xs); color: rgba(255,255,255,0.5); }

/* ---------- 21. CALL NOW (mobile only) ---------- */
.call-now {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 96;
  display: none; align-items: center; gap: 0.6rem;
  background: var(--navy); color: #fff; border: 0; border-radius: 999px;
  padding: 0.8rem 1.15rem 0.8rem 0.8rem; box-shadow: var(--shadow-lg);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.call-now .cn-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.16); display: grid; place-items: center; flex: 0 0 auto; }
.call-now .cn-ico svg { width: 19px; height: 19px; }
.call-now:hover, .call-now:focus-visible { background: var(--sky); color: var(--navy-ink); transform: translateY(-2px); }
.call-now:hover .cn-ico, .call-now:focus-visible .cn-ico { background: var(--navy); color: var(--sky); }

@media (max-width: 900px) {
  .landing-grid { grid-template-columns: 1fr; gap: var(--space-lg); padding-block: var(--space-xl); }
  .call-now { display: inline-flex; }
  .fmp-fab ~ .call-now { bottom: 6rem; }
  .fmp-panel.open ~ .call-now { opacity: 0; pointer-events: none; }
  .site-footer, .landing-footer { padding-bottom: 4.6rem; }
}
@media (max-width: 620px) {
  .landing-grid { padding-block: 2.6rem; }
  .landing-copy h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .lf-head { padding: 1.25rem 1.4rem; }
  .lf-body { padding: 1.4rem 1.4rem 1.6rem; }
  .lf-body.form-grid { gap: 0.9rem; }
  .lf-body .field input, .lf-body .field select { padding: 0.72rem 0.85rem; font-size: 0.92rem; }
  .landing-footer { margin-top: var(--space-xl); }
}
