:root {
  --green: #12382b;
  --green-2: #1f5a42;
  --navy: #12382b;
  --navy-2: #1f5a42;
  --red: #d9c6aa;
  --leaf: #7f9d68;
  --stone: #68706b;
  --sand: #d9c6aa;
  --warm: #f6f1e9;
  --white: #ffffff;
  --ink: #16211c;
  --muted: #66716b;
  --line: rgba(22, 33, 28, 0.12);
  --shadow: 0 24px 70px rgba(13, 28, 22, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(18, 56, 43, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 330px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  padding: 5px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.brand span {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand strong {
  color: var(--white);
  font-size: 1.34rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand small {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  opacity: 0.92;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta {
  padding: 0 18px;
  color: var(--green);
  background: var(--sand);
}

.btn {
  padding: 0 22px;
  border: 1px solid transparent;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.btn-primary {
  color: var(--white);
  background: var(--green-2);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 150px clamp(20px, 6vw, 86px) 80px;
  color: var(--white);
  background-image: url("assets/project-01.jfif");
  background-position: center right;
  background-size: cover;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 28, 21, 0.86), rgba(10, 28, 21, 0.54) 50%, rgba(10, 28, 21, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(10, 28, 21, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sand);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 5.6vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 900px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-phone {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 22px;
  font-weight: 800;
}

.hero-phone span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 900;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stat {
  padding: 34px 24px;
  text-align: center;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--green-2);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 800;
}

.service-areas {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}

.service-areas-copy {
  max-width: 680px;
}

.service-areas-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.state-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.state-list span {
  padding: 11px 15px;
  border: 1px solid rgba(31, 90, 66, 0.18);
  border-radius: 999px;
  color: var(--green);
  background: #edf4ee;
  font-weight: 900;
}

.service-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(237, 244, 238, 0.98), rgba(246, 241, 233, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(127, 157, 104, 0.24), transparent 34%);
  box-shadow: var(--shadow);
}

.service-map::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(18, 56, 43, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 56, 43, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.service-map svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 360px;
}

.map-line {
  fill: none;
  stroke: var(--green-2);
  stroke-dasharray: 14 12;
  stroke-linecap: round;
  stroke-width: 5;
  animation: route-dash 2.8s linear infinite;
  opacity: 0.76;
}

.state-pin circle:first-child {
  fill: rgba(31, 90, 66, 0.1);
  stroke: rgba(31, 90, 66, 0.2);
  stroke-width: 2;
}

.state-pin path {
  fill: var(--white);
  stroke: var(--green);
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 14px 18px rgba(18, 56, 43, 0.16));
}

.state-pin text {
  fill: var(--green);
  font-size: 24px;
  font-weight: 900;
  text-anchor: middle;
}

.map-marker circle:first-child {
  fill: var(--green-2);
}

.map-marker circle:last-child {
  fill: none;
  stroke: var(--green-2);
  stroke-width: 3;
  animation: marker-pulse 1.9s ease-out infinite;
  transform-origin: center;
}

.marker-plymouth circle:last-child {
  animation-delay: 0.45s;
}

@keyframes route-dash {
  to {
    stroke-dashoffset: -52;
  }
}

@keyframes marker-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.65);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.section {
  padding: 104px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.why-item,
.review-card,
.estimate-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(18, 56, 43, 0.06);
}

.service-card {
  min-height: 224px;
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.why-item:hover,
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 90, 66, 0.32);
  box-shadow: var(--shadow);
}

.service-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.service-card h3,
.why-item h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p,
.why-item p,
.review-card p,
.about-copy p,
.contact-panel p {
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background: var(--white);
}

.about-image {
  position: relative;
}

.about-image::before {
  position: absolute;
  inset: 26px -20px -22px 22px;
  content: "";
  border: 1px solid rgba(31, 90, 66, 0.28);
  border-radius: var(--radius);
  background: var(--warm);
}

.about-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy {
  max-width: 760px;
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-list span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--green);
  background: #edf4ee;
  font-weight: 800;
}

.gallery {
  background: #eef1ec;
}

.gallery-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-feature,
.gallery-preview figure,
.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 33, 28, 0.1);
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: 0 14px 36px rgba(18, 56, 43, 0.1);
}

.gallery-feature {
  min-height: 520px;
}

.gallery-feature img,
.gallery-preview img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-feature:hover img,
.gallery-preview figure:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.045);
}

.gallery-feature figcaption,
.gallery-preview figcaption,
.gallery-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 11px 13px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(18, 56, 43, 0.84);
  font-weight: 900;
}

.gallery-feature figcaption {
  max-width: 460px;
  padding: 16px 18px;
  font-size: 1.02rem;
}

.gallery-feature figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--sand);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-preview figure {
  min-height: 251px;
}

.gallery-more {
  max-width: 1180px;
  margin: 22px auto 0;
}

.gallery-more summary {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(31, 90, 66, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-2);
  box-shadow: 0 16px 36px rgba(18, 56, 43, 0.14);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.gallery-more summary::-webkit-details-marker {
  display: none;
}

.gallery-more summary span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.gallery-grid figure {
  min-height: 250px;
}

.gallery-grid img {
  min-height: 250px;
}

.gallery-grid figcaption {
  font-size: 0.9rem;
}

.why-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-item,
.review-card {
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rating {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  background: #edf4ee;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: start;
  background: var(--green);
}

.contact h2,
.contact h3,
.contact .eyebrow {
  color: var(--white);
}

.contact-panel,
.estimate-form {
  padding: clamp(24px, 4vw, 42px);
}

.contact-panel {
  position: sticky;
  top: 98px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-lines {
  margin: 26px 0;
}

.contact-lines a {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.hours {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
}

.estimate-form .eyebrow {
  color: var(--green-2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 900;
}

label.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 12px;
  color: var(--ink);
  background: #fbfaf7;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(127, 157, 104, 0.28);
  border-color: var(--green-2);
}

.form-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--green-2);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 0.8fr;
  gap: 28px;
  padding: 58px clamp(20px, 5vw, 72px) 34px;
  color: rgba(255, 255, 255, 0.82);
  background: #0d241b;
}

.footer-logo {
  width: 175px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  font-weight: 900;
}

.floating-actions a:first-child {
  background: #2c332e;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 12px;
    font-size: 0.85rem;
  }

  .service-grid,
  .why-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header {
    background: rgba(18, 56, 43, 0.96);
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 74px;
    height: 74px;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .brand small {
    max-width: 190px;
    font-size: 0.6rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    color: var(--white);
    background: var(--green-2);
  }

  .hero {
    min-height: 680px;
    padding: 118px 20px 56px;
    background-position: center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 28, 21, 0.9), rgba(10, 28, 21, 0.48));
  }

  .stats-strip,
  .service-areas,
  .about,
  .gallery-showcase,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .gallery-feature {
    min-height: 430px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 64px;
    height: 64px;
    padding: 4px;
  }

  .brand span {
    gap: 1px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    max-width: 142px;
    font-size: 0.52rem;
    line-height: 1.18;
  }

  .section {
    padding-block: 70px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-badges span {
    font-size: 0.78rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .service-map svg {
    min-height: 280px;
  }

  .state-pin text {
    font-size: 20px;
  }

  .service-grid,
  .why-grid,
  .review-grid,
  .gallery-preview,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-feature,
  .gallery-preview figure,
  .gallery-grid figure {
    min-height: 300px;
  }

  .gallery-more summary {
    flex-direction: column;
    gap: 2px;
    padding-block: 12px;
  }

  .stats-strip {
    gap: 0;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .floating-actions a {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.9rem;
  }
}
