:root {
  --ink: #171815;
  --soft-ink: #4f524b;
  --paper: #f7f8f4;
  --white: #ffffff;
  --mist: #e9eee8;
  --pine: #23382d;
  --pine-dark: #14231c;
  --brass: #9c7b3c;
  --sea: #5f7f8a;
  --line: rgba(23, 24, 21, 0.16);
  --shadow: 0 24px 70px rgba(15, 21, 17, 0.18);
  --max: 1180px;
  --pad: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
  color: var(--soft-ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 760px;
  color: var(--white);
  font-size: 68px;
}

h2 {
  max-width: 800px;
  font-size: 48px;
}

h3 {
  font-size: 20px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 28px;
  color: var(--white);
  background: rgba(20, 35, 28, 0.46);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 248, 244, 0.96);
  border-bottom-color: var(--line);
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  font-size: 15px;
}

.site-header.is-scrolled .brand__mark,
.site-header.is-open .brand__mark,
.brand--footer .brand__mark {
  color: var(--white);
  background: var(--pine);
  border-color: var(--pine);
}

.brand__text {
  overflow: hidden;
  max-width: 240px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  border-color: currentColor;
  outline: 0;
}

.site-nav__call {
  margin-left: 8px;
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .site-nav__call,
.site-header.is-open .site-nav__call {
  color: var(--white);
  background: var(--pine);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav-open .nav-toggle__icon {
  background: transparent;
}

.nav-open .nav-toggle__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  background: var(--pine-dark);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  object-fit: cover;
}

.hero__shade {
  background: rgba(10, 17, 14, 0.42);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 54px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .eyebrow {
  color: #d6be82;
}

.hero__lead {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero__actions,
.price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

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

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

.button--dark {
  color: var(--white);
  background: var(--pine);
}

.button--ghost-dark {
  color: var(--pine);
  background: transparent;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin: 48px 0 0;
  background: rgba(255, 255, 255, 0.28);
}

.hero__facts div {
  min-height: 92px;
  padding: 18px;
  background: rgba(10, 17, 14, 0.42);
}

.hero__facts dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero__facts dd {
  margin: 0;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
}

.section {
  padding: 104px 0;
}

.section__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section--intro {
  padding: 70px 0 88px;
  background: var(--white);
}

.section--muted {
  background: var(--mist);
}

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

.section--dark p,
.section--dark span {
  color: rgba(255, 255, 255, 0.74);
}

.intro-grid,
.story-layout,
.split-section,
.specs-layout,
.timeline-layout,
.map-layout,
.summary-layout,
.trust-layout,
.legal-layout,
.price-layout,
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 28px;
}

.anchor-list,
.compact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.anchor-list a,
.compact-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 700;
}

.anchor-list a:hover,
.anchor-list a:focus-visible {
  border-color: var(--pine);
  outline: 0;
}

.story-layout {
  align-items: center;
}

.story-layout__copy,
.specs-layout__intro {
  display: grid;
  gap: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--soft-ink);
}

.check-list li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--sea);
  content: "";
}

.media-panel,
.image-frame {
  margin: 0;
}

.media-panel img,
.image-frame img,
.feature-image img {
  width: 100%;
  box-shadow: var(--shadow);
}

.media-panel figcaption {
  margin-top: 12px;
  color: var(--soft-ink);
  font-size: 14px;
}

.split-section {
  align-items: center;
}

.split-section > div:first-child {
  display: grid;
  gap: 24px;
}

.section-heading {
  display: grid;
  gap: 20px;
  max-width: 850px;
  margin-bottom: 46px;
}

.section-heading--compact {
  margin-bottom: 38px;
}

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

.plan-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.plan-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f1f3ee;
}

.plan-card div {
  display: grid;
  gap: 8px;
}

.map-layout,
.trust-layout,
.legal-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

.map-layout > div:first-child,
.legal-layout > div:first-child {
  display: grid;
  align-content: start;
  gap: 22px;
}

.map-frame {
  min-height: 430px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.distance-grid,
.summary-grid,
.trust-grid,
.legal-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.distance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.distance-grid span,
.summary-grid article,
.trust-grid article,
.legal-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.distance-grid strong,
.summary-grid strong {
  color: var(--pine);
  font-size: 19px;
}

.summary-layout {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
}

.summary-grid,
.trust-grid,
.legal-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 0;
  padding: 0;
  background: var(--ink);
}

.gallery-strip img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.number-item {
  display: grid;
  align-content: space-between;
  min-height: 168px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.number-item strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.1;
}

.number-item span {
  display: block;
  font-size: 14px;
}

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

.spec-list article,
.payment-grid article {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.feature-image {
  margin-top: 42px;
}

.feature-image img {
  max-height: 380px;
  object-fit: cover;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

th {
  color: var(--pine);
  font-size: 14px;
  text-transform: uppercase;
}

td {
  color: var(--soft-ink);
}

tr:last-child td {
  border-bottom: 0;
}

th:last-child,
td:last-child {
  border-right: 0;
}

.timeline-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(23, 24, 21, 0.2);
}

.timeline article {
  display: grid;
  grid-template-columns: 72px minmax(0, 180px) minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(23, 24, 21, 0.2);
}

.timeline span,
.payment-grid span {
  color: var(--brass);
  font-weight: 800;
}

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

.payment-grid strong {
  font-size: 18px;
  text-transform: uppercase;
}

.faq-grid details {
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq-grid summary {
  min-height: 62px;
  padding: 20px 44px 20px 20px;
  color: var(--pine);
  font-weight: 800;
  cursor: pointer;
}

.faq-grid p {
  padding: 0 20px 20px;
}

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

.price-layout {
  align-items: center;
  padding: 64px;
  color: var(--white);
  background: var(--pine);
}

.price-layout h2 {
  color: var(--white);
}

.price-layout p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.price-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.price-layout .button--dark {
  color: var(--ink);
  background: var(--white);
}

.price-layout .button--ghost-dark {
  color: var(--white);
}

.site-footer {
  padding: 58px 0;
  color: var(--white);
  background: var(--ink);
}

.site-footer__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-footer p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer address {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  outline: 0;
}

@media (max-width: 1050px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 40px;
  }

  .numbers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .payment-grid,
  .plan-grid,
  .summary-grid,
  .trust-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-layout {
    padding: 46px;
  }
}

@media (max-width: 820px) {
  :root {
    --pad: 18px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand__text {
    max-width: 180px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 16px 18px 24px;
    color: var(--ink);
    background: rgba(247, 248, 244, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 70px rgba(15, 21, 17, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 50px;
    padding: 0;
    border-width: 0 0 1px;
    border-color: var(--line);
    border-radius: 0;
  }

  .site-nav .site-nav__call {
    justify-content: center;
    margin: 16px 0 0;
    padding: 0 14px;
    color: var(--white);
    background: var(--pine);
    border: 1px solid var(--pine);
    border-radius: 4px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero__content {
    width: min(var(--max), calc(100% - 36px));
    padding: 120px 0 36px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__facts {
    grid-template-columns: 1.2fr 1fr 0.7fr;
    margin-top: 34px;
  }

  .hero__facts div {
    min-height: 82px;
    padding: 14px 12px;
  }

  .hero__facts dt {
    font-size: 12px;
  }

  .hero__facts dd {
    font-size: 16px;
    white-space: nowrap;
  }

  .section {
    padding: 76px 0;
  }

  .section__inner,
  .site-footer__inner {
    width: min(var(--max), calc(100% - 36px));
  }

  .intro-grid,
  .story-layout,
  .split-section,
  .specs-layout,
  .timeline-layout,
  .map-layout,
  .summary-layout,
  .trust-layout,
  .legal-layout,
  .price-layout,
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .gallery-strip img {
    height: 360px;
  }

  .timeline article {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px 18px;
  }

  .timeline article p {
    grid-column: 2;
  }

  .price-actions {
    justify-content: flex-start;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .brand__text {
    display: none;
  }

  .hero__media {
    object-position: 52% center;
  }

  .hero__content {
    padding: 96px 0 24px;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero__actions {
    gap: 10px;
    margin-top: 24px;
  }

  .hero__facts {
    margin-top: 24px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .payment-grid,
  .plan-grid,
  .spec-list,
  .numbers-grid,
  .distance-grid,
  .summary-grid,
  .trust-grid,
  .legal-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .number-item {
    min-height: 128px;
  }

  .plan-card {
    padding: 14px;
  }

  .price-layout {
    padding: 32px 22px;
  }
}
