.home-page {
  --ink: #172e26;
  --text: #485d51;
  --sage: #e5ecdd;
  --line: #d5ded1;
  --lime: #d8f568;
  --home-paper: #f8f8f2;
  --home-dark: #17372d;
  background: var(--home-paper);
}

.home-page .container {
  width: min(1200px, calc(100% - clamp(36px, 8vw, 112px)));
}

.home-page .header {
  background: rgb(248 248 242 / 96%);
  border-color: var(--line);
}

.home-page .nav-wrap {
  min-height: 72px;
  gap: clamp(14px, 2.6vw, 37px);
}

.home-page .navigation a {
  display: block;
  font-weight: 600;
}

.home-page .navigation a::after {
  display: none;
}

.home-page .navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-page .button {
  border-radius: 12px;
  font-weight: 650;
}

.home-page .nav-cta {
  min-height: 44px;
  padding: 11px 17px;
  background: var(--home-dark);
  color: white;
  white-space: nowrap;
}

.home-page .hero {
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 76px);
  padding-block: clamp(36px, 5.6vw, 82px);
}

.home-page .hero h1 {
  font-size: clamp(46px, 5.15vw, 76px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 680;
  margin: 0;
}

.home-page .hero-accent {
  display: block;
  color: #4a6350;
}

.home-page .hero-description {
  max-width: 31em;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.58;
  margin-top: 24px;
}

.home-page .hero-actions {
  gap: 12px;
  margin-top: 29px;
}

.home-page .hero-actions .button {
  min-height: 50px;
  padding-inline: 18px;
  font-size: 15px;
}

.home-page .hero-actions .button-outline {
  border-color: #aab9a9;
}

.home-page .hero .hero-visual {
  display: block;
  min-height: 0;
  aspect-ratio: 1.14;
  margin: 0;
  align-self: center;
  border: 1px solid #d1dbcb;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 45%, #edf3e8 0%, #e5ecdf 54%, transparent 87%),
    repeating-linear-gradient(90deg, transparent 0 39px, #cbd9c980 39px 40px),
    repeating-linear-gradient(0deg, #dce7d9 0 39px, #cbd9c9 39px 40px);
}

.home-page .hero .hero-visual::before {
  content: "";
  position: absolute;
  inset: 9% 15% 13%;
  border: 1px solid #c5d5c2;
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgb(196 213 194 / 15%);
}

.home-page .hero-equipment .equipment-art {
  padding: 14px 17px 40px;
  filter: drop-shadow(0 18px 17px rgb(28 67 48 / 14%));
}

.home-page .hero-equipment figcaption {
  bottom: 14px;
  left: 15px;
  right: 15px;
  color: #3d5648;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}

.home-page .home-catalog {
  padding: 0 0 clamp(50px, 7vw, 92px);
  scroll-margin-top: 0;
}

.home-page .home-catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin-bottom: 22px;
}

.home-page main h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.09;
  font-weight: 640;
  letter-spacing: -.048em;
}

.home-page .home-text-link {
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.home-page .home-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-page .home-offer {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 12px;
  overflow: clip;
  border-radius: 19px;
  border: 1px solid #d3ded0;
  padding: clamp(20px, 3vw, 35px);
}

.home-page .home-offer-turnstile {
  background: var(--home-dark);
  color: white;
  border-color: var(--home-dark);
}

.home-page .home-offer-barrier {
  background: #e6eddf;
}

.home-page .home-offer > .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 7px;
  color: #405a47;
}

.home-page .home-offer-turnstile > .icon {
  color: var(--lime);
}

.home-page .home-offer h3 {
  font-size: clamp(22px, 2.75vw, 37px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.home-page .home-offer h3 a {
  text-decoration: none;
}

.home-page .home-offer h3 a::after {
  position: absolute;
  content: "";
  inset: 0;
}

.home-page .home-offer h3 a span {
  margin-left: 3px;
  font-size: .65em;
  vertical-align: .17em;
}

.home-page .home-offer:focus-within {
  outline: 3px solid #536e47;
  outline-offset: 3px;
}

.home-page .home-offer h3 a:hover,
.home-page .home-catalog-links a:hover > span:nth-child(2) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .19em;
}

.home-page .home-offer p {
  line-height: 1.53;
  color: var(--text);
}

.home-page .home-offer-turnstile p,
.home-page .home-offer-turnstile .home-offer-cost span {
  color: #d9e7da;
}

.home-page .home-offer-cost {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 11px;
  margin-top: 8px;
}

.home-page .home-offer-cost strong {
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.28;
  white-space: nowrap;
  letter-spacing: -.04em;
}

.home-page .home-offer-cost span {
  color: var(--text);
  font-size: 14px;
}

.home-page .home-catalog-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.home-page .home-catalog-links li {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.home-page .home-catalog-links a {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 12px 8px 12px 5px;
  text-decoration: none;
  line-height: 1.4;
  font-weight: 620;
}

.home-page .home-catalog-links .icon {
  width: 20px;
  height: 20px;
  color: #4a6450;
}

.home-page .section {
  padding-block: clamp(46px, 6.7vw, 88px);
}

.home-page .section-heading {
  gap: 20px clamp(28px, 6vw, 80px);
  margin-bottom: clamp(24px, 3.3vw, 43px);
}

.home-page #turnstile {
  border-top: 1px solid var(--line);
}

.home-page #turnstile .journey-grid {
  background: #fcfcf8;
}

.home-page .section-price {
  border-left: 2px solid #a9bfa3;
  padding-left: 20px;
}

.home-page .section-price > span,
.home-page .barrier-included li > span {
  color: var(--text);
}

.home-page .passage-note {
  line-height: 1.6;
  border-color: #b0c2a6;
}

.home-page .turnstile-media-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
}

.home-page .turnstile-media-grid video,
.home-page .turnstile-media-grid img {
  aspect-ratio: auto;
  width: 100%;
  height: clamp(180px, 30vw, 357px);
}

.home-page .turnstile-media-grid video {
  object-fit: contain;
}

.home-page .terminal-option,
.home-page .calculator-layout,
.home-page .feedback-panel,
.home-page .site-contacts-inner {
  background: #edf2e7;
  border: 1px solid var(--line);
}

.home-page .barrier-section {
  background: #e8eee3;
  padding-block: clamp(46px, 6.7vw, 88px);
}

.home-page .barrier-layout {
  align-items: center;
}

.home-page .barrier-illustration {
  background: #dce7d6;
  border-color: #cdd9c8;
  border-radius: 20px;
}

.home-page .barrier-included {
  background: #f5f7f0;
}

.home-page #scenarios .journey-grid {
  background: transparent;
}

.home-page #scenarios .journey-grid p + p {
  grid-column: 2;
}

.home-page #skud-project {
  margin-bottom: 0;
  background: var(--home-dark);
}

.home-page #skud-project p {
  max-width: 54ch;
  color: #e3ebe1;
  line-height: 1.55;
}

.home-page .pricing-card {
  border-color: var(--line);
  background: #edf2e7;
}

.home-page .pricing-card-highlight {
  background: var(--home-dark);
  border-color: var(--home-dark);
}

.home-page .pricing-calculator,
.home-page .faq-section,
.home-page .site-contacts {
  padding-top: 0;
}

.home-page #turnstile-video,
.home-page #feedback {
  scroll-margin-top: 0;
}

.home-page .faq-section {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr);
}

.home-page .footer {
  background: var(--home-dark);
  color: #f5f8ee;
  border-top: 0;
}

.home-page .footer-top {
  flex-wrap: wrap;
  gap: 11px 30px;
  padding-block: 28px;
}

.home-page .footer-top > p,
.home-page .footer-bottom,
.home-page .footer-bottom a,
.home-page .footer-resources a {
  color: #e0eadf;
}

.home-page .footer-resources {
  justify-content: flex-start;
  flex: 1 1 100%;
  padding-top: 6px;
}

.home-page .footer-bottom {
  border-color: #647f70;
}

@media (max-width: 880px) {
  .home-page .hero {
    gap: 24px;
  }

  .home-page .hero-actions .button {
    padding-inline: 13px;
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .home-page .nav-wrap {
    min-height: 64px;
    gap: 10px;
  }

  .home-page .navigation {
    top: 64px;
    background: var(--home-paper);
  }

  .home-page .navigation.open {
    align-items: stretch;
    gap: 4px !important;
  }

  .home-page .navigation a {
    padding: 10px 0;
  }

  .home-page .menu-button {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
  }

  .home-page .nav-cta {
    padding: 9px 11px;
    min-height: 44px;
  }

  .home-page .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-block: 32px 43px;
  }

  .home-page .hero h1 {
    font-size: clamp(36px, 9.3vw, 58px);
  }

  .home-page .hero-description {
    margin-top: 16px;
  }

  .home-page .hero-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 19px;
  }

  .home-page .hero .hero-visual {
    aspect-ratio: 1.31;
    border-radius: 17px;
  }

  .home-page .hero-equipment .equipment-art {
    padding: 5px 10px 32px;
  }

  .home-page .hero-equipment figcaption {
    bottom: 10px;
  }

  .home-page .home-catalog-heading {
    margin-bottom: 16px;
  }

  .home-page .section-price {
    margin-top: 18px;
    padding-left: 14px;
  }

  .home-page .turnstile-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-page .turnstile-media-grid figure:first-child {
    grid-column: 1 / -1;
  }

  .home-page .turnstile-media-grid video {
    height: auto;
    aspect-ratio: 1.26;
  }

  .home-page .turnstile-media-grid img {
    height: auto;
    aspect-ratio: 1;
  }

  .home-page .turnstile-media-grid figcaption {
    padding: 8px 10px;
    font-size: 14px;
  }

  .home-page .footer-top > p {
    margin-left: 0;
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 510px) {
  .home-page .home-products {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .home-page .home-offer {
    padding: 17px;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 8px;
  }

  .home-page .home-offer > .icon {
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
  }

  .home-page .home-offer p,
  .home-page .home-offer-cost {
    grid-column: 2;
  }

  .home-page .home-offer-cost {
    margin-top: 0;
  }

  .home-page .home-catalog-links {
    grid-template-columns: minmax(0, 1fr);
  }
}
