/* =====================================================
   Shepherd Motors — Brand stylesheet
   Palette: white / lilac / purple
   ===================================================== */

:root {
  --purple-900: #2a1359;
  --purple-800: #3f1d8a;
  --purple-700: #5b21b6;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --lilac-300: #c4b5fd;
  --lilac-200: #ddd6fe;
  --lilac-100: #ede9fe;
  --lilac-50:  #f5f3ff;
  --ink:       #1e1240;
  --muted:     #6b6489;
  --bg:        #ffffff;
  --bg-soft:   #fbfaff;
  --border:    #e9d5ff;
  --success:   #10b981;
  --warn:      #f59e0b;

  --shadow-sm: 0 1px 2px rgba(60,30,140,.06);
  --shadow-md: 0 8px 24px -8px rgba(60,30,140,.18);
  --shadow-lg: 0 20px 50px -12px rgba(60,30,140,.28);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --container: 1180px;

  --grad-purple: linear-gradient(135deg, #7c3aed 0%, #3f1d8a 100%);
  --grad-soft:   linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  --grad-hero:   linear-gradient(135deg, rgba(30,18,64,0.86) 0%, rgba(63,29,138,0.78) 55%, rgba(91,33,182,0.7) 100%);
  --hero-photo:  url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1800&q=80');
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--purple-700); text-decoration: none; }
a:hover { color: var(--purple-600); }

h1, h2, h3, h4 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--purple-700);
  background: var(--lilac-100);
  padding: .35em .8em;
  border-radius: 999px;
  margin-bottom: 1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.5em;
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color:#fff; }
.btn-secondary {
  background: #fff;
  color: var(--purple-700);
  border-color: var(--lilac-200);
}
.btn-secondary:hover { background: var(--lilac-50); border-color: var(--purple-500); color: var(--purple-700); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color:#fff; }
.btn:disabled, .btn[aria-busy="true"] {
  opacity: .65;
  cursor: not-allowed;
  pointer-events: none;
  filter: saturate(.6);
}
.btn .btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: btn-spin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { width: 170px; height: auto; max-height: 64px; }
.site-footer .logo img { width: 170px; height: auto; max-height: 70px; filter: brightness(0) invert(1); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--lilac-100); color: var(--purple-700); }
.main-nav a.active { background: var(--lilac-100); color: var(--purple-700); }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--purple-700);
  font-size: .98rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle span { display:block; width:22px; height:2px; background:var(--ink); margin:4px 0; border-radius:2px; }

@media (max-width: 900px) {
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: inline-block; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 14px 16px 18px;
    gap: 4px;
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 38px -10px rgba(60,30,140,.28);
  }
  .main-nav.open a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: background .15s ease, color .15s ease;
  }
  .main-nav.open a:hover,
  .main-nav.open a.active {
    background: var(--lilac-100);
    color: var(--purple-700);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    var(--grad-hero),
    var(--hero-photo);
  background-size: cover, cover;
  background-position: center, center;
  background-color: #1e1240; /* fallback if photo blocked */
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 88% -10%, rgba(196,181,253,.28), transparent 60%),
    radial-gradient(500px 300px at 0% 110%, rgba(139,92,246,.22), transparent 60%);
  pointer-events: none;
}
.hero::after {
  /* subtle grain / dot texture */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 96px 110px;
}
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg,#fff,#c4b5fd); -webkit-background-clip:text; background-clip:text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 540px; }
.hero .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stats .stat strong { display:block; font-size: 1.75rem; font-weight: 800; }
.hero-stats .stat span { color: rgba(255,255,255,.75); font-size: .9rem; }

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f5f3ff 0%, #ddd6fe 100%);
}
.hero-card .hero-illustration {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero-card::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(42,19,89,.0) 55%, rgba(42,19,89,.35));
  pointer-events: none;
}

/* Reviews card variant */
.hero-card--reviews {
  background: linear-gradient(155deg, #ffffff 0%, #f5f3ff 60%, #ede9fe 100%);
  display: flex;
  flex-direction: column;
  padding: 28px 30px;
  gap: 18px;
  color: var(--ink);
  aspect-ratio: auto;
  min-height: 360px;
}
.hero-card--reviews::after { display: none; }

.hc-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lilac-200);
}
.hc-head--link {
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  padding: 4px 6px 16px;
  margin: -4px -6px 0;
  transition: background .15s ease;
  position: relative;
}
.hc-head--link:hover { background: var(--lilac-50); color: inherit; }
.hc-head-text { flex: 1; min-width: 0; }
.hc-head-arrow { color: var(--purple-600); flex: 0 0 auto; opacity: .65; transition: opacity .15s ease, transform .15s ease; }
.hc-head--link:hover .hc-head-arrow { opacity: 1; transform: translate(2px, -2px); }
.hc-head .hc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px -6px rgba(124,58,237,.5);
}
.hc-head strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.hc-head span { color: var(--muted); font-size: .82rem; }

.hc-rating {
  text-align: center;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
}
.hc-stars {
  display: inline-flex; gap: 2px;
  color: #f59e0b;
  filter: drop-shadow(0 1px 1px rgba(245,158,11,.25));
}
.hc-score {
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 800;
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hc-meta { color: var(--muted); font-size: .9rem; }
.hc-meta strong { color: var(--ink); font-weight: 700; }
.hc-link {
  display: inline-block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--purple-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.hc-link:hover { color: var(--purple-600); border-bottom-color: var(--purple-500); }

.hc-review {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.hc-review::before {
  content: "\201C";
  position: absolute;
  top: -14px; left: 14px;
  font-size: 3rem;
  line-height: 1;
  color: var(--lilac-300);
  font-family: Georgia, serif;
}
.hc-review .hc-stars-sm { margin-bottom: 6px; }
.hc-review blockquote {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.5;
}
.hc-review figcaption { color: var(--muted); font-size: .8rem; }
.hero-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.95);
  padding: 14px 16px; border-radius: 14px;
  color: var(--ink);
  z-index: 1;
}
.hero-badge .gg-circle {
  width:46px; height:46px; border-radius:50%;
  background: var(--grad-purple); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800;
  flex: 0 0 auto;
}
.hero-badge strong { display:block; font-size: 1rem; }
.hero-badge span { color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 64px 72px; gap: 36px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--bg-soft); }
section.dark { background: var(--purple-900); color: #fff; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .eyebrow { background: rgba(255,255,255,.15); color:#fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-500);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--lilac-100);
  color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .92rem; color: var(--purple-700); }
.card.spotlight {
  background: var(--grad-purple);
  color: #fff;
  border-color: transparent;
}
.card.spotlight h3, .card.spotlight p { color: #fff; }
.card.spotlight p { color: rgba(255,255,255,.85); }
.card.spotlight .icon { background: rgba(255,255,255,.18); color: #fff; }
.card.spotlight .more { color: #fff; }

/* ---------- Why-us / feature row ---------- */
.feature-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.feature-row.reverse { grid-template-columns: 1fr 1.1fr; }
.feature-row.reverse .feature-media { order: -1; }
.feature-row--top { align-items: start; }
.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-md);
}
/* For SVG illustrations: contain rather than cover so the whole composition shows */
.feature-media--illus {
  background-size: cover;
  background-color: #f5f3ff;
}
.feature-list { list-style: none; padding: 0; margin: 1em 0 0; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px dashed var(--border);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .tick {
  flex: 0 0 24px; width:24px; height:24px;
  background: var(--lilac-100); border-radius: 50%;
  color: var(--purple-700);
  display:flex; align-items:center; justify-content:center;
  margin-top: 2px;
}
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-list strong { color: var(--ink); }
.feature-list span { color: var(--muted); font-size: .96rem; }

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-media { order: 0; }
}

/* ---------- Pill / chip ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lilac-100);
  color: var(--purple-700);
  font-size: .85rem;
  font-weight: 600;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--grad-purple);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px; align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow:hidden;
}
.cta-banner::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.18), transparent 60%);
}
.cta-banner h2 { color:#fff; margin: 0 0 .3em; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-banner .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; padding: 32px; }
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial .stars { color: var(--warn); margin-bottom: 8px; letter-spacing: 2px; }
.testimonial blockquote { margin: 0 0 14px; font-size: 1rem; color: var(--ink); }
.testimonial cite { display:block; color: var(--muted); font-style: normal; font-size: .9rem; }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  aspect-ratio: 16/8;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: rgba(255,255,255,.78);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.site-footer .logo { display: inline-block; margin-bottom: 4px; }
.footer-tag { color: rgba(255,255,255,.65); margin-top: 14px; font-size: .92rem; max-width: 320px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,.55); font-size: .85rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background:
    linear-gradient(135deg, rgba(20,10,48,0.92) 0%, rgba(63,29,138,0.9) 55%, rgba(91,33,182,0.86) 100%),
    var(--hero-photo);
  background-size: cover, cover;
  background-position: center, center;
  background-color: #140a30;
  color: #fff;
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 350px at 90% 0%, rgba(196,181,253,.22), transparent 60%),
    radial-gradient(500px 280px at 0% 110%, rgba(139,92,246,.18), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  /* subtle dot texture so it has the same finish as the home hero */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 700px; font-size: 1.1rem; }
.breadcrumbs { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1em; }
.breadcrumbs a { color: rgba(255,255,255,.85); }

/* ---------- Forms ---------- */
.form {
  display: grid; gap: 16px;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { font-size: .9rem; font-weight: 600; color: var(--ink); display:block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 4px rgba(124,58,237,.15);
}
.form textarea { min-height: 140px; resize: vertical; }

/* Contact form status messages */
.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.form-status--info {
  background: var(--lilac-100);
  color: var(--purple-700);
  border-color: var(--lilac-200);
}
.form-status--success {
  background: rgba(16,185,129,.10);
  color: #047857;
  border-color: rgba(16,185,129,.3);
}
.form-status--error {
  background: rgba(239,68,68,.08);
  color: #b91c1c;
  border-color: rgba(239,68,68,.25);
}

/* ---------- Contact info block ---------- */
.contact-info { display: grid; gap: 18px; }
.contact-info .row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-info .ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--lilac-100); color: var(--purple-700);
  display: flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info strong { display:block; color: var(--ink); }
.contact-info span, .contact-info a { color: var(--muted); }

/* ---------- FAQ / accordion ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--purple-500); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--purple-600); font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Steps (process) ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps .step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.steps .step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}
.steps .step h3 { margin: 4px 0 6px; }
.steps .step p { color: var(--muted); margin: 0; }

/* ---------- Service blocks (alternating tiles) ---------- */
.svc-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.svc-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-block:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-500);
}
.svc-block .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lilac-100); color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 44px;
}
.svc-block .ico svg { width: 22px; height: 22px; }
.svc-block h3 { margin: 0 0 6px; font-size: 1.08rem; }
.svc-block p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.svc-block .more { display: inline-block; margin-top: 8px; font-weight: 600; font-size: .9rem; color: var(--purple-700); }

/* alternating tints */
.svc-block.tint-a { background: var(--lilac-50); border-color: var(--lilac-200); }
.svc-block.tint-a .ico { background: #fff; }
.svc-block.tint-b { background: #fff; }
.svc-block.tint-c { background: var(--grad-purple); color:#fff; border-color: transparent; }
.svc-block.tint-c h3, .svc-block.tint-c p, .svc-block.tint-c .more { color: #fff; }
.svc-block.tint-c p { color: rgba(255,255,255,.85); }
.svc-block.tint-c .ico { background: rgba(255,255,255,.18); color: #fff; }

@media (max-width: 800px) {
  .svc-blocks { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.pill-good {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,.1); color: #047857;
  padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .85rem;
}
.pill-good::before { content:""; width:8px; height:8px; border-radius:50%; background: var(--success); }

/* =====================================================
   Mobile / small-screen optimisations
   ===================================================== */

@media (max-width: 900px) {
  /* slightly tighter on tablet */
  section { padding: 72px 0; }
  .hero-inner { padding-block: 56px 64px; }
  .feature-row, .feature-row.reverse { gap: 28px; }
}

@media (max-width: 720px) {
  /* Container & sections — generous padding so content doesn't kiss the edges */
  .container { padding: 0 28px; }
  section { padding: 56px 0; }
  section.tight { padding: 36px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 1rem; }

  /* Headings — smaller minimums on small screens */
  h1 { font-size: clamp(1.65rem, 6.6vw, 2.3rem); }
  h2 { font-size: clamp(1.4rem, 5.4vw, 1.9rem); }
  h3 { font-size: 1.1rem; }
  body { font-size: 15px; }

  /* Header — chunky banner so the logo has presence */
  .header-inner { padding-top: 28px !important; padding-bottom: 28px !important; gap: 14px; }
  .logo img { width: 160px; max-height: 60px; }
  .site-footer .logo img { width: 160px; max-height: 64px; }
  .header-cta { gap: 8px; }
  .header-cta .btn-primary { padding: .8em 1.2em; font-size: .92rem; }
  .menu-toggle { padding: 11px 13px; }

  /* Buttons */
  .btn { padding: .8em 1.25em; font-size: .92rem; }

  /* Hero — generous internal vertical padding */
  .hero-inner { padding-block: 64px 72px; gap: 28px; }
  .hero p.lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn { justify-content: center; width: 100%; max-width: 320px; }
  .hero-stats { gap: 18px 24px; padding-top: 22px; margin-top: 28px; }
  .hero-stats .stat { flex: 1 1 calc(50% - 12px); min-width: 0; }
  .hero-stats .stat strong { font-size: 1.4rem; }
  .hero-stats .stat span { font-size: .82rem; }

  /* Reviews card — more breathing room inside */
  .hero-card--reviews { padding: 32px 28px; gap: 18px; }
  .hc-head { padding-bottom: 16px; gap: 12px; }
  .hc-head .hc-icon { width: 38px; height: 38px; }
  .hc-head strong { font-size: .95rem; }
  .hc-head span { font-size: .76rem; }
  .hc-rating { gap: 6px; }
  .hc-stars svg { width: 18px; height: 18px; }
  .hc-score { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hc-meta { font-size: .82rem; }
  .hc-review { padding: 12px 14px; }
  .hc-review blockquote { font-size: .86rem; }
  .hc-review figcaption { font-size: .76rem; }
  .hc-review::before { font-size: 2.4rem; top: -10px; }

  /* Sub-page hero */
  .page-hero p { font-size: 1rem; }
  .breadcrumbs { font-size: .82rem; }

  /* Cards */
  .card { padding: 22px; }
  .card .icon { width: 42px; height: 42px; margin-bottom: 14px; }
  .card .icon svg { width: 22px; height: 22px; }

  /* Service blocks */
  .svc-blocks { gap: 14px; }
  .svc-block { padding: 18px 20px; gap: 14px; grid-template-columns: 40px 1fr; }
  .svc-block .ico { width: 40px; height: 40px; flex-basis: 40px; }
  .svc-block .ico svg { width: 20px; height: 20px; }
  .svc-block h3 { font-size: 1rem; }
  .svc-block p { font-size: .9rem; }

  /* CTA banner */
  .cta-banner { padding: 28px 22px; gap: 18px; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner .cta-actions { flex-direction: column; align-items: center; }
  .cta-banner .cta-actions .btn { justify-content: center; width: 100%; max-width: 320px; }

  /* Forms */
  .form { padding: 22px; }
  .form input, .form select, .form textarea { padding: 11px 12px; font-size: 15px; }
  .form-row { gap: 12px; }

  /* Process steps */
  .steps .step { grid-template-columns: 40px 1fr; padding: 18px; gap: 14px; }
  .steps .step::before { width: 36px; height: 36px; font-size: 1rem; }
  .steps .step h3 { font-size: 1rem; }

  /* Testimonials */
  .testimonial { padding: 22px; }
  .testimonial blockquote { font-size: .94rem; }

  /* Feature row */
  .feature-row, .feature-row.reverse { gap: 24px; }
  .feature-list li { padding: 8px 0; }
  .feature-list strong { font-size: .96rem; }
  .feature-list span { font-size: .9rem; }

  /* FAQ */
  .faq details { padding: 16px 18px; }
  .faq details p { font-size: .92rem; }

  /* Map */
  .map-wrap { aspect-ratio: 4/3; }

  /* Contact info */
  .contact-info .row { padding: 14px; gap: 12px; }
  .contact-info .ico { width: 38px; height: 38px; }

  /* Footer */
  .site-footer { padding: 48px 0 24px; }
  .footer-grid { gap: 24px; }
  .footer-tag { font-size: .88rem; }
  .footer-bottom { font-size: .78rem; flex-direction: column; gap: 6px; }

  /* Eyebrow tightening */
  .eyebrow { font-size: .72rem; padding: .3em .7em; }

  /* === CENTERED MOBILE LAYOUT === */

  /* Hero — center text content */
  .hero-inner > div:first-child { text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; max-width: 640px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; text-align: center; }
  .hero-stats .stat { flex: 1 1 calc(50% - 12px); }

  /* Page hero (sub-pages) — center heading + paragraph + actions, generous padding */
  .page-hero { text-align: center; padding: 72px 0 64px; }
  .page-hero h1 { margin-left: auto; margin-right: auto; }
  .page-hero p { margin-left: auto; margin-right: auto; }
  .page-hero .hero-actions { justify-content: center; }
  .breadcrumbs { text-align: center; }

  /* Cards — center icon + content */
  .card { text-align: center; }
  .card .icon { margin-left: auto; margin-right: auto; }
  .card.spotlight { text-align: center; }
  .card.spotlight .icon { margin-left: auto; margin-right: auto; }

  /* Service blocks — stack icon on top, center everything */
  .svc-block {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 22px 20px;
  }
  .svc-block .ico { flex: 0 0 auto; margin-bottom: 4px; }

  /* Process steps — stack number on top, center */
  .steps .step {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 22px 18px;
    gap: 10px;
  }
  .steps .step::before { margin: 0 0 4px; }

  /* Testimonials — center */
  .testimonial { text-align: center; }
  .testimonial .stars { letter-spacing: 4px; }

  /* CTA banner — center */
  .cta-banner { text-align: center; }
  .cta-banner .cta-actions { justify-content: center; }

  /* Feature rows — center text column */
  .feature-row > div:not(.feature-media),
  .feature-row.reverse > div:not(.feature-media) { text-align: center; }
  .feature-row .btn-secondary { display: inline-flex; }
  .feature-list { display: inline-block; text-align: left; max-width: 100%; }
  .feature-list li { justify-content: flex-start; }

  /* Contact info rows on mobile — icon stacked on top, text centered below */
  .contact-info .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 16px;
  }
  .contact-info .row .ico { margin: 0 auto; }
  .contact-info .row strong { display: block; }
  .contact-info .row a { display: inline-block; }

  /* Footer — center everything */
  .site-footer { text-align: center; }
  .site-footer .logo { display: inline-block; }
  .footer-tag { margin-left: auto; margin-right: auto; }
  .footer-grid > div { display: flex; flex-direction: column; align-items: center; }
  .footer-grid h4 { text-align: center; }
  .footer-grid ul { text-align: center; }
  .footer-bottom { text-align: center; align-items: center; }
}

@media (max-width: 480px) {
  /* Container — keep generous padding on phones, don't shrink it */
  .container { padding: 0 26px; }
  section { padding: 52px 0; }
  section.tight { padding: 32px 0; }

  h1 { font-size: clamp(1.5rem, 7.5vw, 2rem); line-height: 1.2; }
  h2 { font-size: clamp(1.3rem, 6vw, 1.7rem); }

  /* Header — keep banner chunky on phones */
  .logo img { width: 150px; max-height: 56px; }
  .header-cta .btn-primary { padding: .7em 1em; font-size: .88rem; }
  .header-cta { gap: 8px; }

  /* Hero — keep generous inner padding (don't shrink below 720px values) */
  .hero-inner { padding-block: 56px 64px; gap: 26px; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 20px;
    margin-top: 24px;
  }
  .hero-stats .stat strong { font-size: 1.3rem; }

  /* Reviews card — generous internal padding */
  .hero-card--reviews { padding: 28px 24px; gap: 16px; aspect-ratio: auto; }
  .hc-score { font-size: 2.4rem; }
  .hc-stars svg { width: 18px; height: 18px; }

  /* Sub-page hero — keep generous */
  .page-hero { padding: 56px 0 52px; }

  /* Cards */
  .card { padding: 22px; }
  .svc-block { padding: 22px 20px; }

  /* CTA */
  .cta-banner { padding: 26px 22px; }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner p { font-size: .94rem; }

  /* Form */
  .form { padding: 22px; }

  /* Steps */
  .steps .step { padding: 20px 18px; gap: 12px; }

  /* Footer */
  .site-footer { padding: 44px 0 22px; }
}
