:root {
  --ink: #13202b;
  --muted: #61707f;
  --blue: #2c7da8;
  --blue-dark: #1d5f86;
  --blue-soft: #e8f5fb;
  --line: #e6edf2;
  --panel: #f8fbfd;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(37, 65, 86, 0.12);
  --radius: 8px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(230, 237, 242, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  fill: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--blue-dark);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(44, 125, 168, 0.22);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(44, 125, 168, 0.28);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--blue-dark);
  background: var(--blue-soft);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--white);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

.section {
  padding: 84px 0;
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.quote-layout,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 8vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-text,
.section-heading p,
.quote-intro p,
.split-section > div > p,
.contact-note {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.form-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-media,
.image-card,
.quote-intro img {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--blue-soft);
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(28, 50, 68, 0.08);
}

.service-card {
  padding: 24px;
}

.service-card p,
.testimonial p,
.fine-print {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 14px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 900;
}

.quote-section,
.testimonials-section {
  background: linear-gradient(180deg, var(--panel), #ffffff);
}

.quote-layout {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: start;
}

.quote-intro {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.quote-intro img {
  margin-top: 28px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quote-form {
  padding: 26px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.frequency-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.frequency-rates span {
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9e4eb;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(44, 125, 168, 0.14);
}

.quote-form > label {
  margin-top: 18px;
}

.estimate-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  border-radius: 16px;
  padding: 18px;
  background: var(--blue-soft);
}

.estimate-box span {
  color: var(--blue-dark);
  font-weight: 850;
}

.estimate-box strong {
  font-size: 1.8rem;
  line-height: 1;
}

.fine-print {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 750;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
}

.check-list li::after {
  position: absolute;
  left: 7px;
  top: 5px;
  content: "";
  width: 7px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.image-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.testimonial {
  padding: 24px;
}

.testimonial p {
  min-height: 78px;
  font-size: 1.02rem;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--panel);
}

.contact-card h2 {
  margin-bottom: 12px;
}

.contact-card p {
  margin-bottom: 8px;
}

.site-footer {
  padding: 34px 0 96px;
  color: var(--muted);
  background: #f6fafc;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mobile-quote-button {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(28, 95, 134, 0.3);
  font-weight: 900;
}

@media (max-width: 900px) {
  .nav {
    min-height: 66px;
  }

  .logo span {
    max-width: 152px;
    line-height: 1.15;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .quote-layout,
  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-media img {
    aspect-ratio: 16 / 11;
  }

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

  .quote-intro {
    position: static;
  }

  .contact-card,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-quote-button {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header .button-small {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.84rem;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.16rem;
  }

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

  .quote-form,
  .contact-card {
    padding: 20px;
  }

  .hero-actions,
  .form-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .trust-badges span {
    width: 100%;
  }

  .estimate-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial p {
    min-height: auto;
  }
}
