:root {
  --ink: #f7fbff;
  --dark: #071426;
  --navy: #092d55;
  --blue: #0b84f3;
  --blue-2: #005cb8;
  --muted: #c5d5e7;
  --paper: #ffffff;
  --paper-2: #f0f6fc;
  --text: #172538;
  --line: rgba(7, 20, 38, 0.12);
  --shadow: 0 18px 40px rgba(0, 18, 38, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #edf4fa;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(7, 20, 38, 0.08);
}

.brand img {
  width: 210px;
  height: 82px;
  object-fit: contain;
}

.main-nav {
  display: none;
  gap: 20px;
  color: var(--blue-2);
  font-weight: 800;
}

.main-nav a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.hero {
  min-height: calc(100svh - 86px);
  display: grid;
  align-items: end;
  background: linear-gradient(155deg, #ffffff 0%, #eef7ff 58%, #dbeefa 100%);
  color: var(--text);
}

.hero-media {
  min-height: 42svh;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 42svh;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  padding: 24px clamp(18px, 5vw, 64px) 34px;
}

.hero-logo {
  width: min(100%, 420px);
  margin: 0 auto 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 8vw, 4.7rem);
  line-height: 0.98;
  color: var(--navy);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.65rem, 5vw, 3rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

p {
  line-height: 1.55;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.reviews-section p,
.contact-card p {
  max-width: 680px;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.primary-btn {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 10px 22px rgba(11, 132, 243, 0.3);
}

.secondary-btn {
  border: 1px solid rgba(7, 20, 38, 0.16);
  background: #fff;
  color: var(--navy);
}

.hero .secondary-btn {
  border-color: rgba(7, 20, 38, 0.18);
  background: #fff;
  color: var(--navy);
}

.trust-strip {
  display: grid;
  gap: 1px;
  background: #d5e3f0;
}

.trust-strip div {
  padding: 18px;
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.trust-strip span {
  margin-top: 4px;
  color: #5f7186;
}

.calculator-section,
.services-section,
.work-section,
.reviews-section,
.contact-section,
.page-hero,
.about-section {
  padding: 54px clamp(18px, 5vw, 64px);
}

.section-heading {
  margin-bottom: 24px;
}

.calculator-layout {
  display: grid;
  gap: 16px;
}

.calculator-card,
.estimate-card,
.calculator-link-card,
.service-grid article,
.contact-card {
  border: 1px solid #d9e6f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.calculator-card,
.estimate-card {
  padding: 18px;
}

.calculator-link-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(11, 132, 243, 0.1), rgba(255, 255, 255, 0) 44%),
    #fff;
}

.calculator-card {
  display: grid;
  gap: 14px;
}

label,
legend {
  color: var(--navy);
  font-weight: 900;
}

select,
input {
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid #c7d8e8;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--text);
  font: inherit;
}

fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid #d8e5f0;
  border-radius: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.check-row input {
  width: 20px;
  min-height: 20px;
  margin: 0;
}

.estimate-card {
  background: linear-gradient(145deg, #071426, #0a315c);
  color: #fff;
}

.estimate-value {
  margin: 10px 0;
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 900;
}

.fine-print {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-grid,
.work-grid {
  display: grid;
  gap: 14px;
}

.service-grid article {
  padding: 18px;
}

.work-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.reviews-section {
  display: grid;
  gap: 22px;
  background: #071426;
  color: #fff;
}

.reviews-section img {
  width: min(100%, 560px);
  border-radius: 10px;
}

.page-hero {
  background: linear-gradient(155deg, #ffffff 0%, #eef7ff 58%, #dbeefa 100%);
}

.page-hero > div {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-logo {
  width: min(100%, 460px);
  margin: 0 auto 22px;
}

.page-hero p {
  margin-left: auto;
  margin-right: auto;
}

.about-section {
  display: grid;
  gap: 22px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.about-content,
.why-card {
  border: 1px solid #d9e6f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-content {
  padding: 24px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.why-card {
  padding: 24px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.45;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-2);
  font-weight: 900;
}

.tagline {
  display: block;
  color: var(--navy);
  font-size: 1.15rem;
}

.contact-card {
  overflow: hidden;
}

.contact-card > img {
  width: 100%;
  object-fit: cover;
}

.contact-card > div {
  padding: 22px;
}

.site-footer {
  display: grid;
  gap: 6px;
  padding: 24px clamp(18px, 5vw, 64px);
  background: #04101f;
  color: var(--muted);
  font-weight: 800;
}

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

  .brand img {
    width: 260px;
    height: 96px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .hero-media {
    order: 2;
  }

  .hero-copy {
    display: grid;
    align-content: start;
    padding-top: clamp(42px, 7vh, 82px);
  }

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

  .calculator-layout,
  .calculator-link-card,
  .reviews-section,
  .about-section {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    align-items: center;
  }

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

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

  .contact-card > img {
    height: 100%;
  }
}
