:root {
  --navy: #172533;
  --forest: #294b3d;
  --forest-dark: #203d31;
  --sand: #ede9e0;
  --off-white: #f8f7f3;
  --white: #ffffff;
  --text: #1d262b;
  --muted: #5f6968;
  --line: #d9d7cf;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--off-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  width: min(100% - 40px, var(--max-width));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: 220px;
  height: auto;
}

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

.site-nav a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--forest);
}

.nav-contact {
  padding: 10px 15px;
  border: 1px solid var(--forest);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--white) !important;
  background: var(--forest);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(18, 35, 32, 0.95) 0%, rgba(28, 57, 46, 0.91) 54%, rgba(31, 54, 47, 0.74) 100%);
}

.hero-inner {
  width: min(100% - 40px, var(--max-width));
  min-height: 530px;
  margin: 0 auto;
  padding: 108px 0 92px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #d3d8cb;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  font-weight: 500;
}

.hero-text {
  max-width: 625px;
  margin-bottom: 30px;
  color: #edf0eb;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.button {
  display: inline-block;
  padding: 13px 21px;
  border: 1px solid var(--forest);
  color: var(--white);
  background: var(--forest);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--white);
  background: transparent;
}

.button-light {
  border-color: var(--white);
  background: transparent;
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--forest-dark);
  background: var(--white);
}

.section {
  padding: 86px 0;
}

.section-inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.section-intro {
  max-width: 735px;
  margin-bottom: 46px;
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  font-weight: 500;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.1rem;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-card {
  min-height: 242px;
  padding: 34px 30px;
  background: var(--white);
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 500;
}

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

.process {
  background: var(--sand);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.process-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.process-list {
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(41, 75, 61, 0.35);
}

.process-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(41, 75, 61, 0.35);
  color: var(--navy);
  font-weight: 700;
}

.process-list span {
  display: inline-block;
  width: 42px;
  color: var(--forest);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

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

.cta-inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 76px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 500;
}

.page-hero {
  padding: 98px 0 85px;
  color: var(--white);
  background: var(--navy);
}

.page-hero-inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
}

.contact-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-details {
  padding: 32px;
  border-left: 4px solid var(--forest);
  background: var(--white);
}

.contact-details h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.email-link {
  color: var(--forest);
  font-size: 1.12rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 44px 0;
  color: #dfe5df;
  background: #121c25;
}

.footer-inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.footer-brand {
  margin-bottom: 7px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.footer-text {
  margin: 0;
  color: #b5c0b9;
}

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

.footer-links a {
  color: var(--white);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 76px;
  }

  .logo {
    width: 168px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.76rem;
  }

  .nav-contact {
    padding: 8px 10px;
  }

  .hero-inner {
    min-height: 490px;
    padding: 85px 0 75px;
  }

  .section {
    padding: 64px 0;
  }

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

  .process-grid,
  .contact-grid {
    gap: 38px;
  }

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

  .cta-inner {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    width: min(100% - 28px, var(--max-width));
  }

  .section-inner,
  .hero-inner,
  .page-hero-inner,
  .cta-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max-width));
  }

  .logo {
    width: 135px;
  }

  .site-nav {
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .nav-contact {
    padding: 7px 8px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }
}
