:root {
  --navy: #0b1f33;
  --navy-2: #112d49;
  --charcoal: #26313f;
  --muted: #5f6d7c;
  --line: #dbe3ea;
  --soft: #f5f8fa;
  --white: #ffffff;
  --teal: #0f9b8e;
  --green: #2ea36b;
  --shadow: 0 22px 60px rgba(11, 31, 51, 0.12);
  --shadow-soft: 0 14px 34px rgba(11, 31, 51, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 227, 234, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 12px 28px rgba(15, 155, 142, 0.25);
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
  font-weight: 700;
  font-size: 0.92rem;
  color: #34465a;
}

.nav-menu a,
.nav-phone {
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-phone:hover {
  color: var(--teal);
}

.nav-phone {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  color: var(--navy);
  background: var(--white);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 150px 0 76px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.residential-image {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 39, 0.9), rgba(8, 23, 39, 0.68) 50%, rgba(8, 23, 39, 0.34)),
    linear-gradient(180deg, rgba(8, 23, 39, 0.12), rgba(8, 23, 39, 0.7));
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: end;
}

.hero-copy {
  max-width: 820px;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #56d8c9;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: 4.35rem;
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 980px;
}

.hero-subhead {
  max-width: 790px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 18px 38px rgba(15, 155, 142, 0.28);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.metric {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
}

.hero-panel p {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.82);
}

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

.trust-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 700;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #56d8c9;
}

.proof-band {
  padding: 26px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.proof-grid div {
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  background: var(--soft);
  border-radius: 14px;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--navy);
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 92px 0;
}

.split,
.seo-grid,
.faq-wrap,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 3.25rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.seo-copy p,
.contact-copy p,
.areas-intro {
  color: var(--muted);
  font-size: 1.04rem;
}

.consult-card,
.service-card,
.why-card,
.testimonial-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.consult-card {
  padding: 34px;
}

.consult-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.5rem;
}

.text-link,
.contact-methods a,
.footer a {
  display: block;
  width: fit-content;
  color: var(--teal);
  font-weight: 800;
}

.services-section,
.faq-section {
  background: var(--soft);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

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

.service-card {
  padding: 28px;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.why-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  font-size: 0.82rem;
}

.service-card h3,
.why-card h3 {
  color: var(--navy);
  margin: 20px 0 12px;
  font-size: 1.25rem;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.residential-section {
  background: linear-gradient(180deg, var(--white), #eef7f5);
}

.residential-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.residential-image {
  min-height: 520px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background-image: url("https://images.unsplash.com/photo-1587614382346-4ec70e388b28?auto=format&fit=crop&w=1400&q=82");
}

.residential-copy p {
  color: var(--muted);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-grid span,
.area-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 155, 142, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
}

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

.why-card {
  padding: 24px;
}

.why-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--teal);
  background: #e9f7f5;
  font-weight: 800;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 31, 51, 0.98), rgba(17, 45, 73, 0.94)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.seo-section h2,
.seo-section .section-copy p,
.seo-section .seo-copy p {
  color: var(--white);
}

.seo-section .eyebrow {
  color: #56d8c9;
}

.seo-copy {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 34px;
}

.testimonials-section {
  background: var(--white);
}

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

.testimonial-card {
  margin: 0;
  padding: 30px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.02rem;
}

.testimonial-card figcaption {
  margin-top: 20px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.areas-section {
  background: #f7fafb;
}

.areas-intro {
  max-width: 880px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

summary {
  padding: 20px 24px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.contact-section {
  background: var(--white);
}

.contact-methods {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 32px;
}

.contact-form label {
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 155, 142, 0.12);
}

.contact-form .btn {
  margin-top: 8px;
}

.footer {
  padding: 56px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #081727;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 34px;
}

.footer .brand strong,
.footer h2 {
  color: var(--white);
}

.footer .brand small,
.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-card,
  .why-card,
  .testimonial-card {
    transition: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .nav-menu a:hover {
    background: var(--soft);
  }

  .nav-phone {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-subhead {
    font-size: 1.14rem;
  }

  .section h2 {
    font-size: 2.7rem;
  }

  .hero-content,
  .split,
  .seo-grid,
  .faq-wrap,
  .contact-grid,
  .residential-wrap {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 34px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .proof-grid,
  .service-grid,
  .why-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-copy {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: sticky;
  }

  .nav {
    min-height: 68px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 86px 0 46px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 23, 39, 0.9), rgba(8, 23, 39, 0.78));
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-subhead {
    font-size: 1.02rem;
  }

  .section h2 {
    font-size: 2.05rem;
  }

  .btn {
    width: 100%;
  }

  .hero-panel,
  .consult-card,
  .service-card,
  .why-card,
  .testimonial-card,
  .contact-form {
    border-radius: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .proof-grid,
  .service-grid,
  .why-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .residential-image {
    min-height: 300px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
