:root {
  --forest: #071f11;
  --forest-2: #0b2a18;
  --leaf: #8fae43;
  --sage: #a9bd6a;
  --cream: #f4f0e7;
  --paper: #fffaf0;
  --gold: #c8aa58;
  --ink: #142017;
  --muted: #64705f;
  --line: rgba(20, 32, 23, 0.16);
  --shadow: 0 24px 60px rgba(6, 22, 12, 0.24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 5vw, 78px);
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 18, 9, 0.82), rgba(4, 18, 9, 0));
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.brand img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.brand span {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--leaf);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-call {
  display: grid;
  gap: 2px;
  min-width: 205px;
  padding: 15px 22px;
  border-radius: 4px;
  background: rgba(74, 111, 43, 0.9);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.22);
  font-size: 1.05rem;
  font-weight: 700;
}

.header-call::after {
  content: "Get in touch for a free quote";
  font-size: 0.78rem;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(13, 43, 24, 0.7);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(916px, 53.35vw);
  padding: 168px clamp(20px, 7vw, 110px) 72px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.section-band {
  background:
    linear-gradient(125deg, rgba(7, 31, 17, 0.98) 0%, rgba(7, 31, 17, 0.92) 46%, rgba(7, 31, 17, 0.86) 100%),
    var(--forest);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(5, 17, 8, 0.36) 0%, rgba(5, 17, 8, 0.02) 36%, rgba(5, 17, 8, 0.18) 100%),
    linear-gradient(90deg, rgba(5, 17, 8, 0.16) 0%, rgba(5, 17, 8, 0.02) 44%, rgba(5, 17, 8, 0.08) 100%);
  content: "";
}

.hero::after {
  content: none;
}

.hero-content {
  width: min(620px, 100%);
  align-self: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-style: italic;
  letter-spacing: 0.04em;
}

.hero .eyebrow:first-child {
  color: var(--leaf);
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  color: #f7f2e8;
  font-size: clamp(4.3rem, 8vw, 8.25rem);
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.36);
}

h1 span {
  display: block;
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px auto 0;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 2vw, 1.6rem);
}

.hero-actions,
.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #607f32, #385f26);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 44px auto 0;
}

.trust-row div {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-row dt {
  color: var(--sage);
  font-weight: 800;
  text-transform: uppercase;
}

.trust-row dd {
  margin: 4px 0 0;
}

.hero-card {
  display: none;
}

.section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 6vw, 92px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.about-banner-copy h2,
.contact-copy h2 {
  color: var(--forest);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.section-heading p:not(.eyebrow),
.about-banner-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  background:
    linear-gradient(90deg, rgba(20, 32, 23, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 12.5% 100%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  min-height: 230px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--forest-2);
  font-family: var(--serif);
  font-weight: 800;
}

.service-card h3 {
  color: var(--forest);
  font-size: 1.24rem;
}

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

.future-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 30px auto 0;
}

.future-services span,
.future-services strong {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 43, 24, 0.08);
}

.about-banner {
  position: relative;
  min-height: clamp(460px, 38vw, 650px);
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}

.about-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.about-banner-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, 64vw);
  padding: clamp(46px, 4.1vw, 72px) clamp(34px, 5vw, 92px) clamp(52px, 4.4vw, 76px)
    clamp(30px, 8.4vw, 166px);
}

.about-banner-copy h2,
.contact-copy h2 {
  color: #fff;
}

.about-banner-copy h2 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 3.25vw, 4.25rem);
  line-height: 1.02;
}

.about-banner-copy p,
.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.about-banner-copy p {
  max-width: 860px;
  font-size: clamp(1.05rem, 1.1vw, 1.2rem);
  line-height: 1.55;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: clamp(22px, 2.2vw, 32px) 0 24px;
}

.about-points span {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 17px 20px;
  border: 1px solid rgba(181, 199, 138, 0.26);
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.about-points strong {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-points small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.about-banner-copy .button {
  min-width: min(460px, 100%);
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--sage);
  font-weight: 800;
  text-transform: uppercase;
}

.gallery {
  color: #fff;
  background: var(--forest);
  padding-top: clamp(62px, 7vw, 108px);
  padding-bottom: clamp(62px, 7vw, 108px);
}

.gallery .section-heading h2,
.gallery .section-heading p:not(.eyebrow) {
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1500px;
  margin: 0 auto;
}

.comparison-card {
  position: relative;
  margin: 0;
  border-radius: 2px;
  background: #0a2113;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.comparison-card:nth-child(-n + 3) {
  grid-column: span 2;
}

.comparison-card:nth-child(n + 4) {
  grid-column: span 3;
}

.comparison-card h3 {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 2px;
  color: #fff;
  background: rgba(7, 31, 17, 0.82);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-photo {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  object-position: center;
  background: var(--forest);
  transition: transform 260ms ease;
}

.comparison-card:hover .comparison-photo {
  transform: scale(1.03);
}

.comparison-image {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
  overflow: hidden;
}

.comparison-image::before,
.comparison-image::after {
  content: "";
}

.comparison-image::before {
  background:
    repeating-linear-gradient(96deg, rgba(46, 91, 33, 0.86) 0 3px, rgba(85, 124, 47, 0.8) 3px 7px),
    #315722;
}

.comparison-image::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent),
    repeating-linear-gradient(90deg, #4e8a35 0 9px, #40762d 9px 18px);
}

.comparison-image span {
  position: absolute;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(13, 43, 24, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.comparison-image span:first-child {
  left: 14px;
}

.comparison-image span:last-child {
  right: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
  background: var(--forest);
}

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

.quote-steps li {
  position: relative;
  padding: 13px 16px 13px 46px;
  border: 1px solid rgba(181, 199, 138, 0.22);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.quote-steps li::before {
  position: absolute;
  top: 50%;
  left: 14px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--forest);
  background: var(--sage);
  content: counter(list-item);
  font-size: 0.76rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.contact-methods {
  justify-content: flex-start;
}

.contact-methods a {
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: #fff;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(181, 199, 138, 0.3);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(7, 31, 17, 0.22);
  border-radius: 3px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(7, 31, 17, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--leaf);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(143, 174, 67, 0.22);
}

input::placeholder,
textarea::placeholder {
  color: #7b8278;
  font-weight: 600;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 92px);
  color: #fff;
  background: #05170c;
}

.site-footer img {
  width: 64px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand p {
  display: grid;
  gap: 2px;
  margin: 0;
  line-height: 1.1;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.footer-brand span,
.footer-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.footer-contact a {
  color: var(--sage);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

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

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

  .comparison-card:nth-child(-n + 3),
  .comparison-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .service-card:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .service-card:nth-child(4) {
    border-right: 0;
  }

  .service-card:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }

}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    padding: 14px 18px;
    background: rgba(5, 22, 11, 0.92);
  }

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

  .brand span {
    display: block;
    line-height: 1.1;
  }

  .brand strong,
  .brand small {
    display: block;
  }

  .header-call {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    top: 96px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 16px;
    border-radius: 6px;
    background: #0b2816;
    box-shadow: var(--shadow);
  }

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

  .hero {
    min-height: 720px;
    padding-top: 138px;
  }

  .hero-photo {
    object-position: 62% center;
  }

  .hero-content {
    text-align: left;
    opacity: 1;
    pointer-events: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: flex-start;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .about-banner {
    min-height: auto;
  }

  .about-banner > img {
    object-position: 68% center;
  }

  .about-banner-copy {
    width: min(620px, 100%);
    padding: 72px 22px 70px;
    background: linear-gradient(90deg, rgba(5, 20, 10, 0.9), rgba(5, 20, 10, 0.42));
  }

  .about-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .gallery-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .service-card:first-child {
    border-top: 0;
  }

  .site-footer,
  .footer-contact {
    justify-items: center;
    text-align: center;
  }

  .site-footer img,
  .footer-brand {
    margin: 0 auto;
  }

  .site-footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3.6rem;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 690px;
  }

  .button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-methods a {
    width: 100%;
    text-align: center;
  }
}
