/* =============================================
   HORSESHOE INSURANCE
   Design system v2 — Modern Trust
   ============================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --ink:        #0A1628;
  --ink-2:      #1E2D47;
  --ink-3:      #3A4761;
  --surface:    #FFFFFF;
  --surface-2:  #F7F8FA;
  --surface-3:  #EEF1F5;
  --accent:     #C99A45;
  --accent-2:   #B0822F;
  --accent-soft:#F3E7CE;
  --text:       #182238;
  --muted:      #5D6A82;
  --muted-2:    #8590A5;
  --border:     #E5E8EE;
  --border-2:   #D6DBE3;
  --success:    #0F7A4F;
  --success-bg: #E8F5EF;
  --error:      #B23B3B;
  --error-bg:   #FBECEC;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(10,22,40,.05);
  --shadow-sm: 0 2px 6px rgba(10,22,40,.06);
  --shadow-md: 0 6px 20px rgba(10,22,40,.08);
  --shadow-lg: 0 20px 50px rgba(10,22,40,.12);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: 140ms;
  --t-base: 220ms;
  --t-slow: 380ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t-base) var(--ease); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; }
p  { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section.surface-2 { background: var(--surface-2); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { color: var(--ink); }
.section-head p { margin-top: 14px; font-size: 1.0625rem; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--ink);
}

.btn-on-dark {
  background: transparent;
  color: var(--surface);
  border-color: rgba(255,255,255,.3);
}
.btn-on-dark:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--surface);
}

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: .875rem; }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--accent);
  color: var(--ink);
  font-size: .78125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.4;
}
.demo-banner span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.demo-banner svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Built by ---------- */
.built-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.built-by a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  border-bottom: 1px dotted rgba(255,255,255,.3);
  padding-bottom: 1px;
}
.built-by a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  font-size: .8125rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 13px; height: 13px; opacity: .7; }
@media (max-width: 720px) {
  .topbar-left { display: none; }
  .topbar .container { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 14px rgba(10,22,40,.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-sub {
  display: block;
  font-size: .7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: var(--r-sm);
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.nav-list a:hover { color: var(--ink); background: var(--surface-2); }
.nav-list a.active { color: var(--ink); }
.nav-list a.active::after {
  /* subtle indicator */
  content: '';
  display: block;
  height: 2px;
  width: 18px;
  background: var(--accent);
  border-radius: 2px;
  margin: 4px auto 0;
}
.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: var(--r-sm);
}
.hamburger svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .nav-list, .nav-cta { display: none; }
  .hamburger { display: inline-grid; place-items: center; }
  .nav.open .nav-list,
  .nav.open .nav-cta {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 4px;
  }
  .nav.open .nav-cta { padding-top: 4px; padding-bottom: 18px; }
  .nav.open .nav-list a { padding: 12px 14px; }
  .nav.open .nav-list a.active::after { display: none; }
  .nav.open .nav-list a.active { background: var(--surface-2); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border-radius: var(--r-full);
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-eyebrow svg { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-2);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-meta-stars { display: inline-flex; gap: 2px; color: var(--accent); }
.hero-meta-stars svg { width: 16px; height: 16px; }
.hero-meta-text { font-size: .875rem; color: var(--muted); }
.hero-meta-text strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-visual-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-visual-card-icon svg { width: 22px; height: 22px; }
.hero-visual-card strong { display: block; font-size: .9375rem; color: var(--ink); }
.hero-visual-card span { font-size: .8125rem; color: var(--muted); }

@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { aspect-ratio: 16/12; max-width: 560px; margin: 0 auto; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--ink-3);
  font-weight: 500;
}
.trust-item svg { width: 18px; height: 18px; color: var(--accent-2); }

/* ---------- Quote (quick) ---------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.quote-card h3 { margin-bottom: 6px; }
.quote-card .sub { font-size: .9375rem; margin-bottom: 22px; }

.quote-banner {
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.quote-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(201,154,69,.22), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(30,45,71,.6), transparent 50%);
  pointer-events: none;
}
.quote-banner > * { position: relative; z-index: 1; }
.quote-banner h2 { color: var(--surface); margin: 12px 0 14px; }
.quote-banner p { color: rgba(255,255,255,.75); font-size: 1.0625rem; margin-bottom: 24px; }
.quote-banner .eyebrow { color: var(--accent); }
.quote-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.quote-banner-hint { font-size: .875rem; color: rgba(255,255,255,.65); }
.quote-banner-card {
  background: var(--surface);
  color: var(--text);
  padding: 28px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.quote-banner-card h3 { margin-bottom: 6px; }
.quote-banner-card .sub { font-size: .875rem; color: var(--muted); margin-bottom: 18px; }

@media (max-width: 880px) {
  .quote-banner { padding: 40px 28px; grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: .9375rem;
  color: var(--text);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10,22,40,.08);
}
select {
  -webkit-appearance: none;
  appearance: none;
  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 d='M1 1.5L6 6.5L11 1.5' stroke='%235D6A82' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 0;
}
.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--ink);
}
.checkbox-row label {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
  line-height: 1.55;
}

.form-notice {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
}
.form-notice.success { display: block; background: var(--success-bg); color: var(--success); }
.form-notice.error { display: block; background: var(--error-bg); color: var(--error); }

/* ---------- Coverage cards ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .coverage-grid { grid-template-columns: 1fr; } }

.coverage-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.coverage-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.coverage-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.coverage-icon svg { width: 22px; height: 22px; }
.coverage-card h3 { margin-bottom: 8px; }
.coverage-card p { font-size: .9375rem; margin-bottom: 18px; }
.coverage-card .link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
  transition: gap var(--t-base) var(--ease);
}
.coverage-card .link svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease); }
.coverage-card:hover .link { color: var(--accent-2); gap: 8px; }

/* ---------- Why us ---------- */
.why-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .why-wrap { grid-template-columns: 1fr; gap: 40px; } }
.why-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-img-stat {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.why-img-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.why-img-stat span { font-size: .8125rem; color: var(--muted); }

.why-body h2 { margin: 12px 0 16px; }
.why-body > p { font-size: 1.0625rem; }
.why-features { display: grid; gap: 22px; margin-top: 28px; }
.why-feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.why-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.why-feature-icon svg { width: 20px; height: 20px; }
.why-feature h4 { margin-bottom: 4px; font-size: 1.0625rem; font-weight: 600; }
.why-feature p { font-size: .9375rem; margin: 0; }

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); padding: 22px; } }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.testimonial-stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 16px; }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 22px;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-3);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: .9375rem; color: var(--ink); }
.testimonial-author span { font-size: .8125rem; color: var(--muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--surface);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,154,69,.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(30,45,71,.6), transparent 50%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { color: var(--surface); max-width: 700px; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; font-size: 1.0625rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; opacity: .6; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--surface);
  padding: 18px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.about-img-badge strong {
  display: block;
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
}
.about-img-badge span { font-size: .75rem; color: var(--muted); }

.about-body p { font-size: 1.0625rem; margin-bottom: 16px; color: var(--ink-3); line-height: 1.7; }
.about-body p strong { color: var(--ink); font-weight: 600; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--surface-3);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.value-icon svg { width: 20px; height: 20px; }
.value h4 { margin-bottom: 8px; }
.value p { font-size: .9375rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-member {
  text-align: center;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-3);
  margin-bottom: 14px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-member:hover .team-photo img { transform: scale(1.04); }
.team-member h4 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.team-member span { font-size: .8125rem; color: var(--muted); }

/* ---------- Services detail ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: 0; }
.service-row.reverse .service-row-media { order: 2; }
@media (max-width: 880px) {
  .service-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .service-row.reverse .service-row-media { order: 0; }
}
.service-row-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--surface-3);
  box-shadow: var(--shadow-md);
}
.service-row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row-body .eyebrow { margin-bottom: 10px; }
.service-row-body h3 {
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service-row-body p { font-size: 1rem; margin-bottom: 22px; line-height: 1.65; }
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-3);
}
.feature-tag svg { width: 12px; height: 12px; color: var(--accent-2); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  color: var(--ink-3);
}
.checklist li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
  flex-shrink: 0;
}

/* ---------- Service detail page ---------- */
.service-page {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) { .service-page { grid-template-columns: 1fr; gap: 40px; } }

.service-page .prose h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 14px;
}
.service-page .prose h2:first-child { margin-top: 0; }
.service-page .prose h3 {
  font-size: 1.125rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}
.service-page .prose p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.service-page .prose p strong { color: var(--ink); font-weight: 600; }
.service-page .prose ul {
  margin: 8px 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-page .prose ul li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: var(--ink-3);
  line-height: 1.65;
}
.service-page .prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0822F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.service-page .prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--ink);
}
.service-page .prose blockquote p { margin: 0; color: var(--ink); font-style: italic; }

.service-hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--surface-3);
  box-shadow: var(--shadow-md);
}
.service-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.service-aside {
  position: sticky;
  top: 96px;
}
.service-aside .quote-card { margin-bottom: 18px; }
.service-aside-contact {
  background: var(--ink);
  color: var(--surface);
  padding: 24px;
  border-radius: var(--r-lg);
  text-align: center;
}
.service-aside-contact strong {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.service-aside-contact a {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--surface);
  margin-bottom: 6px;
}
.service-aside-contact span {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
}
@media (max-width: 980px) {
  .service-aside { position: static; }
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 800px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.related-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.related-card strong {
  display: block;
  color: var(--ink);
  font-size: .9375rem;
  margin-bottom: 4px;
}
.related-card span { font-size: .8125rem; color: var(--muted); }

/* services landing — grouped lists */
.coverage-group + .coverage-group { margin-top: 56px; }
.coverage-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.coverage-group-title h2 { font-size: 1.5rem; }
.coverage-group-title span {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h3 { margin-bottom: 8px; }
.contact-info > p { margin-bottom: 28px; font-size: .9375rem; }

.contact-detail {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: 0; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text strong { display: block; font-size: .875rem; color: var(--ink); margin-bottom: 2px; }
.contact-detail-text span { font-size: .9375rem; color: var(--muted); line-height: 1.55; }

.contact-map {
  margin-top: 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 220px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  position: relative;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 24px; font-size: .9375rem; }
.contact-form label .field-hint { color: var(--muted-2); font-weight: 400; }
.contact-form .submit-row { margin-top: 14px; }
@media (max-width: 560px) { .contact-form { padding: 24px; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color var(--t-base) var(--ease);
}
.faq-item[open] { border-color: var(--ink); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform var(--t-base) var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item-body {
  margin-top: 14px;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { color: var(--surface); margin-bottom: 16px; }
.footer-brand .brand-mark { color: var(--accent); }
.footer-brand .brand-name { color: var(--surface); }
.footer-brand .brand-sub { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.6); max-width: 320px; margin-bottom: 20px; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.footer-social a:hover { background: var(--accent); color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--surface);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .9375rem; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 404 ---------- */
.not-found {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--surface-2);
}
.not-found-code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.not-found h1 { margin-bottom: 12px; }
.not-found p { max-width: 480px; margin: 0 auto 28px; font-size: 1.0625rem; }
.not-found-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0s !important; transition-duration: 0s !important; }
}

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