:root {
  --ink: #172126;
  --muted: #5d6a6e;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #d9dfdc;
  --forest: #21483f;
  --teal: #227c77;
  --gold: #b88731;
  --rose: #b45559;
  --night: #111a1f;
  --shadow: 0 22px 55px rgba(17, 26, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 0;
  background: var(--night);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 26, 31, 0.88) 0%, rgba(17, 26, 31, 0.58) 38%, rgba(17, 26, 31, 0.12) 72%),
    linear-gradient(0deg, rgba(17, 26, 31, 0.72), transparent 44%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 108px 0 28px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  width: min(880px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.3vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions,
.cta-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

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

.hero .button.primary {
  color: var(--ink);
  background: var(--white);
}

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

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1040px, 100%);
  margin: 34px 0 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.trust-bar div {
  padding: 14px 16px;
  background: rgba(17, 26, 31, 0.48);
  backdrop-filter: blur(10px);
}

.trust-bar dt {
  margin-bottom: 4px;
  color: var(--gold);
  font-weight: 900;
}

.trust-bar dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 4vw, 56px);
}

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

.section-grid,
.section-heading,
.service-grid,
.fit-grid,
.timeline,
.contact,
.cta-band {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section-grid > p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 820px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(17, 26, 31, 0.06);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
  font-weight: 900;
}

.service-card.accent-gold .icon {
  background: var(--gold);
}

.service-card.accent-teal .icon {
  background: var(--teal);
}

.service-card.accent-rose .icon {
  background: var(--rose);
}

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

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.service-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--teal);
  font-weight: 900;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fit-item {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-item strong {
  font-size: 1.15rem;
}

.fit-item span {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.timeline article {
  padding-top: 24px;
  border-top: 2px solid var(--forest);
}

.timeline span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--gold);
  font-weight: 900;
}

.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-band {
  justify-content: space-between;
  padding: clamp(34px, 5vw, 54px);
  color: var(--white);
  background: var(--night);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.9rem);
}

.cta-band .button.primary {
  background: var(--gold);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-methods a {
  color: var(--forest);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(17, 26, 31, 0.06);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cbd5d2;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(34, 124, 119, 0.28);
  outline-offset: 3px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--forest);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--night);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 1020px) {
  .service-grid,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 67px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-image {
    object-position: 62% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 26, 31, 0.88), rgba(17, 26, 31, 0.42)),
      linear-gradient(0deg, rgba(17, 26, 31, 0.84), rgba(17, 26, 31, 0.14) 58%);
  }

  .hero-content {
    padding-top: 92px;
    padding-bottom: 24px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

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

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

  .trust-bar {
    margin-top: 26px;
  }

  .trust-bar div {
    padding: 12px;
  }

  .trust-bar dd {
    font-size: 0.84rem;
  }

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

  .fit-item {
    min-height: auto;
  }

  .contact-copy {
    position: static;
  }

  .cta-band {
    align-items: flex-start;
  }

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

@media (max-width: 430px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .button {
    padding-inline: 14px;
  }

  .contact-form {
    padding: 18px;
  }
}
