:root {
  --ink-900: #111727;
  --ink-800: #1a2437;
  --ink-700: #283651;
  --surface-100: #f6f7fb;
  --surface-50: #ffffff;
  --brand-700: #8e231e;
  --brand-600: #b92a22;
  --brand-500: #d7483e;
  --brand-200: #f6cdca;
  --accent-600: #2d4e86;
  --accent-500: #3a66ad;
  --ok-600: #14845e;
  --line: #d7dceb;
  --shadow-soft: 0 14px 30px rgba(17, 23, 39, 0.08);
  --shadow-strong: 0 24px 46px rgba(17, 23, 39, 0.14);
  --max-width: 1140px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 10% -5%, rgba(215, 72, 62, 0.13), transparent 35%),
    radial-gradient(circle at 95% 0%, rgba(58, 102, 173, 0.15), transparent 42%),
    linear-gradient(180deg, #fbfcff 0%, #f2f4f9 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(17, 23, 39, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 23, 39, 0.02) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: -1;
}

a {
  color: inherit;
}

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

.wrap {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(246, 247, 251, 0.86);
  border-bottom: 1px solid rgba(39, 54, 81, 0.09);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  display: block;
  font-size: 1.02rem;
}

.brand-text span {
  font-size: 0.86rem;
  color: var(--ink-700);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 640;
  color: var(--ink-700);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #edf1fa;
  color: var(--ink-900);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-50);
  color: var(--ink-900);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 650;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--brand-600);
  color: #fff;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(185, 42, 34, 0.22);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--brand-700);
}

.hero {
  padding: 52px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-main {
  background: linear-gradient(140deg, #fff, #fbfbff);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(39, 54, 81, 0.08);
  box-shadow: var(--shadow-strong);
  padding: clamp(24px, 3vw, 38px);
  position: relative;
  overflow: hidden;
  animation: fade-rise 0.7s ease forwards;
}

.hero-main::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 102, 173, 0.22), transparent 70%);
}

.hero-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--brand-700);
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.95rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.hero p {
  margin: 16px 0 0;
  font-size: 1.13rem;
  color: var(--ink-700);
  max-width: 64ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 17px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 10px 20px rgba(185, 42, 34, 0.26);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-700);
}

.btn-secondary {
  background: #fff;
  color: var(--ink-900);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #f4f6fd;
}

.hero-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-700);
  background: #f3f5fb;
  border: 1px solid #dbe2f0;
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-aside {
  display: grid;
  gap: 14px;
  align-content: start;
  animation: fade-rise 0.85s ease forwards;
}

.mini-card,
.quote-card {
  background: var(--surface-50);
  border: 1px solid rgba(39, 54, 81, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.mini-card {
  padding: 16px;
}

.mini-card strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin-bottom: 8px;
}

.quote-card {
  padding: 18px;
}

.quote-card h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.quote-card p {
  margin: 0 0 14px;
  color: var(--ink-700);
}

.section {
  padding: 62px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(39, 54, 81, 0.09);
  border-bottom: 1px solid rgba(39, 54, 81, 0.09);
}

.section h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.section-head {
  max-width: 72ch;
  margin-bottom: 24px;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--ink-700);
  font-size: 1.06rem;
}

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  font-weight: 750;
  color: var(--brand-700);
  margin-bottom: 8px;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(39, 54, 81, 0.1);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  height: 100%;
}

.panel h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.panel p {
  margin: 0;
  color: var(--ink-700);
}

.panel ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ink-700);
}

.steps {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(39, 54, 81, 0.1);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  position: relative;
}

.step::before {
  counter-increment: flow;
  content: counter(flow);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.step p {
  margin: 0;
  color: var(--ink-700);
}

.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.location-link {
  display: block;
  text-decoration: none;
  padding: 14px 16px;
  border: 1px solid #d6dced;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  color: var(--ink-800);
}

.location-link small {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  color: var(--ink-700);
}

.location-link:hover,
.location-link:focus-visible {
  border-color: #bbcadf;
  background: #f7f9ff;
}

.review {
  border-left: 4px solid var(--brand-500);
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.review p {
  margin: 0;
  color: var(--ink-800);
}

.review cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--ink-700);
  font-weight: 600;
}

.faq details {
  border: 1px solid #d8dfef;
  border-radius: 11px;
  background: #fff;
  padding: 12px 14px;
}

.faq details + details {
  margin-top: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 8px 0 0;
  color: var(--ink-700);
}

.callout {
  background: linear-gradient(135deg, rgba(185, 42, 34, 0.08), rgba(45, 78, 134, 0.1));
  border: 1px solid rgba(39, 54, 81, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.callout h2 {
  margin-top: 0;
}

.callout p {
  color: var(--ink-700);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.input {
  width: 100%;
  border: 1px solid #ccd5e9;
  border-radius: 10px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink-900);
}

.input:focus {
  outline: 2px solid rgba(58, 102, 173, 0.35);
  border-color: #7fa1d3;
  outline-offset: 1px;
}

textarea.input {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 10px 0 0;
  color: var(--ink-700);
  font-size: 0.94rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.contact-list li {
  color: var(--ink-800);
}

.contact-list strong {
  color: var(--ink-900);
}

.breadcrumb {
  padding: 18px 0 0;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.9rem;
  color: var(--ink-700);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.page-hero {
  padding: 30px 0 30px;
}

.page-hero .panel {
  padding: clamp(20px, 3vw, 32px);
}

.page-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.08;
}

.page-hero p {
  margin: 12px 0 0;
  color: var(--ink-700);
  font-size: 1.06rem;
  max-width: 66ch;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: start;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table th,
.table td {
  border-bottom: 1px solid #e0e6f4;
  padding: 11px 12px;
  text-align: left;
}

.table th {
  background: #f4f6fb;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  margin-top: 62px;
  border-top: 1px solid rgba(39, 54, 81, 0.13);
  background: var(--ink-900);
  color: #e2e9f8;
  padding: 34px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.site-footer a {
  color: #ffd4d1;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #c7d5f5;
}

.legal {
  margin-top: 14px;
  color: #9cb2df;
  font-size: 0.88rem;
}

.sticky-mobile {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 40;
  display: none;
  gap: 8px;
}

.sticky-mobile a {
  flex: 1;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 8px;
  color: #111;
  box-shadow: var(--shadow-soft);
}

.sticky-mobile .call {
  background: #fff;
  border: 1px solid #e1e5f2;
}

.sticky-mobile .quote {
  background: var(--brand-600);
  color: #fff;
}

.sticky-mobile .text {
  background: var(--ok-600);
  color: #fff;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .service-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .steps,
  .locations,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 64px;
    background: #fff;
    border: 1px solid #d9dfef;
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
    padding: 10px;
  }

  .main-nav.open a {
    padding: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .steps,
  .locations,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 50px 0;
  }

  .sticky-mobile {
    display: flex;
  }

  body {
    padding-bottom: 78px;
  }
}
