:root {
  --navy: #061b35;
  --navy-2: #0f3451;
  --green: #5b922b;
  --green-dark: #3f701c;
  --white: #ffffff;
  --light: #f3f6f8;
  --text: #1e2b38;
  --muted: #607080;
  --shadow: 0 18px 45px rgba(3, 23, 43, .14);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar { background: var(--navy); color: var(--white); font-size: .9rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { text-decoration: none; font-weight: 700; }
.navbar { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 240px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--navy); }
.menu-toggle { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button-small { min-height: 44px; padding: 0 18px; }
.button-outline { background: transparent; border: 2px solid rgba(255,255,255,.75); }
.button-outline:hover { background: rgba(255,255,255,.12); }
.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-image { position: absolute; inset: 0; background: url("assets/hero-house.jpg") center/cover no-repeat; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,24,48,.98) 0%, rgba(4,24,48,.93) 35%, rgba(4,24,48,.28) 72%, rgba(4,24,48,.05) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 90px 0; }
.hero-copy { max-width: 690px; color: var(--white); }
.eyebrow { margin: 0 0 12px; color: #86b94b; font-size: .88rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1 { margin-bottom: 24px; font-size: clamp(2.65rem, 5.6vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.hero-text { max-width: 650px; color: rgba(255,255,255,.88); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-weight: 800; }
.trust-row span::before { content: "✓"; margin-right: 8px; color: #8fc24e; }
.section { padding: 95px 0; }
.section-light { background: var(--light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p { color: var(--muted); }
.section-navy .eyebrow { color: #8fc24e; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; background: #eaf3e2; color: var(--green-dark); font-size: 1.7rem; font-weight: 900; }
.service-card p { margin-bottom: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: start; }
.feature-list { display: grid; gap: 22px; }
.feature-list > div { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.feature-list p { margin-bottom: 0; color: rgba(255,255,255,.76); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-grid span { padding: 16px 18px; border-radius: 10px; background: var(--light); font-weight: 750; }
.gallery-placeholder { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-placeholder div { display: grid; place-items: center; font-size: 2rem; font-weight: 900; color: var(--white); }
.gallery-placeholder div:first-child { background: var(--navy-2); }
.gallery-placeholder div:last-child { background: var(--green-dark); }
.contact-section { background: linear-gradient(135deg, #f7fafb, #e8f0f3); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-phone a { color: var(--green-dark); font-size: 2rem; font-weight: 900; text-decoration: none; }
.quote-form { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 18px; }
.quote-form label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #cbd5df; border-radius: 9px; padding: 13px 14px; font: inherit; color: var(--text); background: var(--white); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(91,146,43,.2); border-color: var(--green); }
.form-note { margin: 0; color: var(--muted); font-size: .85rem; }
.footer { background: #031327; color: var(--white); padding: 40px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 30px; align-items: start; }
.footer p { margin: 6px 0 0; color: rgba(255,255,255,.72); }
.footer a { text-decoration: none; font-weight: 800; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; padding: 10px 14px; border: 1px solid #cbd5df; border-radius: 8px; background: var(--white); font-weight: 800; }
  .nav-links {
    position: absolute; left: 20px; right: 20px; top: 130px; z-index: 10;
    display: none; flex-direction: column; align-items: stretch; padding: 22px;
    background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar-inner { min-height: 46px; font-size: .82rem; }
  .topbar-inner span { display: none; }
  .navbar { min-height: 84px; }
  .brand img { width: 190px; }
  .nav-links { top: 124px; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(4,24,48,.9), rgba(4,24,48,.88)); }
  .hero-content { padding: 74px 0; }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-row { flex-direction: column; gap: 10px; }
  .section { padding: 70px 0; }
  .service-grid, .area-grid, .gallery-placeholder, .footer-grid { grid-template-columns: 1fr; }
  .gallery-placeholder { min-height: 420px; }
  .contact-phone a { font-size: 1.6rem; }
  .quote-form { padding: 22px; }
}


/* Updated service icons and conversion details */
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
}
.service-card .text-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}
.service-card .text-link:hover { text-decoration: underline; }
.coming-soon {
  margin-top: auto;
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf4e7;
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.project-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px;
  border: 1px solid #dbe4ea;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.project-preview > div { max-width: 720px; }
.project-preview p:last-child { color: var(--muted); margin-bottom: 0; }
.form-note a, .footer a { color: inherit; }
.mobile-call {
  display: none;
}
@media (max-width: 900px) {
  .project-preview { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .hero { min-height: 650px; }
  .hero-content { padding: 58px 0 64px; }
  .hero-text { font-size: 1.05rem; }
  .service-card { min-height: unset; padding: 25px; }
  .project-preview { padding: 28px 22px; }
  .project-preview .button { width: 100%; }
  .mobile-call {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    border-radius: 12px;
    background: var(--green);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(3, 23, 43, .28);
    font-weight: 900;
    text-decoration: none;
  }
}

.legal-page { max-width: 820px; }
.legal-page h1 { color: var(--navy); font-size: clamp(2.5rem, 7vw, 4.6rem); }
.legal-page h2 { margin-top: 36px; font-size: 1.55rem; color: var(--navy); }
.legal-page a:not(.button) { color: var(--green-dark); font-weight: 800; }


/* Window-cleaning-first launch layout */
.brand img {
  width: 270px;
  max-height: 76px;
  object-fit: contain;
}
.service-grid-current {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.featured-service {
  position: relative;
  min-height: unset;
  padding: 40px;
  border: 2px solid rgba(91,146,43,.28);
}
.available-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.service-list {
  margin: 8px 0 26px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.service-list li {
  position: relative;
  padding: 7px 0 7px 28px;
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-dark);
  font-weight: 900;
}
.coming-soon-section {
  margin-top: 78px;
  padding-top: 72px;
  border-top: 1px solid #dce5ea;
}
.coming-heading {
  max-width: 820px;
}
.coming-grid {
  grid-template-columns: repeat(3, 1fr);
}
.coming-card {
  background: #f8fafb;
  box-shadow: none;
  border: 1px solid #dce5ea;
}
.coming-card .coming-soon {
  margin: 0 0 14px;
}
.coming-card h3 {
  margin-top: 4px;
}
@media (max-width: 900px) {
  .coming-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .brand img { width: 210px; max-height: 64px; }
  .featured-service { padding: 28px 22px; }
  .available-badge {
    position: static;
    display: inline-block;
    margin-bottom: 18px;
  }
  .coming-soon-section { margin-top: 54px; padding-top: 54px; }
  .coming-grid { grid-template-columns: 1fr; }
}

.hidden-field { position:absolute !important; left:-9999px !important; }

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background: linear-gradient(135deg, #eef3f6, #ffffff);
}
.thank-you-card {
  width: min(760px, 100%);
  padding: 52px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(3, 23, 43, .14);
  text-align: center;
}
.thank-you-card img {
  width: min(320px, 82%);
  margin: 0 auto 28px;
}
.thank-you-card h1 {
  color: var(--navy);
  font-size: clamp(2.2rem, 6vw, 4rem);
}
.thank-you-card > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.1rem;
}
.thank-you-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.button-secondary {
  background: var(--navy);
}
.button-secondary:hover {
  background: var(--navy-2);
}
@media (max-width: 640px) {
  .thank-you-card {
    padding: 34px 22px;
  }
  .thank-you-actions {
    flex-direction: column;
  }
}
