:root {
  --forest: #173c2a;
  --forest-dark: #0d2b1d;
  --sage: #9eae96;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --ink: #17211a;
  --muted: #5f6b62;
  --line: #dfe5dc;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: white;
}

.skip-link:focus {
  left: 10px;
}

.contact-bar {
  color: white;
  background: var(--forest-dark);
  font-size: 0.9rem;
}

.contact-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
}

.contact-bar a {
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--forest-dark);
  text-decoration: none;
  line-height: 1.1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.brand-subtitle {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: #417253;
}

.nav-cta {
  padding: 11px 17px;
  color: white;
  background: var(--forest);
  border-radius: 3px;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(9, 32, 20, 0.88), rgba(9, 32, 20, 0.38)),
    url("images/hero.jpg") center / cover no-repeat,
    var(--forest);
}

.hero-content {
  padding-block: 100px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #6f8f76;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-heading--light .eyebrow,
.contact-section .eyebrow {
  color: #c2d0bd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.06;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 34px;
  color: #eef3eb;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  color: var(--forest-dark);
  background: var(--cream);
}

.button--secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.section {
  padding-block: 110px;
}

.section--dark {
  color: white;
  background: var(--forest-dark);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-heading > p:last-child,
.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading--light > p:last-child {
  color: #c9d4c9;
}

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

.service-card {
  min-height: 270px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
}

.service-number {
  color: #7e9982;
  font-family: Georgia, "Times New Roman", serif;
}

.service-card h3 {
  margin: 54px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

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

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.photo-placeholder {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #d7e0d4;
  background:
    linear-gradient(rgba(35, 72, 48, 0.5), rgba(35, 72, 48, 0.5)),
    repeating-linear-gradient(135deg, #345941, #345941 20px, #2e503a 20px, #2e503a 40px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.photo-placeholder:first-child {
  min-height: 500px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.about-copy {
  padding-top: 34px;
}

.contact-section {
  padding-block: 80px;
  color: white;
  background: var(--forest);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-panel h2 {
  margin-bottom: 14px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.button--cream {
  color: var(--forest-dark);
  background: var(--cream);
  font-size: 1.1rem;
}

.text-link {
  font-weight: 800;
}

footer {
  padding-block: 36px;
  color: #c8d2c7;
  background: #081d13;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-inner div {
  display: flex;
  flex-direction: column;
}

.footer-inner strong {
  color: white;
  letter-spacing: 0.08em;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

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

  .photo-placeholder,
  .photo-placeholder:first-child {
    min-height: 320px;
  }

  .split-layout,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-copy {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .contact-bar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .brand-name {
    font-size: 1.65rem;
  }

  nav {
    gap: 18px;
  }

  nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content,
  .section {
    padding-block: 76px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    margin-top: 28px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

