:root {
  --navy: #071a2f;
  --blue: #0d6efd;
  --cyan: #20b8ff;
  --ice: #eaf8ff;
  --text: #142033;
  --muted: #5c6b7b;
  --white: #fff;
  --line: #dce6ef;
  --shadow: 0 18px 50px rgba(7, 26, 47, .12);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

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

a {
  color: inherit
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: none;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 55%,
    85% 55%,
    70% 62%,
    55% 74%,
    40% 88%,
    25% 97%,
    0 100%
  );
  z-index: -1;
}

.nav-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px
}

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

.brand-mark {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  padding: 7px 10px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(13, 110, 253, .2)
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase
}

.brand-copy strong {
  font-size: 15px
}

.brand-copy small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 26px
}

.hero {
  background:
    linear-gradient(90deg, rgba(3, 31, 57, 0.92) 0%, rgba(3, 31, 57, 0.72) 38%, rgba(3, 31, 57, 0.10) 68%, rgba(3, 31, 57, 0.02) 100%),
    url("hero-house.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 125px 0;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--blue);
  font-size: 13px
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  margin: .2em 0 .35em;
  color: var(--navy);
  max-width: 760px
}

.hero-copy {
  font-size: 19px;
  color: var(--muted);
  max-width: 680px
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 22px
}

.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 13px 20px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), #0757c7);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 110, 253, .22)
}

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

.trust-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px
}

.trust-row span::before {
  content: "✓";
  color: var(--blue);
  font-weight: 900;
  margin-right: 6px
}

.hero-card {
  min-height: 390px;
  border-radius: 28px;
  background: linear-gradient(160deg, #06213f, #0a5d9f 58%, #17b8f4);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px
}

.water-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 28px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
  right: -180px;
  bottom: -190px
}

.hero-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .2), transparent 22%)
}

.hero-card-content {
  position: relative;
  text-align: center;
  color: #fff
}

.hero-card-content .mini {
  display: block;
  font-size: 82px;
  font-weight: 900;
  letter-spacing: -7px;
  line-height: 1
}

.hero-card-content strong {
  font-size: 27px
}

.hero-card-content p {
  opacity: .9
}

.hero-card-content a {
  font-size: 28px;
  font-weight: 900;
  text-decoration: none
}

.section {
  padding: 82px 0
}

.section h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: var(--navy);
  margin: .25em 0 .8em
}

.alt {
  background: #f7fbfe
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.card,
.feature-box,
.quote-card,
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(7, 26, 47, .06)
}

.card h3,
.feature-box h3 {
  margin-top: 0;
  color: var(--navy)
}

.card p,
.wide-copy {
  color: var(--muted)
}

.feature-box ul {
  padding-left: 20px
}

.feature-box li {
  margin: 10px 0
}

.quote-section {
  background: linear-gradient(135deg, #071a2f, #0d3c65);
  color: #fff
}

.quote-section h2,
.quote-section .eyebrow {
  color: #fff
}

.phone-big {
  display: inline-block;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  margin: 14px 0
}

.small-note {
  opacity: .8
}

.quote-card {
  color: var(--text)
}

.quote-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 14px
}

.quote-card input,
.quote-card textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cbd7e2;
  border-radius: 9px;
  margin-top: 6px;
  font: inherit
}

.form-note {
  font-size: 12px;
  color: var(--muted)
}

footer {
  background: #04111f;
  color: #dbe8f4;
  padding: 34px 0
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap
}

.footer-grid a {
  color: #fff
}

.copyright {
  margin-top: 20px;
  font-size: 13px;
  opacity: .75
}

.privacy-page {
  background: #f6f9fc;
  min-height: 70vh
}

.legal-card {
  max-width: 900px
}

.legal-card h1 {
  font-size: 46px;
  color: var(--navy);
  margin-bottom: 10px
}

.legal-card h2 {
  font-size: 24px;
  margin-top: 32px
}

.legal-card p {
  color: #445365
}

.legal-card a {
  color: var(--blue)
}

@media (max-width:860px) {

  .hero-grid,
  .split {
    grid-template-columns: 1fr
  }

  .cards {
    grid-template-columns: 1fr 1fr
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start
  }

  .nav-links.open {
    display: flex
  }

  .menu-toggle {
    display: block
  }

  .hero {
    padding: 58px 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

  .hero-card {
    min-height: 300px
  }
}

@media (max-width:560px) {
  .cards {
    grid-template-columns: 1fr
  }

  .brand-copy {
    display: none
  }

  .hero-card-content .mini {
    font-size: 66px
  }

  .hero-card-content strong {
    font-size: 22px
  }

  .hero-card-content a {
    font-size: 24px
  }

  .section {
    padding: 60px 0
  }
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.header-logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 24px;
  letter-spacing: 0.5px;
}

.brand-copy small {
  font-size: 17px;
  letter-spacing: 1px;
  margin-top: 5px;
}
.hero h1 {
  color: #ffffff;
}

.hero h1 .blue-text {
  color: #0875e1;
}

.hero .hero-copy {
  color: #ffffff;
}

.hero .eyebrow {
  color: #ffffff;
}
.hero .container {
  max-width: 1240px;
}
.hero .hero-grid {
  transform: translateX(0px);
}
.brand img,
.brand-logo {
  width: 100px;
  height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 10;
  margin-bottom: -10px;
}
.site-header .brand {
  transform: translateX(0px);
}
.site-header .brand-copy {
  margin-left: 0;
width: auto;
}

.site-header .brand-copy strong {
  display: block;
  font-size: 25px;
  line-height: 1.05;
  white-space: normal;
}

.site-header .brand-copy small {
  display: block;
  font-size: 17px;
  line-height: 1.15;
  white-space: nowrap;
}
.site-header .brand-copy strong,
.site-header .brand-copy small {
  color: #071E78;
}

.brand-tagline {
  display: block;
  font-size: 11px !important;
  font-weight: 700;
  color: #071E78;
  white-space: nowrap;
  margin-top: 15px;
}

.nav-links {
  gap: 28px;
  white-space: nowrap;
}

.nav-links a {
  white-space: nowrap;
}

.hero .hero-copy {
  color: #ffffff !important;
}
.trust-row span {
  color: #ffffff !important;
  font-weight: 600;
}

/* Clickable service boxes below hero */
.service-shortcuts {
  max-width: 1120px;
  margin: -34px auto 35px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.service-shortcuts a {
  background: white;
  color: #063b73;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
  min-height: 82px;
  padding: 18px 8px;
  border-radius: 7px;
  border: 1px solid #d9e2ec;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-shortcuts a:hover {
  transform: translateY(-4px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.20);
}
.hero {
  position: relative;
  margin-top: -70px;
  padding-top: 156px;
  overflow: hidden;
}

.hero {
  position: relative;
  margin-top: -70px;
  padding-top: 156px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: white;
  z-index: 2;
  pointer-events: none;

  clip-path: polygon(
    0 0,
    100% 0,
    100% 0,
    90% 3%,
    80% 10%,
    70% 20%,
    60% 35%,
    50% 52%,
    40% 70%,
    30% 85%,
    20% 95%,
    10% 99%,
    0 100%
  );
}

.hero .container {
  position: relative;
  z-index: 3;
}
.hero {
  margin-top: -70px;
  padding-top: 156px;
}
.service-shortcuts {
  position: relative;
  margin-top: -180px;
  left: 225px;
  z-index: 5;
}
.service-shortcuts a {
  border: 2px solid #0b71c9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.96);
}
#quote {
  scroll-margin-top: 120px;
}
/* Quote form improvements */
.quote-card {
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.quote-card h3 {
  font-size: 24px;
  margin: 0 0 6px;
  color: #071e3d;
}

.quote-intro {
  margin: 0 0 22px;
  color: #5f6b78;
}

.quote-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 16px;
}

.quote-card input,
.quote-card textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #f7f9fb;
  font: inherit;
}

.quote-card input:focus,
.quote-card textarea:focus {
  outline: 2px solid #16a9e0;
  border-color: #16a9e0;
}

.quote-card .btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
}
.quote-trust {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.quote-trust span {
  color: white;
  font-size: 14px;
  font-weight: 700;
}
.quote-section .phone-big {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
}

.quote-section .phone-big:hover {
  background: white;
  color: #0871b8;
  transform: translateY(-2px);
}
.phone-big .call-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}
.quote-error {
  display: none;
  align-items: center;
  gap: 14px;
  margin: 16px 0 18px;
  padding: 14px 16px;
  background: #fff0f0;
  border: 1.5px solid #e52323;
  border-radius: 10px;
  color: #d71919;
  font-weight: 700;
  line-height: 1.3;
}

.quote-error.show {
  display: flex;
}

.quote-error-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e52323;
  color: white;
  font-size: 24px;
  font-weight: 900;
}
.required-star {
  color: #d71919;
  font-weight: 800;
}
.quote-section .container.split {
  grid-template-columns: 1fr 1.08fr;
  gap: 42px;
  align-items: center;
}

.quote-card {
  max-width: 520px;
  width: 100%;
  margin-left: auto;
}

.quote-section {
  padding-top: 70px;
  padding-bottom: 70px;
}
/* SERVICE CARDS */

#services {
  padding: 75px 0;
  background: #f5f8fb;
}

#services .eyebrow {
  text-align: center;
}

#services h2 {
  text-align: center;
  margin-bottom: 40px;
}

#services .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#services .card {
  background: white;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e1e7ed;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.13);
}

#services .card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #063b66;
  font-size: 21px;
}

#services .card p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 850px) {
  #services .cards {
    grid-template-columns: 1fr;
  }
}
/* SERVICE CARD ENHANCEMENT */

#services .card {
  border-top: 5px solid #078ee5;
  border-radius: 12px;
  padding: 28px;
  min-height: 145px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 45, 80, 0.14);
}

#services .card h3 {
  color: #064d7d;
  font-weight: 700;
  font-size: 21px;
}

#services {
  padding-top: 65px;
  padding-bottom: 55px;
}
/* Keep sections from being hidden behind the header */
#services {
  scroll-margin-top: 170px;
  padding-top: 120px;
}
/* Enhanced service cards */
#services .card {
  background: white;
  border-radius: 12px;
  border-top: 5px solid #129ee7;
  padding: 28px 24px;
  box-shadow: 0 8px 22px rgba(0, 45, 80, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 45, 80, 0.18);
}

#services .card h3 {
  color: #074f85;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

#services .card p {
  line-height: 1.6;
}
/* Clean background behind Services section */
#services {
  position: relative;
  background: #f4faff;
  z-index: 5;
  margin-top: 0;
}

/* Cover the hero image strip above Services */
#services::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -120px;
  height: 120px;
  background: #f4faff;
  z-index: -1;
}
.hero {
    background-size: cover;
    background-position: center 58%;
    background-repeat: no-repeat;
    padding: 150px 0;
    min-height: unset;
}
.service-icon {
  font-size: 34px;
  margin-bottom: 14px;
  color: #129ee7;
  line-height: 1;
}
.card {
  padding-top: 14px;
}

.service-icon {
  margin-top: -6px;
  margin-bottom: 10px;
}
#about {
  scroll-margin-top: 150px;
}

#quote {
  scroll-margin-top: 150px;
}
#service-area {
  scroll-margin-top: 150px;
  min-height: calc(100vh - 150px);
  box-sizing: border-box;
}
#services {
  scroll-margin-top: 150px;
  min-height: calc(100vh - 150px);
  box-sizing: border-box;
}

#about {
  scroll-margin-top: 150px;
  min-height: calc(100vh - 150px);
  box-sizing: border-box;
}
/* Mobile layout fixes */
@media (max-width: 768px) {
  html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}
  #services,
  #about,
  #service-area {
    min-height: auto;
    scroll-margin-top: 120px;
    width: 100%;
  }
    .site-header .brand {
    transform: translateX(-20px) !important;
}

.site-header .brand-logo {
    transform: translateX(-20px) !important;
}
  

  

  #services .cards {
    width: 100%;
    grid-template-columns: 1fr;
  }

  #services .card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
    .service-shortcuts {
    display: none;
  }
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.hero-content {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.hero-grid,
.split {
    display: block;
    width: 100%;
}
.hero h1,
.hero h1 span {
    color: white !important;
}
}