:root {
  --navy: #102a43;
  --navy-2: #163b5c;
  --blue: #1f6feb;
  --blue-dark: #1558b0;
  --sky: #eaf3ff;
  --ink: #15202b;
  --muted: #5f6f7f;
  --line: #dce4ec;
  --white: #ffffff;
  --offwhite: #f7f9fc;
  --accent: #f4a340;
  --shadow: 0 20px 60px rgba(16, 42, 67, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,228,236,.8);
}
.nav-wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, var(--blue), var(--navy));
  font-family: "Manrope"; font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(31,111,235,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: "Manrope"; font-size: 1.1rem; letter-spacing: .05em; }
.brand-text small { margin-top: 5px; color: var(--muted); font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; color: #314355; }
.site-nav a:hover { color: var(--blue); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

.btn {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  background: var(--blue); color: white; font-weight: 700;
  border: 1px solid var(--blue); cursor: pointer;
  box-shadow: 0 12px 30px rgba(31,111,235,.22);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 16px 35px rgba(31,111,235,.28); }
.btn-small { min-height: 42px; padding: 0 18px; border-radius: 10px; }
.btn-secondary { color: var(--navy); background: transparent; border-color: #b8c6d6; box-shadow: none; }
.btn-secondary:hover { background: var(--offwhite); color: var(--navy); }
.btn-light { color: var(--navy); background: white; border-color: white; }
.btn-light:hover { background: #edf4fb; color: var(--navy); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(31,111,235,.13), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7fd 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: linear-gradient(rgba(16,42,67,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(16,42,67,.045) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-grid {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
  padding-block: 90px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow.light { color: #a9d2ff; }
.hero h1, .section h2, .cta h2 {
  font-family: "Manrope", sans-serif;
  margin: 0;
  color: var(--navy);
  line-height: 1.07;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(2.8rem, 5vw, 5.1rem); max-width: 800px; }
.hero-lead { margin: 24px 0 30px; max-width: 650px; color: var(--muted); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: #536273; font-size: .92rem; font-weight: 600; }
.trust-row span::before { content: "•"; color: var(--accent); margin-right: 8px; }

.hero-visual { position: relative; min-height: 480px; }
.house {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(440px, 95%); height: 340px;
  filter: drop-shadow(0 30px 35px rgba(16,42,67,.2));
}
.roof {
  position: absolute; left: 20px; top: 25px; width: 400px; height: 170px;
  background: var(--navy);
  clip-path: polygon(50% 0, 100% 80%, 90% 80%, 90% 100%, 10% 100%, 10% 80%, 0 80%);
}
.wall {
  position: absolute; left: 65px; top: 160px; width: 310px; height: 220px;
  border-radius: 5px;
  background: linear-gradient(#ffffff, #f4f8fb);
  border: 8px solid #dce6ef;
  overflow: hidden;
}
.siding-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 18px, rgba(16,42,67,.09) 18px 20px);
}
.window {
  position: absolute; top: 46px; width: 72px; height: 72px;
  border: 8px solid white; background: linear-gradient(135deg, #b8defc, #e9f6ff);
  box-shadow: 0 0 0 2px #91a6b8;
}
.window::after, .window::before { content: ""; position: absolute; background: rgba(16,42,67,.25); }
.window::after { width: 2px; top: 0; bottom: 0; left: 50%; }
.window::before { height: 2px; left: 0; right: 0; top: 50%; }
.window.one { left: 34px; }
.window.two { right: 34px; }
.door {
  position: absolute; width: 76px; height: 124px; left: 50%; bottom: 0;
  transform: translateX(-50%); background: var(--blue-dark);
  border: 7px solid white; box-shadow: 0 0 0 2px #8ea1b2;
}
.door::after { content: ""; position: absolute; right: 10px; top: 58px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.quote-card {
  position: absolute; right: 0; bottom: 8px;
  display: flex; flex-direction: column;
  width: 230px; padding: 20px;
  border-radius: 16px; color: white; background: rgba(16,42,67,.96);
  box-shadow: var(--shadow);
}
.quote-card strong { font-size: 1.04rem; }
.quote-card span { color: #b9cce0; font-size: .88rem; margin: 3px 0 10px; }
.quote-card a { color: #ffd29a; font-size: 1.14rem; font-weight: 800; }

.strip { background: var(--navy); color: white; }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-grid div { padding: 25px 30px; border-right: 1px solid rgba(255,255,255,.12); }
.strip-grid div:last-child { border-right: 0; }
.strip-grid strong, .strip-grid span { display: block; }
.strip-grid strong { font-family: "Manrope"; font-size: 1.03rem; }
.strip-grid span { color: #aebed0; font-size: .85rem; margin-top: 4px; }

.section { padding: 110px 0; }
.section-heading {
  display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: end;
  margin-bottom: 46px;
}
.section h2, .cta h2 { font-size: clamp(2.25rem, 4vw, 3.9rem); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.06rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  min-height: 240px; padding: 30px; border: 1px solid var(--line); border-radius: 18px;
  background: white; transition: transform .22s, border-color .22s, box-shadow .22s;
}
.service-card:hover { transform: translateY(-5px); border-color: #9bbde9; box-shadow: var(--shadow); }
.service-card .icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 12px; color: var(--blue); background: var(--sky);
  font-weight: 800; font-family: "Manrope";
}
.service-card h3 { font-family: "Manrope"; color: var(--navy); font-size: 1.25rem; margin: 22px 0 10px; }
.service-card p { margin: 0; color: var(--muted); }

.about-section { background: var(--offwhite); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-panel {
  padding: 55px; border-radius: 24px;
  color: white; background: linear-gradient(145deg, var(--navy), #1d527d);
  box-shadow: var(--shadow);
}
.about-panel h2 { color: white; font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.about-panel p:not(.eyebrow) { color: #cfdeeb; font-size: 1.05rem; }
.text-link { display: inline-block; margin-top: 12px; color: #ffd39e; font-weight: 800; }
.check-list { display: grid; gap: 8px; }
.check-list > div {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding: 25px 0; border-bottom: 1px solid var(--line);
}
.check-list > div:last-child { border-bottom: 0; }
.check-list span {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: var(--blue); background: var(--sky); font-weight: 900;
}
.check-list h3 { margin: 0 0 5px; font-family: "Manrope"; color: var(--navy); }
.check-list p { margin: 0; color: var(--muted); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { position: relative; padding: 28px; border-top: 3px solid var(--blue); background: var(--offwhite); border-radius: 0 0 16px 16px; }
.process-step span { color: var(--blue); font-family: "Manrope"; font-weight: 800; font-size: 2.2rem; opacity: .35; }
.process-step h3 { color: var(--navy); font-family: "Manrope"; margin: 4px 0 8px; }
.process-step p { margin: 0; color: var(--muted); font-size: .94rem; }

.cta { background: linear-gradient(110deg, var(--navy), #1c4f79); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: white; }
.cta .eyebrow { margin-bottom: 10px; }

.contact-section { background: white; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.contact-copy { color: var(--muted); max-width: 460px; font-size: 1.05rem; }
.contact-details { margin-top: 35px; display: grid; gap: 12px; }
.contact-details > * {
  display: flex; flex-direction: column; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--offwhite);
}
.contact-details span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.contact-details strong { margin-top: 4px; color: var(--navy); font-size: 1.05rem; }

.quote-form {
  padding: 36px; border-radius: 22px; background: var(--offwhite);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; margin-bottom: 16px; font-weight: 700; color: var(--navy); font-size: .9rem; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%; margin-top: 7px; padding: 14px 15px;
  border: 1px solid #cfd9e4; border-radius: 10px; background: white; color: var(--ink);
  outline: none;
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.12); }
.quote-form textarea { resize: vertical; }
.quote-form .btn { width: 100%; }
.form-note { color: var(--muted); font-size: .78rem; margin: 12px 0 0; text-align: center; }

footer { background: #0c2033; color: #b7c6d5; padding: 34px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-brand .brand-text strong { color: white; }
.footer-brand .brand-text small { color: #9eafc0; }
.footer-grid p { margin: 0; text-align: center; font-size: .86rem; }
.footer-links { justify-self: end; display: flex; gap: 18px; font-weight: 700; color: white; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 75px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 440px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 80px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 15px 20px 22px; background: white; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(16,42,67,.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; }
  .site-nav .btn { margin-top: 10px; padding: 0 18px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-grid { gap: 30px; padding-top: 60px; }
  .hero-visual { min-height: 360px; }
  .house { transform: translate(-50%, -50%) scale(.8); }
  .quote-card { right: 8px; bottom: 10px; width: 205px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 18px 10px; }
  .section { padding: 78px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .about-panel { padding: 34px 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 25px 18px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  .footer-links { justify-self: center; }
}
