/* ══════════════════════════════════════════
   Macain's Auto Service — styles.css
   ══════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color .22s, border-color .22s, color .22s;
}
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }

/* ── Design tokens ── */
:root {
  --accent:   #990000;
  --accent-h: #1E364F;
  --max-w:    1440px;
  --r:        6px;
  --r-lg:     10px;
}

[data-theme="light"] {
  --bg:           #F4F1EC;
  --card:         #FFFFFF;
  --card-2:       #F9F7F3;
  --text:         #1A1815;
  --text-2:       #4D4A45;
  --text-3:       #76726B;
  --border:       #DDD8D0;
  --border-h:     #C0BAB1;
  --accent-fg:    #FFFFFF;
  --focus:        0 0 0 3px rgba(153,0,0,.25);
  --nav-bg:       rgba(255,255,255,.92);
  --err:          #C0392B;
  --ok:           #27AE60;
  --sh:           0 2px 6px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.03);
  --sh-lg:        0 8px 18px rgba(0,0,0,.08);
  --chip-bg:      #EEEAE3;
  --chip-border:  #D5D0C6;
  --chip-text:    #4D4A45;
  --sb-thumb:     rgba(153,0,0,.35);
  --sb-track:     rgba(153,0,0,.06);
  --avail-open:   #27AE60;
  --avail-closed: #8B857D;
}

[data-theme="dark"] {
  --bg:           #161310;
  --card:         #1F1C19;
  --card-2:       #282521;
  --text:         #EBE8E2;
  --text-2:       #A5A09A;
  --text-3:       #7C7872;
  --border:       #36322E;
  --border-h:     #4A4540;
  --accent:       #E5484D;
  --accent-fg:    #FFFFFF;
  --focus:        0 0 0 3px rgba(229,72,77,.35);
  --nav-bg:       rgba(31,28,25,.95);
  --err:          #E06C5D;
  --err-bg:       rgba(224,108,93,.12);
  --ok:           #4CAF50;
  --sh:           0 2px 6px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.03);
  --sh-lg:        0 8px 18px rgba(0,0,0,.4);
  --chip-bg:      #2B2825;
  --chip-border:  #4A4540;
  --chip-text:    #A5A09A;
  --sb-thumb:     rgba(153,0,0,.55);
  --sb-track:     rgba(255,255,255,.04);
  --avail-open:   #4CAF50;
  --avail-closed: #7C7872;
}

/* ── Base ── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 18px,
    rgba(0,0,0,.018) 18px 19px
  );
}

[data-theme="dark"] body {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 18px,
    rgba(255,255,255,.025) 18px 19px
  );
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
}
[data-theme="dark"] body::after { opacity: .055; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ── Skip link ── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-fg);
  padding: .5rem 1.1rem;
  border-radius: 0 0 var(--r) var(--r);
  z-index: 200;
  font-size: .84rem;
  font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

/* ── Scrollbars ── */
.ac-drop,
.ff textarea,
.desc-chips,
.location-chips,
.drawer-body {
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) var(--sb-track);
}

.ac-drop::-webkit-scrollbar,
.ff textarea::-webkit-scrollbar,
.drawer-body::-webkit-scrollbar { width: 5px; }

.desc-chips::-webkit-scrollbar,
.location-chips::-webkit-scrollbar { height: 3px; }

.ac-drop::-webkit-scrollbar-track,
.ff textarea::-webkit-scrollbar-track,
.drawer-body::-webkit-scrollbar-track,
.desc-chips::-webkit-scrollbar-track,
.location-chips::-webkit-scrollbar-track {
  background: var(--sb-track);
  border-radius: 99px;
  margin: 4px;
}

.ac-drop::-webkit-scrollbar-thumb,
.ff textarea::-webkit-scrollbar-thumb,
.drawer-body::-webkit-scrollbar-thumb,
.desc-chips::-webkit-scrollbar-thumb,
.location-chips::-webkit-scrollbar-thumb {
  background: var(--sb-thumb);
  border-radius: 99px;
}

.ac-drop::-webkit-scrollbar-thumb:hover,
.ff textarea::-webkit-scrollbar-thumb:hover,
.drawer-body::-webkit-scrollbar-thumb:hover,
.desc-chips::-webkit-scrollbar-thumb:hover,
.location-chips::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ══ NAV ══ */
#nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(0,0,0,.04);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  flex-shrink: 0;
  margin-right: auto;
}

/* ── Logo SVG — sized to fill the navbar ── */
.nav-logo > svg {
  height: 54px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links { display: flex; align-items: center; gap: .85rem; }

.nav-links > a {
  padding: .4rem .75rem;
  border-radius: var(--r);
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background .12s, color .12s;
}
.nav-links > a:hover { background: var(--bg); color: var(--text); }

.nav-link {
  border: 1.5px solid var(--border);
  background: var(--card);
  font-weight: 600;
}
.nav-link:hover { border-color: var(--border-h); background: var(--card-2); }

#nav .nav-cta {
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  padding: .45rem .9rem;
  border-radius: var(--r);
}
#nav .nav-cta:hover { background: var(--accent-h); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem .42rem .7rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  background: var(--card);
  letter-spacing: -.01em;
  animation: phonePulse 3s ease-in-out infinite;
  transition: border-color .13s, color .13s, background .13s;
}
.nav-phone:hover { border-color: var(--accent); color: var(--accent); animation: none; }
.nav-phone:focus-visible { box-shadow: var(--focus); animation: none; }

@keyframes phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(153,0,0,0); }
  50%       { box-shadow: 0 0 0 4px rgba(153,0,0,.12); }
}

.phone-icon-svg { flex-shrink: 0; color: var(--accent); width: 14px; height: 14px; }

.nav-avail {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 600;
  color: var(--avail-closed);
  letter-spacing: .01em;
  padding-left: .5rem;
  border-left: 1px solid var(--border);
  margin-left: .1rem;
  white-space: nowrap;
  transition: color .25s;
}
.nav-avail::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--avail-closed);
  flex-shrink: 0;
  transition: background .25s;
}
.nav-avail--open { color: var(--avail-open); }
.nav-avail--open::before {
  background: var(--avail-open);
  box-shadow: 0 0 6px var(--avail-open);
  animation: availPulse 2s ease-in-out infinite;
}

@keyframes availPulse {
  0%, 100% { box-shadow: 0 0 4px var(--avail-open); }
  50%       { box-shadow: 0 0 10px var(--avail-open); }
}

/* ══ HERO ══ */
#hero {
  padding: 28px 0 48px;
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
}
#hero > .wrap { width: 100%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 580px;
  gap: 5rem;
  align-items: start;
}

.hero-left {
  padding: .35rem 0 1.25rem;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: .7rem;
  white-space: nowrap;
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

/* ── Trust pills ── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-2);
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: .28rem .75rem;
  letter-spacing: .01em;
}
.hero-trust-pill svg {
  width: 13px; height: 13px;
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
}

/* ── How it works ── */
.how-label {
  background: none;
  border-left: 4px solid var(--accent);
  border-radius: 0;
  padding: .1rem 0 .1rem .65rem;
  color: var(--text);
  font-size: .85rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: .6rem;
}

.how-container {
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 1rem;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.how-step {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem .9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  box-shadow: var(--sh);
}

.step-num {
  width: 24px;
  height: auto;
  flex-shrink: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 1;
  display: block;
  text-align: center;
  line-height: 1;
}

.step-text strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.step-text span   { font-size: .81rem; color: var(--text-2); line-height: 1.5; }

/* ── Hero image ── */
.hero-car {
  position: relative;
  width: 100%;
  min-height: 150px;
  flex: 1;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-2);
  margin-top: 1rem;
}

/* ── Form card ── */
.form-card {
  margin-top: 2.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg), inset 0 1px 0 rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
}

.form-hd {
  padding: 1.55rem 1.8rem 1.45rem;
  border-bottom: 1px solid var(--border);
  background: var(--card-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.form-hd h2 { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.form-hd p  { font-size: .86rem; color: var(--text-2); margin-top: 3px; }

.form-body { padding: 1.65rem 1.8rem 2.1rem; position: relative; flex: 1; }

/* Field grid */
.fg   { display: grid; gap: 1.05rem; margin-bottom: .62rem; }
.fg-2 { grid-template-columns: 1fr 1fr; }
.fg-3 { grid-template-columns: 1fr 1fr 1fr; }

.form-section-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 1.35rem 0 .72rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
}
.form-section-label::before {
  content: '— ';
  color: var(--accent);
  font-weight: 900;
}
.form-body .form-section-label:first-child { margin-top: 0; }

.ff { min-width: 0; }
.ff label { display: block; font-size: .84rem; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
label.req::after { content: ' *'; color: var(--accent); font-weight: 700; }

.ff input, .ff select, .ff textarea {
  width: 100%;
  padding: .73rem .78rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--text);
  font-size: .92rem;
  transition: border-color .13s, box-shadow .13s;
  -webkit-appearance: none;
  appearance: none;
}
.ff select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2376726B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  padding-right: 2rem;
}
[data-theme="dark"] .ff select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237C7872' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
}
.ff input::placeholder, .ff textarea::placeholder { color: var(--text-3); }
.ff input:hover, .ff select:hover, .ff textarea:hover { border-color: var(--border-h); }
.ff input:focus, .ff select:focus, .ff textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
  box-shadow: var(--focus);
}
.ff textarea { resize: vertical; min-height: 44px; max-height: 120px; overflow-y: auto; }

/* Validation */
.f-field-error .ff input,
.f-field-error .ff select,
.f-field-error .ff textarea,
.ff.f-field-error > input,
.ff.f-field-error > select,
.ff.f-field-error > textarea {
  border-color: var(--err) !important;
  box-shadow: 0 0 0 2px rgba(192,57,43,.2);
}
[data-theme="dark"] .f-field-error .ff input,
[data-theme="dark"] .f-field-error .ff select,
[data-theme="dark"] .f-field-error .ff textarea,
[data-theme="dark"] .ff.f-field-error > input,
[data-theme="dark"] .ff.f-field-error > select,
[data-theme="dark"] .ff.f-field-error > textarea {
  background: var(--err-bg) !important;
  box-shadow: 0 0 0 3px rgba(224,108,93,.18) !important;
}
.f-field-valid > input,
.f-field-valid > select { border-color: var(--ok) !important; }

.ferr   { font-size: .72rem; color: var(--err); font-weight: 600; margin-top: 2px; min-height: 1em; }
.f-hint { font-size: .72rem; color: var(--text-3); margin-top: 2px; min-height: 1em; }

/* Autocomplete */
.ac-wrap { position: relative; }
.ac-drop {
  position: absolute;
  top: calc(100% + 3px);
  left: 0; right: 0;
  z-index: 30;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  max-height: 180px;
  overflow-y: auto;
  display: none;
  list-style: none;
}
.ac-item {
  display: block;
  width: 100%;
  padding: .5rem .72rem;
  border: none;
  background: none;
  text-align: left;
  color: var(--text);
  font-size: .86rem;
  cursor: pointer;
  transition: background .1s;
}
.ac-item:hover { background: var(--bg); }
.ac-item--city { display: flex !important; align-items: center; gap: .5rem; }
.ac-city-name  { flex: 1; font-size: .88rem; color: var(--text); }
.ac-city-zip   { font-size: .76rem; color: var(--text-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* Char counter */
.ta-wrap { position: relative; }
.char-counter { display: none; position: absolute; bottom: .4rem; right: .55rem; font-size: .68rem; pointer-events: none; }
.char-counter.warn  { display: block; color: #C89020; font-weight: 600; }
.char-counter.limit { display: block; color: var(--err); font-weight: 700; }

.opt-label { font-size: .74rem; font-weight: 400; color: var(--text-3); }

/* Contact row */
.contact-reach-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: .45rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.contact-reach-req { font-size: .68rem; font-weight: 600; color: var(--text-3); font-style: italic; }

.contact-row {
  display: flex !important;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .55rem;
}
.contact-row .ff { flex: 1; min-width: 0; }

.contact-or {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  padding-top: 30px;
}
.contact-or::before,
.contact-or::after {
  content: '';
  display: block;
  width: 1px; height: 12px;
  background: var(--border);
  border-radius: 1px;
}
.contact-or span {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1;
}

/* Description chips */
.desc-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  margin-bottom: .3rem;
  overflow-x: auto;
  padding-bottom: 4px;
}
.desc-chip {
  flex-shrink: 0;
  padding: 4px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .12s, color .12s, background .12s;
}
.desc-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--card); }
.desc-chip--on   { border-color: var(--accent); background: var(--accent); color: var(--accent-fg); }

/* Form actions */
.form-actions {
  display: flex;
  gap: .5rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: .55rem 1.1rem;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .13s, border-color .13s, transform .1s;
}
.btn-primary:hover, .btn-ghost:hover { transform: translateY(-1px); }
.btn-primary:active, .btn-ghost:active { transform: none; }
.btn-primary:focus-visible, .btn-ghost:focus-visible { box-shadow: var(--focus); }
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-ghost   { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-h); color: var(--text); }
.btn-full    { width: 100%; padding: .7rem 1.1rem; font-size: 1rem; }
button:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

.spinner {
  display: inline-block;
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Alert */
.f-alert {
  display: none;
  align-items: center;
  gap: 7px;
  margin-top: .85rem;
  padding: .75rem .9rem;
  border-radius: var(--r);
  font-size: .84rem;
  font-weight: 600;
}
.f-alert.success {
  display: flex;
  background: rgba(39,174,96,.12);
  color: #27AE60;
  border: 1px solid rgba(39,174,96,.25);
}
.f-alert.error {
  display: flex;
  background: rgba(192,57,43,.1);
  color: var(--err);
  border: 1px solid rgba(192,57,43,.25);
}
[data-theme="dark"] .f-alert.success {
  color: #4CAF50;
  background: rgba(76,175,80,.12);
  border-color: rgba(76,175,80,.22);
}

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Success overlay ── */
.success-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  border-radius: var(--r-lg);
}
.success-overlay.show { opacity: 1; pointer-events: auto; }

.success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 1.5rem;
}

.success-circle     { width: 70px; height: 70px; margin-bottom: .25rem; }
.success-check-svg  { width: 100%; height: 100%; }

.success-circle-bg {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transform: rotate(-90deg);
  transform-origin: 26px 26px;
}
.success-check-path { stroke-dasharray: 40; stroke-dashoffset: 40; }

.success-overlay.show .success-circle     { animation: popBounce .45s .05s cubic-bezier(.18,.89,.32,1.28) both; }
.success-overlay.show .success-circle-bg  { animation: drawCircle .5s .1s cubic-bezier(.4,0,.2,1) forwards; }
.success-overlay.show .success-check-path { animation: drawCheck .35s .45s cubic-bezier(.4,0,.2,1) forwards; }
.success-overlay.show .success-msg        { animation: fadeUp .35s .55s both; }
.success-overlay.show .success-sub        { animation: fadeUp .35s .7s  both; }

@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }
@keyframes popBounce  { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes fadeUp     { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.success-msg { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.success-sub { font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.success-sub strong { color: var(--text); font-weight: 700; }

/* ══ SECTION SEPARATORS ══ */
.section-rule {
  width: 100%;
  height: 40px;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}
.section-rule svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ══ REVIEWS ══ */
#reviews {
  padding: 56px 0 72px;
  background: var(--card-2);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

.reviews-carousel-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.rev-grid {
  flex: 1;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.rev-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.rev-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }

.rev-arrow {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text-3);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .13s, color .13s, background .13s;
  align-self: center;
}
.rev-arrow:hover         { border-color: var(--accent); color: var(--accent); background: var(--card-2); }
.rev-arrow:focus-visible { box-shadow: var(--focus); outline: none; }
.rev-arrow[hidden]       { display: none !important; }

.rev-card {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem 1.3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  box-shadow: var(--sh), inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .15s, box-shadow .15s;
  position: relative;
  animation: revFadeIn .22s ease both;
}
.rev-card:hover { border-color: var(--border-h); box-shadow: var(--sh-lg); }
.rev-card::before {
  content: '\201C';
  position: absolute;
  top: -.5rem; right: 1rem;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: .09;
  font-family: Georgia, serif;
  pointer-events: none;
}

@keyframes revFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rev-text { font-size: .87rem; color: var(--text-2); line-height: 1.7; flex: 1; margin: 0; }

.rev-author {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .55rem;
  border-top: 1px solid var(--border);
}
.rev-author-info     { display: flex; flex-direction: column; gap: 1px; }
.rev-author-name     { font-size: .84rem; font-weight: 700; color: var(--text); display: block; }
.rev-author-location { font-size: .72rem; color: var(--text-3); display: block; }

.rev-source {
  display: flex;
  align-items: center;
  gap: .28rem;
  font-size: .7rem;
  color: var(--text-3);
  flex-shrink: 0;
  white-space: nowrap;
}
.rev-source svg { flex-shrink: 0; }
.rev-source--link {
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color .13s, color .13s;
}
.rev-source--link:hover { border-color: var(--border-h); color: var(--text); }

#reviewsContainer { transition: min-height .2s ease; }

/* ══ SERVICES ══ */
#services {
  padding: 56px 0 88px;
  border-top: 3px solid var(--border);
}

.sec-head { margin-bottom: 2rem; }
.sec-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .35rem;
  padding-left: .85rem;
  border-left: 4px solid var(--accent);
}
.sec-head p { font-size: .9rem; color: var(--text-2); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-rows: auto;
}
.svc-card--wide { grid-column: span 2; }
.svc-card--tall { grid-row: span 2; }

.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left-width: 3px;
  border-radius: var(--r);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  cursor: pointer;
  outline: none;
  box-shadow: var(--sh), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease-out, transform .4s ease-out, border-color .15s, box-shadow .15s, background-color .15s;
}
.svc-card.visible { opacity: 1; transform: translateY(0); }
.svc-card:hover,
.svc-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background-color: var(--card-2);
}

.svc-card-top { display: flex; align-items: center; gap: .6rem; }
.svc-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.svc-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-card-name { font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.svc-card-desc { font-size: .8rem; color: var(--text-2); line-height: 1.58; flex: 1; }
.svc-card-hint {
  font-size: .73rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: .35rem;
  opacity: 1;
}

/* ── Coverage block ── */
.coverage-block {
  margin-top: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 1.75rem 2rem 1.5rem;
  box-shadow: var(--sh), inset 0 1px 0 rgba(255,255,255,.06);
}
.coverage-block h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .35rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.location-chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .5rem;
  overflow: visible;
  padding: 0;
}
.location-chip {
  display: flex;
  flex-direction: column;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .5rem .7rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: default;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ══ SERVICE DRAWER ══ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10,8,6,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 90;
  height: 100dvh;
  width: min(480px, calc(100vw - 1rem));
  background: var(--card);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .22s cubic-bezier(.2,.9,.4,1.02);
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
}
.drawer.open { transform: translateX(0); }

.drawer-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--card-2);
}
.drawer-hd h3    { font-size: 1.05rem; font-weight: 800; }
.drawer-hd-cat   { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }

.drawer-close-btn {
  width: 30px; height: 30px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: .9rem;
  color: var(--text-2);
  flex-shrink: 0;
  transition: border-color .12s;
}
.drawer-close-btn:hover { border-color: var(--border-h); }

.drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .85rem; }

.drawer-icon-area {
  height: 80px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: grid;
  place-items: center;
}
.drawer-icon-area svg { width: 48px; height: 48px; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.drawer-desc  { font-size: .88rem; line-height: 1.72; color: var(--text-2); }
.drawer-chips { display: flex; flex-wrap: wrap; gap: .35rem; }

.drawer-section { padding-top: .85rem; border-top: 1px solid var(--border); }
.drawer-section h4 { font-size: .63rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); margin-bottom: .45rem; }
.drawer-list { padding-left: 1rem; display: flex; flex-direction: column; gap: .28rem; }
.drawer-list li { font-size: .84rem; color: var(--text-2); }

.drawer-ft {
  padding: .85rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--card-2);
  display: flex;
  gap: .5rem;
}
.drawer-ft .btn-primary,
.drawer-ft .btn-ghost { flex: 1; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: .58rem 1.1rem;
  border-radius: var(--r);
  font-weight: 700;
  cursor: pointer;
  font-size: .88rem;
  border: 1.5px solid transparent;
  transition: background .13s, border-color .13s;
}
.btn.btn-dark        { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn.btn-dark:hover  { background: var(--accent-h); }
.btn.btn-ghost       { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn.btn-ghost:hover { border-color: var(--border-h); }

/* ══ MOBILE STICKY BAR ══ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: .6rem 1rem;
  gap: .6rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
[data-theme="dark"] .mobile-sticky-bar { box-shadow: 0 -2px 12px rgba(0,0,0,.35); }

.mob-bar-call,
.mob-bar-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem .8rem;
  border-radius: var(--r);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background .13s, border-color .13s;
}
.mob-bar-call { background: var(--bg); color: var(--text); border-color: var(--border); }
.mob-bar-call:hover { border-color: var(--accent); color: var(--accent); }
.mob-bar-call svg { flex-shrink: 0; color: var(--accent); }
.mob-bar-cta  { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.mob-bar-cta:hover { background: var(--accent-h); }

/* ══ FOOTER ══ */
footer {
  background: var(--card);
  border-top: 3px solid var(--border);
  padding: 2rem 0 1.5rem;
}

.ft-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.ft-name    { font-size: .95rem; font-weight: 800; color: var(--text); margin-bottom: .45rem; }
.ft-contact { font-size: .8rem; color: var(--text-3); line-height: 1.9; }
.ft-contact a       { color: var(--text-2); transition: color .12s; }
.ft-contact a:hover { color: var(--text); }

.ft-links { display: flex; flex-direction: column; gap: .45rem; padding-top: .1rem; }
.ft-links a       { font-size: .82rem; color: var(--text-2); transition: color .12s; }
.ft-links a:hover { color: var(--text); }

.ft-hours-col .ft-hours        { font-size: .8rem; color: var(--text-3); line-height: 1.85; }
.ft-hours-col .ft-hours strong { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: .35rem; }
.ft-hours-col .ft-hours span   { display: block; }

.social-links { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .4rem; }

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-2);
  padding: .35rem .6rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .12s, color .12s;
}
.fb-link:hover { border-color: var(--border-h); color: var(--text); }
.fb-link svg   { flex-shrink: 0; width: 11px; height: 11px; }

.ft-phone {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .6rem;
  transition: color .12s;
}
.ft-phone:hover { color: var(--accent); }

.ft-copy { font-size: .74rem; color: var(--text-3); }

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.theme-btn-ft {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .6rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: border-color .13s, color .13s, background .13s;
}
.theme-btn-ft:hover { border-color: var(--border-h); color: var(--text-2); background: var(--card-2); }
.theme-btn-ft:focus-visible { box-shadow: var(--focus); outline: none; }

.theme-icon       { display: block; flex-shrink: 0; }
.theme-icon--moon { display: none; }
[data-theme="dark"] .theme-icon--sun  { display: none; }
[data-theme="dark"] .theme-icon--moon { display: block; }

.theme-label--dark { display: none; }
[data-theme="dark"] .theme-label--light { display: none; }
[data-theme="dark"] .theme-label--dark  { display: inline; }

/* ══ FORM HIGHLIGHT ══ */
#quote.highlight { animation: formGlow 2.2s ease-out; }

@keyframes formGlow {
  0%   { box-shadow: 0 0 0 4px var(--accent), var(--sh-lg); }
  40%  { box-shadow: 0 0 0 8px rgba(153,0,0,.2), var(--sh-lg); }
  100% { box-shadow: var(--sh-lg); }
}
[data-theme="dark"] #quote.highlight { animation-name: formGlowDark; }

@keyframes formGlowDark {
  0%   { box-shadow: 0 0 0 4px var(--accent), var(--sh-lg); }
  40%  { box-shadow: 0 0 0 8px rgba(153,0,0,.3), var(--sh-lg); }
  100% { box-shadow: var(--sh-lg); }
}

/* ══ FAQ ══ */
#faq {
  padding: 56px 0 72px;
  border-top: 3px solid var(--border);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .13s, border-color .13s, color .13s;
}
.faq-q:hover,
.faq-q[aria-expanded="true"] {
  background: var(--card-2);
  border-left-color: var(--accent);
  color: var(--accent);
}
.faq-chevron {
  flex-shrink: 0;
  width: 16px; height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-a {
  padding: 0 1.2rem 1rem 1.4rem;
  background: var(--card-2);
  border-left: 3px solid var(--accent);
  animation: faqOpen .18s ease-out;
}
.faq-a p {
  font-size: .87rem;
  color: var(--text) !important;
  line-height: 1.7;
  margin: 0;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 560px; gap: 2.5rem; }
}

@media (max-width: 860px) {
  .hero-grid  { grid-template-columns: 1fr; }
  #hero       { padding: 24px 0 48px; min-height: unset; align-items: flex-start; }
  .hero-left  { padding: .25rem 0 1.5rem; }
  .hero-title { white-space: normal; }
  .svc-grid   { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .svc-card--wide { grid-column: span 2; }
  .svc-card--tall { grid-row: span 1; }
  .ft-inner   { grid-template-columns: 1fr 1fr; }
  .hero-car   { flex: none; height: 220px; }
  .form-card  { margin-top: 0; }
}

@media (max-width: 768px) {
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 680px) { .nav-avail { display: none; } }
@media (max-width: 600px) { .nav-hide  { display: none; } }

@media (max-width: 640px) {
  .fg-2, .fg-3 { grid-template-columns: 1fr; }
  .form-body   { padding: .85rem 1.1rem 1rem; }
  .form-hd     { padding: .8rem 1.1rem .7rem; }
  .contact-row { flex-direction: column; gap: .75rem; }
  .contact-or  { flex-direction: row; padding-top: 0; width: 100%; gap: .5rem; }
  .contact-or::before,
  .contact-or::after { flex: 1; width: auto; height: 1px; }
  .ft-inner { grid-template-columns: 1.6fr 1fr 1fr; }
  .ft-inner > div:last-child { justify-self: start; }
  #faq .faq-list { border-radius: var(--r); }
  .faq-q { font-size: .87rem; padding: .85rem 1rem; }
  .faq-a { padding: 0 1rem .85rem 1.2rem; }
}

@media (max-width: 520px) {
  .phone-num { display: none; }
  .nav-phone { padding: .42rem .6rem; gap: 0; }
}

@media (max-width: 500px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card--wide,
  .svc-card--tall { grid-column: span 1; grid-row: span 1; }
}
