:root {
  --navy: #073a73;
  --navy-deep: #052e5c;
  --navy-dark: #06264a;
  --aqua: #138ba2;
  --aqua-bright: #0ea6ad;
  --sky: #e9f5fb;
  --sand: #f7f4ee;
  --ink: #10243b;
  --muted: #536477;
  --line: #d8e0e7;
  --white: #fff;
  --shadow: 0 18px 45px rgba(17, 55, 92, .12);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; background: #fff; padding: 10px 14px; z-index: 999; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(7,58,115,.10);
}
#services, #about, #service-area, #quote { scroll-margin-top: 100px; }
.header-inner { min-height: 88px; display: grid; grid-template-columns: 255px 1fr auto; align-items: center; gap: 26px; }
.brand img { width: 245px; max-height: 68px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; justify-content: center; gap: 30px; font-weight: 700; font-size: .94rem; color: var(--navy-dark); }
.site-nav a { padding: 32px 0 28px; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--aqua); border-bottom-color: var(--aqua); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.icon-circle { font-size: 1.05rem; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; width: 30px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 3px; transition: .2s; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 7px; border: 2px solid transparent; font-size: .88rem; font-weight: 850; letter-spacing: .02em;
  text-transform: uppercase; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(4,45,88,.16); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-outline { background: rgba(255,255,255,.9); color: var(--navy); border-color: var(--navy); }
.btn-accent { background: var(--aqua-bright); color: var(--white); }
.btn-small { min-height: 44px; padding-inline: 18px; font-size: .78rem; }
.btn-full { width: 100%; }

.hero { background: linear-gradient(100deg, #eef8fd 0%, #eef8fd 39%, #fff 59%); overflow: hidden; }
.hero-grid { min-height: 460px; display: grid; grid-template-columns: 43% 57%; position: relative; }
.hero-copy { padding: 72px 30px 64px 0; align-self: center; position: relative; z-index: 3; }
.eyebrow { margin: 0 0 12px; color: var(--aqua); font-size: .78rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow.light { color: #8de2e6; }
.pin-dot { display: inline-block; width: 9px; height: 9px; background: var(--aqua); border-radius: 50%; margin-right: 7px; }
.hero h1 { font-size: clamp(3.2rem, 5.4vw, 5.6rem); line-height: .94; letter-spacing: -.055em; margin: 0 0 24px; color: var(--navy-dark); }
.hero h1 span { color: var(--aqua); }
.hero-copy > p { max-width: 580px; margin: 0 0 28px; font-size: 1.16rem; color: #31475d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo-wrap { position: relative; margin-right: -40px; min-width: 0; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #eef8fd 0%, rgba(238,248,253,.77) 7%, transparent 25%); }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 24px 22px; position: relative; }
.trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.trust-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--aqua); border-radius: 50%; color: var(--aqua); font-weight: 900; font-size: 1.35rem; }
.trust-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { color: var(--navy); font-size: .96rem; margin-bottom: 3px; }
.trust-item span { color: var(--muted); font-size: .8rem; }

.section { padding: 74px 0; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
h2 { color: var(--navy-dark); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.035em; line-height: 1.08; margin: 0 0 14px; }
.section-heading > p:last-child { color: var(--muted); margin: 0; font-size: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-card { border: 1px solid var(--line); border-radius: 10px; padding: 26px 18px 24px; text-align: center; background: #fff; box-shadow: 0 8px 24px rgba(12,51,85,.06); transition: transform .16s ease, box-shadow .16s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { width: 56px; height: 56px; margin: 0 auto 15px; color: var(--navy); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { color: var(--navy); font-size: 1rem; line-height: 1.2; margin: 0 0 10px; }
.service-card p { color: var(--muted); font-size: .84rem; margin: 0; }

.homes-section { background: linear-gradient(180deg, #f8fbfd, #fff); border-top: 1px solid #edf1f4; }
.homes-grid { display: grid; grid-template-columns: 1.18fr 1fr .63fr; min-height: 340px; align-items: stretch; }
.homes-photo-wrap { overflow: hidden; min-height: 340px; border-radius: 0; }
.homes-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.homes-copy { padding: 46px 44px; align-self: center; }
.homes-copy h2 { font-size: clamp(1.9rem, 2.5vw, 2.8rem); }
.homes-copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }
.home-types { display: flex; flex-wrap: wrap; gap: 8px; }
.home-types span { background: #e8f6f8; color: var(--navy); padding: 8px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.area-card { align-self: center; margin: 30px 0; border: 1px solid #cbd9e4; border-radius: 10px; padding: 28px 26px; background: white; box-shadow: 0 12px 30px rgba(9,52,88,.07); }
.area-icon { color: var(--aqua); font-size: 2rem; }
.area-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { color: var(--navy); margin: 7px 0 14px; }
.area-card ul { list-style: none; padding: 0; margin: 0 0 16px; color: #344a61; }
.area-card li { padding: 3px 0; }
.text-link { color: var(--navy); font-weight: 800; font-size: .84rem; }

.split-contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  overflow: hidden;
  background: linear-gradient(90deg,
    #063462 0%,
    #074a73 24%,
    #0b6f8a 38%,
    #1792a1 46%,
    #5dc1c7 52%,
    #b8e4e6 59%,
    #e6f6f7 68%,
    #f7fbfc 79%,
    #ffffff 100%);
}
.split-contact::before {
  content: "";
  position: absolute;
  top: -16%;
  bottom: -16%;
  left: 50%;
  width: 360px;
  transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(6,57,91,0) 0%,
    rgba(18,115,144,.18) 20%,
    rgba(43,160,173,.42) 38%,
    rgba(116,205,210,.52) 50%,
    rgba(212,240,242,.62) 64%,
    rgba(255,255,255,.16) 84%,
    rgba(255,255,255,0) 100%);
  filter: blur(38px);
  opacity: 1;
}
.split-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.18), transparent 23%),
    linear-gradient(90deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,.08) 48%, rgba(255,255,255,.13) 60%, rgba(255,255,255,.03) 100%);
}
.quote-half, .testimonial-half { min-width: 0; position: relative; z-index: 1; background: transparent; }
.quote-half { color: #fff; }
.testimonial-half { }
.split-inner { width: auto; height: 100%; padding: 58px 0 52px; }
.quote-inner { margin-left: max(35px, calc((100vw - 1180px) / 2)); margin-right: clamp(22px, 2.8vw, 48px); }
.testimonial-inner { margin-right: max(35px, calc((100vw - 1180px) / 2)); margin-left: clamp(22px, 2.8vw, 48px); text-align: center; }
.quote-half h2 { color: #fff; }
.quote-half .quote-inner > p:not(.eyebrow) { color: #def1f5; }
.quote-form {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.115), rgba(255,255,255,.075));
  box-shadow: 0 18px 42px rgba(1,29,57,.20), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(5px);
}
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.quote-form label { display: block; min-width: 0; margin-bottom: 12px; }
.quote-form label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.quote-form input, .quote-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(8,60,105,.16);
  border-radius: 7px;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  box-shadow: 0 3px 10px rgba(3,30,60,.07);
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #718090; }
.quote-form input:focus, .quote-form textarea:focus { border-color: #74dde3; box-shadow: 0 0 0 3px rgba(116,221,227,.22); }
.quote-form textarea { resize: vertical; min-height: 132px; }
.quote-form .btn { margin-top: 3px; min-height: 50px; box-shadow: 0 8px 22px rgba(3,40,78,.18); }
.form-note { font-size: .72rem; color: #d1e9f0 !important; margin: 12px 2px 0; }
.form-consent { font-size: .70rem; line-height: 1.5; color: #d9edf2 !important; margin: 8px 2px 0; }
.form-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.testimonial-inner h2 { margin-bottom: 26px; }
.testimonial-shell { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 14px; align-items: center; }
.testimonial-viewport {
  min-width: 0;
  overflow: hidden;
  padding: 6px 3px 14px;
  touch-action: pan-y;
  cursor: grab;
}
.testimonial-viewport:active { cursor: grabbing; }
.testimonial-track {
  display: flex;
  align-items: stretch;
  will-change: transform;
  transform: translateX(-100%);
  transition: transform 560ms cubic-bezier(.22,.75,.25,1);
}
.testimonial-slide { flex: 0 0 100%; min-width: 0; padding: 0 5px; }
.testimonial-card {
  height: 100%;
  text-align: left;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(12,74,108,.14);
  border-radius: 12px;
  padding: 32px 34px 27px;
  box-shadow: var(--shadow);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .56s cubic-bezier(.22,.75,.25,1), opacity .56s ease;
}
.quote-mark { color: var(--aqua); font-family: Georgia, serif; font-size: 4rem; line-height: .55; margin-bottom: 14px; }
.stars { color: #d8a33d; letter-spacing: 3px; margin-bottom: 12px; }
.testimonial-card blockquote { margin: 0 0 18px; font-size: 1.05rem; color: #263b51; }
.testimonial-name { margin: 0; font-weight: 800; color: var(--navy); }
.testimonial-arrow { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--navy); background: rgba(255,255,255,.65); color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.testimonial-arrow:hover { transform: scale(1.06); background: #fff; }
.dots { display: flex; justify-content: center; gap: 9px; margin-top: 18px; }
.dots[hidden], .testimonial-arrow[hidden] { display: none; }
.testimonial-shell.single { grid-template-columns: minmax(0, 1fr); }
.testimonial-shell.single .testimonial-track { transform: none; }
.testimonial-shell.single .testimonial-viewport { cursor: default; }
.testimonial-shell.single .testimonial-card { min-height: 0; padding-top: 26px; padding-bottom: 24px; }
.dots button { width: 10px; height: 10px; border: 0; padding: 0; border-radius: 50%; background: #cbd5df; cursor: pointer; transition: width .2s ease, border-radius .2s ease, background .2s ease; }
.dots button.active { width: 25px; border-radius: 999px; background: var(--aqua); }
.testimonial-note { color: #7d8994; font-size: .75rem; max-width: 470px; margin: 14px auto 0; }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 80px; padding: 38px 0 32px; }
.footer-brand img { width: 290px; max-height: 78px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 360px; color: var(--muted); font-size: .86rem; }
.site-footer h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin: 5px 0 12px; }
.site-footer a, .site-footer span { display: block; color: var(--muted); font-size: .86rem; margin: 6px 0; }
.site-footer a:hover { color: var(--aqua); }
.footer-bottom { background: var(--navy-dark); color: #dce8f2; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 44px; }
.footer-bottom span { margin: 0; color: inherit; font-size: .75rem; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 220px 1fr auto; gap: 18px; }
  .brand img { width: 210px; }
  .site-nav { gap: 18px; }
  .phone-link span:last-child { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .homes-grid { grid-template-columns: 1fr 1fr; }
  .area-card { grid-column: 1 / -1; margin: 0; border-radius: 0; display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: center; gap: 18px; }
  .area-card h3, .area-card ul, .area-card .text-link { margin: 0; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, 740px); }
  .site-header { position: relative; }
  .header-inner { min-height: 82px; grid-template-columns: 1fr auto; }
  .brand img { width: 230px; max-height: 64px; }
  .header-actions { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 82px; background: #fff;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 20px 18px;
    flex-direction: column; gap: 0; box-shadow: 0 15px 30px rgba(13,44,73,.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; border: 0; }
  .hero { background: #edf8fd; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; width: 100%; }
  .hero-copy { padding: 42px 28px 24px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-copy > p { font-size: 1.03rem; }
  .hero-photo-wrap { margin: 0; height: 310px; }
  .hero-wash { background: linear-gradient(180deg, #edf8fd 0%, transparent 24%); }
  .hero-actions .btn { flex: 1 1 220px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3)::before { display: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .homes-grid { grid-template-columns: 1fr; }
  .homes-photo-wrap { min-height: 280px; }
  .homes-copy { padding: 36px 20px; }
  .area-card { grid-column: auto; grid-template-columns: auto 1fr; margin: 0 0 28px; border-radius: 10px; }
  .area-card ul, .area-card .text-link { grid-column: 2; }
  .split-contact {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, #f7fbfc 0%, #eef9fa 34%, #bce6e8 47%, #3da9b3 58%, #0d738d 72%, #074f78 84%, #063462 100%);
  }
  .split-contact::before {
    top: 42%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 180px;
    transform: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(171,227,230,.28) 28%, rgba(48,161,173,.36) 50%, rgba(12,98,129,.18) 72%, rgba(255,255,255,0) 100%);
    filter: blur(26px);
  }
  .quote-half { order: 2; background: transparent; }
  .testimonial-half { order: 1; background: transparent; }
  .split-inner { width: calc(100% - 40px); margin-inline: auto; padding: 44px 0; }
  .quote-form { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 520px); }
  .header-inner { min-height: 76px; }
  .brand img { width: 210px; }
  .site-nav { top: 76px; }
  .hero-copy { padding: 34px 22px 22px; }
  .hero h1 { font-size: 3rem; }
  .hero-photo-wrap { height: 250px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 17px 12px; }
  .trust-item + .trust-item::before { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 1px; }
  .section { padding: 52px 0; }
  .service-grid { grid-template-columns: 1fr; gap: 9px; }
  .service-card { display: grid; grid-template-columns: 52px 1fr; text-align: left; gap: 0 14px; padding: 16px 18px; }
  .service-icon { grid-row: 1 / 3; margin: 0; width: 48px; height: 48px; }
  .service-card h3 { margin: 3px 0 4px; }
  .service-card p { align-self: start; }
  .homes-photo-wrap { min-height: 230px; }
  .homes-copy { padding: 32px 8px; }
  .area-card { margin: 0 0 20px; padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 14px; }
  .testimonial-shell { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 8px; }
  .testimonial-arrow { width: 34px; height: 34px; font-size: 1.6rem; }
  .testimonial-card { padding: 28px 23px 24px; min-height: 275px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; padding: 30px 0; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { width: 240px; }
  .footer-bottom-inner { flex-direction: column; justify-content: center; gap: 2px; padding: 10px 0; text-align: center; }
}


/* Legal pages */
.legal-page { background: #f7fbfd; min-height: 60vh; padding: 64px 0 80px; }
.legal-card { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(9,52,88,.08); padding: 46px 52px; }
.legal-card h1 { margin: 0 0 10px; color: var(--navy); font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.02; }
.legal-card h2 { margin: 32px 0 10px; color: var(--navy); font-size: 1.25rem; }
.legal-card p, .legal-card li { color: #3c5166; line-height: 1.7; }
.legal-card ul { padding-left: 20px; }
.legal-meta { color: var(--aqua); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.legal-back { display: inline-flex; margin-top: 34px; font-weight: 800; color: var(--navy); }
@media (max-width: 700px) { .legal-page { padding: 34px 0 50px; } .legal-card { padding: 30px 22px; border-radius: 10px; } }

/* Quote form: spam honeypot (hidden from people) + status states */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note:empty { display: none; }
.form-note.is-success { color: #fff !important; font-size: .85rem; font-weight: 700; }
.form-note.is-error { color: #ffd7d2 !important; font-size: .8rem; font-weight: 700; }
.quote-form button[disabled] { opacity: .7; cursor: wait; }
