/* Edit this palette to match your logo.
   No external fonts or libraries required. */
:root {
  --green: #176640;
  --green-dark: #103e2c;
  --lime: #d5ed99;
  --blue: #155e82;
  --navy: #102f40;
  --ink: #183b36;
  --muted: #52665f;
  --paper: #f5f8f3;
  --white: #fff;
  --line: #d9e3db;
  --radius: 18px;
  --shadow: 0 16px 44px #102f4012;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem / 1.65 system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body.lock {
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

a {
  color: var(--blue);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--green);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #df9d12;
  outline-offset: 4px;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

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

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  gap: 24px;
}

.hero-grid,
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.tint {
  background: #eaf1eb;
}

.fine {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Accessibility */
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100;
  padding: 12px;
  background: var(--white);
}

.skip:focus {
  top: 12px;
}

/* Header */
.topbar {
  padding: 8px 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fffffff7;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  color: var(--green-dark);
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.brand img {
  flex-shrink: 0;
  width: 320px;
  height: 120px;
  object-fit: contain;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* Navigation */
.nav-toggle {
  display: none;
  min-height: 44px;
  margin-left: auto;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

nav {
  width: 100%;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.service-toggle {
  display: block;
  min-height: 44px;
  padding: 10px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  color: var(--green);
  text-decoration: underline;
}

.service-nav {
  position: relative;
}

.service-row {
  display: flex;
  align-items: center;
}

.service-toggle {
  background: transparent;
  border: 0;
}

.submenu {
  min-width: 250px;
  margin: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  list-style: none;
}

.js .submenu {
  display: none;
}

.js .service-nav.open > .submenu {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  background: var(--green);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn small {
  font-size: 0.86rem;
  font-weight: 500;
}

.btn.light {
  background: var(--lime);
  color: var(--green-dark);
}

.btn.outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid currentColor;
}

/* Keep the estimate button visible on mobile and desktop. */
.header-call {
  display: inline-flex;
  width: 100%;
  padding: 8px 14px;
  font-size: 0.78rem;
}

/* Hero */
.hero {
  overflow: hidden;
  padding: 52px 0 0;
  background: var(--green-dark);
  color: var(--white);
}

.hero .eyebrow {
  color: var(--lime);
}

.hero .lead {
  color: #deebe2;
}

.hero .text-link {
  color: var(--white);
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 26px 0;
}

.photo {
  overflow: hidden;
  background: linear-gradient(140deg, #cbdcc8, #9bc1cb);
  border-radius: var(--radius);
}

.photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  color: var(--navy);
  font-size: 0.9rem;
}

.hero-photo {
  min-height: 300px;
  border-radius: 80px 8px 0 0;
}

.hero-photo img {
  aspect-ratio: 4 / 3;
}

.feature-band {
  padding: 20px;
  background: var(--lime);
  color: var(--green-dark);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 800;
  text-align: center;
}

/* Trust */
.trust {
  display: grid;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.trust strong {
  display: block;
  font-size: 1.15rem;
}

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

/* Cards */
.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 26px;
}

.card .photo {
  border-radius: 0;
}

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

.card a {
  font-weight: 700;
}

.number {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* Lists */
.checklist {
  padding-left: 22px;
}

.checklist li {
  margin: 10px 0;
}

.checklist li::marker {
  color: var(--green);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 7px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: 0.9rem;
}

/* Call to action */
.cta {
  padding: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
}

.cta h2 {
  max-width: 22ch;
}

/* Interior pages */
.page-hero {
  padding: 60px 0;
  background: linear-gradient(110deg, #e7f0e5, #e4eff4);
}

.page-hero h1 {
  max-width: 23ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.service-section {
  scroll-margin-top: 110px;
}

/* Gallery */
.gallery-button {
  display: block;
  width: 100%;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  border: 0;
  text-align: left;
}

.gallery-button img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #cadcd4;
}

.gallery-button span {
  display: block;
  padding: 16px;
  font-weight: 700;
}

.gallery-button:hover img {
  filter: brightness(0.94);
}

/* Notices and reviews */
.notice {
  margin: 24px 0;
  padding: 18px 22px;
  background: #e5f0f5;
  border-left: 4px solid var(--blue);
}

.review {
  padding: 26px;
}

.review blockquote {
  margin: 12px 0;
  color: var(--ink);
}

.review cite {
  font-style: normal;
  font-weight: 750;
}

.stars {
  color: #8b6000;
  letter-spacing: 2px;
}

.sample {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Gallery dialog */
dialog {
  width: min(1050px, calc(100% - 24px));
  max-height: 94vh;
  padding: 18px;
  background: var(--navy);
  color: var(--white);
  border: 0;
  border-radius: 12px;
}

dialog::backdrop {
  background: #071d28e8;
}

dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

dialog .close {
  display: block;
  min-height: 44px;
  margin: 0 0 12px auto;
  padding: 8px 16px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: 6px;
}

dialog p {
  margin: 12px 0 0;
}

/* Contact */
.contact-grid {
  display: grid;
  align-items: start;
  gap: 36px;
}

.contact-details {
  padding: 30px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
}

.contact-details a {
  color: var(--white);
  overflow-wrap: anywhere;
}

.contact-details h2 {
  font-size: 1.7rem;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 20px;
}

label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid #8a9f92;
  border-radius: 7px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

/* Hidden spam-prevention field */
.hp {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}

.form-status:not(:empty) {
  margin-bottom: 24px;
  padding: 18px;
  background: #e5f0f5;
  border: 1px solid var(--blue);
  border-radius: 8px;
}

.form-status[data-state="error"] {
  background: #fff0ec;
  border-color: #aa3b24;
}

/* Footer */
.site-footer {
  margin-top: 64px;
  padding: 48px 0 24px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer a {
  color: var(--white);
}

.site-footer h2 {
  font-size: 1.5rem;
}

.site-footer p {
  color: #d6e4e6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #ffffff30;
  font-size: 0.8rem;
}

/* Mobile and tablet navigation */
@media (max-width: 1099px) {
  html {
    scroll-padding-top: 210px;
  }

  .service-section {
    scroll-margin-top: 210px;
  }

  .js .nav-toggle {
    display: block;
  }

  .js nav {
    display: none;
  }

  .js nav.open {
    display: block;
  }

  .js .nav-list {
    display: block;
  }

  .js .submenu {
    margin-left: 12px;
  }

  .nav-list > li {
    border-top: 1px solid var(--line);
  }

  .service-row {
    justify-content: space-between;
  }
}

/* Tablet layout */
@media (min-width: 650px) {
  .grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

/* Larger screens */
@media (min-width: 900px) {
  .hero-grid,
  .split {
    grid-template-columns: 1.05fr 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-copy {
    padding-bottom: 48px;
  }

  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .section {
    padding: 88px 0;
  }
}

/* Desktop navigation */
@media (min-width: 1100px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .brand {
    max-width: 225px;
  }

  .header-call {
    flex-shrink: 0;
    width: auto;
    margin-left: auto;
  }

  nav {
    width: auto;
    margin-left: auto;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: var(--shadow);
  }

  .js .service-nav:hover > .submenu,
  .js .service-nav:focus-within > .submenu {
    display: block;
  }

  .js .service-nav.dismissed > .submenu {
    display: none;
  }
}

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