:root {
  --ink: #17231f;
  --muted: #617068;
  --paper: #f5f1e9;
  --paper-deep: #ece5d9;
  --white: #fffdf9;
  --forest: #0d3b2e;
  --forest-2: #14513e;
  --mint: #d9e7df;
  --gold: #c6944d;
  --line: rgba(23, 35, 31, 0.14);
  --shadow: 0 22px 60px rgba(13, 59, 46, 0.12);
  --radius: 26px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(198, 148, 77, 0.65);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.narrow {
  width: min(calc(100% - 40px), 800px);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

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

.section--deep {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(198, 148, 77, 0.15), transparent 28%),
    var(--forest);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--forest-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section--deep .eyebrow {
  color: #f2c883;
}

h1,
h2,
h3 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  font-size: clamp(48px, 7vw, 88px);
}

h2 {
  max-width: 840px;
  font-size: clamp(38px, 5vw, 60px);
}

h3 {
  font-size: clamp(25px, 3vw, 34px);
}

p {
  margin: 0 0 22px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}

.section--deep .lead {
  color: rgba(255, 253, 249, 0.72);
}

.text-muted {
  color: var(--muted);
}

.text-small {
  font-size: 14px;
}

.header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 35, 31, 0.09);
  background: rgba(245, 241, 233, 0.9);
  backdrop-filter: blur(18px);
}

.topbar {
  padding: 8px 0;
  color: rgba(255, 253, 249, 0.75);
  background: var(--forest);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar p {
  margin: 0;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  font-weight: 700;
}

.topbar__contacts a,
.topbar__contacts > span {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.topbar__contacts span span,
.footer__phones span span,
.cta-panel__phones span span,
.contact-card__phones span span {
  font: inherit;
  opacity: 0.72;
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.logo__mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--forest);
  font-family: Georgia, serif;
  font-size: 22px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav__links a {
  position: relative;
  padding: 28px 0;
  color: #34433d;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.nav__links a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 0.25s ease;
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta,
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav__links .nav__cta {
  padding: 14px 22px;
  border: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
}

.nav__links .nav__cta::after {
  display: none;
}

.nav__links .nav__cta:hover {
  transform: translateY(-2px);
  background: var(--forest-2);
  box-shadow: 0 12px 26px rgba(13, 59, 46, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--forest-2);
  box-shadow: 0 12px 26px rgba(13, 59, 46, 0.18);
}

.btn--light {
  color: var(--forest);
  background: var(--white);
}

.btn--light:hover {
  background: #f8f3e9;
}

.btn--outline {
  border: 1px solid rgba(13, 59, 46, 0.25);
  color: var(--forest);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(13, 59, 46, 0.07);
}

.btn[disabled],
.nav__cta[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span {
  opacity: 0;
}

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

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

.hero {
  position: relative;
  min-height: 750px;
  overflow: hidden;
  background: var(--forest);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 35, 27, 0.98) 0%, rgba(8, 35, 27, 0.87) 40%, rgba(8, 35, 27, 0.22) 74%, rgba(8, 35, 27, 0.06) 100%),
    linear-gradient(0deg, rgba(8, 35, 27, 0.65), transparent 45%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 750px;
  align-items: center;
  padding: 90px 0 70px;
  grid-template-columns: minmax(0, 700px) 1fr;
}

.hero h1 {
  color: var(--white);
}

.hero .eyebrow {
  color: #f2c883;
}

.hero .btn--outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero__lead {
  max-width: 655px;
  margin: 26px 0 34px;
  color: rgba(255, 253, 249, 0.78);
  font-size: clamp(19px, 2vw, 24px);
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 42px;
  color: rgba(255, 253, 249, 0.75);
  font-size: 14px;
}

.hero__facts span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero__facts span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--gold);
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.trust-strip__inner {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 142px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.section-head > div {
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
}

.card h3 {
  margin-bottom: 14px;
  font-size: 29px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 46px;
  place-items: center;
  border: 1px solid rgba(13, 59, 46, 0.2);
  border-radius: 50%;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.card__link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--forest);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.card__link::after {
  margin-left: 9px;
  content: "→";
}

.card--accent {
  color: var(--white);
  background: var(--forest);
}

.card--accent p {
  color: rgba(255, 253, 249, 0.7);
}

.card--accent .card__link {
  color: #f2c883;
}

.feature-list,
.check-list,
.footer__links,
.article-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line);
}

.feature-list li:last-child,
.check-list li:last-child {
  border-bottom: 0;
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  content: "";
  transform: rotate(-45deg);
}

.media-split {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.media-split--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.media-split__image {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-split__badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 230px;
  padding: 22px;
  border-radius: 18px;
  color: var(--white);
  background: rgba(13, 59, 46, 0.94);
  backdrop-filter: blur(10px);
}

.media-split__badge strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.pricing-grid {
  display: grid;
  align-items: stretch;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.price-card--featured {
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow);
  transform: translateY(-18px);
}

.price-card__tag {
  align-self: flex-start;
  padding: 7px 12px;
  margin-bottom: 30px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card--featured .price-card__tag {
  color: var(--forest);
  background: #f2c883;
}

.price-card__term {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card--featured .price-card__term,
.price-card--featured .price-card__note {
  color: rgba(255, 253, 249, 0.65);
}

.price-card__price {
  margin: 10px 0 0;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-card__price span {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.price-card__total {
  margin: 12px 0 24px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
}

.price-card ul {
  padding: 22px 0 0;
  margin: auto 0 28px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-card--featured ul {
  border-color: rgba(255, 255, 255, 0.15);
}

.price-card li {
  padding: 7px 0 7px 23px;
  position: relative;
  font-size: 15px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✓";
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
}

.district-card {
  min-height: 330px;
}

.district-card__label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.district-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.district-card__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 0;
  counter-reset: step;
  grid-template-columns: repeat(4, 1fr);
}

.timeline__item {
  position: relative;
  padding: 0 28px 0 0;
  counter-increment: step;
}

.timeline__item::before {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  content: counter(step, decimal-leading-zero);
  font-family: Georgia, serif;
}

.timeline__item::after {
  position: absolute;
  top: 26px;
  right: 20px;
  left: 70px;
  height: 1px;
  content: "";
  background: var(--line);
}

.timeline__item:last-child::after {
  display: none;
}

.timeline__item h3 {
  font-size: 24px;
}

.timeline__item p {
  color: var(--muted);
  font-size: 15px;
}

.quote {
  padding: 42px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  font-family: Georgia, serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.35;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 0;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.3;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 22px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 820px;
  padding: 0 70px 26px 0;
  color: var(--muted);
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 50px;
  padding: clamp(40px, 7vw, 80px);
  border-radius: 34px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(13, 59, 46, 0.98), rgba(13, 59, 46, 0.78)),
    url("images/lease-documents.webp") center / cover;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
}

.cta-panel h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.cta-panel .eyebrow {
  color: #f2c883;
}

.cta-panel p {
  max-width: 650px;
  color: rgba(255, 253, 249, 0.7);
}

.cta-panel .btn--outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.cta-panel__side {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-panel__phones {
  display: grid;
  gap: 4px;
  margin: 6px 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(22px, 2vw, 28px);
}

.cta-panel__phones a,
.cta-panel__phones > span {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.page-hero {
  position: relative;
  padding: 112px 0 90px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 25%, rgba(198, 148, 77, 0.22), transparent 28%),
    var(--forest);
}

.page-hero::after {
  position: absolute;
  top: -120px;
  right: -50px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 78px);
}

.page-hero .eyebrow {
  color: #f2c883;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 253, 249, 0.72);
  font-size: 20px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 36px;
  color: rgba(255, 253, 249, 0.62);
  font-size: 13px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
}

.breadcrumbs a {
  text-decoration: none;
}

.stats {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 40px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: var(--muted);
  background: #f0ece4;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.contact-grid {
  display: grid;
  align-items: start;
  gap: 30px;
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.contact-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.form-shell {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--forest);
}

.form-shell h2 {
  font-size: 42px;
}

.form-shell fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.form-shell fieldset:disabled {
  opacity: 0.78;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(255, 253, 249, 0.75);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 253, 249, 0.38);
}

.field select option {
  color: var(--ink);
}

.form-note {
  margin-top: 14px;
  color: rgba(255, 253, 249, 0.55);
  font-size: 13px;
}

.article-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.article-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.article-card__image {
  height: 235px;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.035);
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px;
}

.article-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-card h2,
.article-card h3 {
  font-size: 29px;
}

.article-card p {
  color: var(--muted);
  font-size: 15px;
}

.article-card .card__link {
  margin-top: auto;
}

.article-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.article-hero__image {
  position: absolute;
  inset: 0;
}

.article-hero__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(7, 31, 24, 0.96) 0%, rgba(7, 31, 24, 0.38) 68%, rgba(7, 31, 24, 0.1));
}

.article-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 120px 0 70px;
}

.article-hero h1 {
  max-width: 1000px;
  font-size: clamp(45px, 7vw, 75px);
}

.article-hero .breadcrumbs {
  margin-bottom: 28px;
}

.article-hero .article-meta {
  color: rgba(255, 253, 249, 0.72);
}

.article-body {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
}

.article-content {
  color: #27352f;
}

.article-content h2 {
  margin-top: 62px;
  font-size: clamp(33px, 4vw, 46px);
}

.article-content h3 {
  margin-top: 38px;
  font-size: 28px;
}

.article-content p,
.article-content li {
  font-size: 18px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin: 0 0 26px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content blockquote {
  padding: 28px 30px;
  margin: 38px 0;
  border-left: 3px solid var(--gold);
  border-radius: 0 18px 18px 0;
  color: var(--forest);
  background: var(--white);
  font-family: Georgia, serif;
  font-size: 25px;
}

.article-aside {
  position: sticky;
  top: 120px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.article-aside strong {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 500;
}

.article-aside a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.article-aside a:hover {
  color: var(--forest);
}

.notice {
  padding: 22px 24px;
  border: 1px solid rgba(198, 148, 77, 0.34);
  border-radius: 16px;
  background: #fff8e9;
  color: #5a492f;
  font-size: 14px;
}

.footer {
  padding: 76px 0 30px;
  color: rgba(255, 253, 249, 0.72);
  background: #08271e;
}

.footer__top {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 58px;
  grid-template-columns: 1.25fr 0.65fr 0.75fr minmax(285px, 1.15fr);
}

.footer .logo {
  color: var(--white);
}

.footer__about {
  max-width: 340px;
  margin-top: 22px;
  font-size: 14px;
}

.footer h3 {
  margin-bottom: 20px;
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__phones {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 21px;
}

.footer__phones a,
.footer__phones > span {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.contact-card__phones {
  display: grid;
  gap: 5px;
  margin-top: 5px;
  font-size: 20px;
  font-weight: 700;
}

.contact-card__phones a,
.contact-card__phones > span {
  color: var(--ink);
  text-decoration: none;
}

.footer .socials a {
  border-color: rgba(255, 255, 255, 0.18);
}

.footer__bottom {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.footer__legal {
  max-width: 600px;
}

.footer__legal p {
  margin: 0 0 4px;
}

.error-page {
  display: grid;
  min-height: 75vh;
  place-items: center;
  text-align: center;
}

.error-page__code {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: clamp(90px, 20vw, 220px);
  line-height: 0.8;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: calc(100dvh - 121px);
    padding: 30px 20px 60px;
    overflow-y: auto;
    background: var(--paper);
  }

  .nav-open .nav__links {
    display: block;
  }

  .nav__links a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, serif;
    font-size: 27px;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__cta {
    margin: 22px 0;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

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

  .price-card--featured {
    transform: none;
  }

  .timeline {
    gap: 40px 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline__item:nth-child(2)::after {
    display: none;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer__top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    align-items: flex-start;
  }

  .topbar__contacts {
    display: grid;
    gap: 2px;
    text-align: right;
  }

  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section--tight {
    padding: 54px 0;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar p:first-child {
    display: none;
  }

  .nav {
    min-height: 72px;
  }

  .nav__links {
    height: calc(100dvh - 105px);
  }

  .hero,
  .hero__inner {
    min-height: 720px;
  }

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

  .hero__media img {
    object-position: 64% center;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(8, 35, 27, 0.94), rgba(8, 35, 27, 0.65));
  }

  .hero__facts {
    display: grid;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip .container {
    width: 100%;
  }

  .trust-strip__inner {
    border-radius: 0;
    box-shadow: none;
  }

  .trust-item {
    min-height: 122px;
    padding: 24px 20px;
  }

  .trust-item strong {
    font-size: 24px;
  }

  .section-head {
    display: block;
    margin-bottom: 34px;
  }

  .section-head .btn {
    margin-top: 20px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .pricing-grid,
  .article-grid,
  .contact-grid,
  .media-split,
  .media-split--reverse,
  .stats {
    grid-template-columns: 1fr;
  }

  .media-split--reverse .media-split__image {
    order: 1;
  }

  .media-split--reverse > div:not(.media-split__image) {
    order: 2;
  }

  .media-split__image {
    min-height: 430px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

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

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

  .timeline__item::after {
    display: none;
  }

  .cta-panel {
    padding: 36px 24px;
  }

  .page-hero {
    padding: 82px 0 68px;
  }

  .article-hero {
    min-height: 680px;
  }

  .article-body {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    order: -1;
  }

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

  .field--full {
    grid-column: auto;
  }

  .footer__top {
    gap: 36px;
    grid-template-columns: 1fr 1fr;
  }

  .footer__top > div:first-child {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    display: block;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  .logo {
    font-size: 16px;
  }

  .logo__mark {
    width: 35px;
    height: 35px;
  }

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

  .footer__top > div:first-child {
    grid-column: auto;
  }

  .hero__actions .btn,
  .button-row .btn {
    width: 100%;
  }

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

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .card {
    padding: 26px;
  }

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

  .faq summary {
    font-size: 20px;
  }

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

  .footer__top > div:first-child {
    grid-column: auto;
  }
}
