:root {
  --green: #18ca14;
  --green-dark: #10a30d;
  --amber: #fabd19;
  --amber-dark: #e5a808;
  --grey: #efecec;
  --olive: #906d0f;
  --ink: #000000;
  --body: #4c4c4c;
  --muted: #6f6f6f;
  --white: #ffffff;
  --line: #dcd8d8;
  --shell: 1180px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --display: "Saira Condensed", "Poppins", "Arial Narrow", sans-serif;
  --shadow-btn: 6px 6px 0 rgba(0, 0, 0, 0.16);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-dark);
}

h1,
h2,
h3 {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0 0 18px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.topbar {
  background: var(--grey);
  text-align: center;
}

.topbar__text {
  margin: 0;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--olive);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header--stuck {
  background: rgba(28, 21, 3, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}

.logo__dot {
  color: var(--green);
}

.logo--footer {
  margin: 0 0 16px;
  font-size: 38px;
}

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

.nav__link {
  position: relative;
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  padding: 6px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  width: 46px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.burger--open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger--open span:nth-child(2) {
  opacity: 0;
}

.burger--open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  display: inline-block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 15px 38px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.14);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: scale(1);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn--white {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: var(--shadow-btn);
}

.btn--small {
  padding: 11px 24px;
  font-size: 15px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--olive);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  animation: kenburns 26s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(144, 109, 15, 0.94), rgba(96, 71, 6, 0.9));
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
}

.hero__glow--a {
  top: -120px;
  left: -80px;
  background: var(--amber);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__glow--b {
  right: -100px;
  bottom: -140px;
  background: var(--green);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.hero__inner {
  text-align: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero__title {
  font-size: clamp(38px, 6.4vw, 66px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 22px;
}

.hero__text {
  max-width: 640px;
  margin: 0 auto 38px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.welcome {
  position: relative;
  background: var(--grey);
  padding: 0 0 90px;
}

.welcome__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.welcome__media {
  position: relative;
  margin-left: auto;
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  background: var(--amber);
}

.welcome__media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.welcome__media::after,
.profile__media::after,
.slider__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--amber);
  mix-blend-mode: multiply;
  opacity: 0.42;
}

.welcome__media:hover img {
  transform: scale(1.04);
}

.welcome__card {
  position: relative;
  z-index: 2;
  background: var(--green);
  color: var(--white);
  padding: 48px 46px 52px;
  max-width: 620px;
  margin: -190px 0 0;
  box-shadow: var(--shadow-card);
}

.welcome__title {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 20px;
}

.welcome__card p {
  color: rgba(255, 255, 255, 0.95);
}

.welcome__card .btn {
  margin-top: 12px;
}

.section__title {
  font-size: clamp(30px, 4vw, 42px);
  text-align: center;
}

.section__title--left {
  text-align: left;
}

.section__lead {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
}

.section__title--left + .section__lead {
  margin-left: 0;
  text-align: left;
}

.pillars {
  background: var(--white);
  padding: 96px 0;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 54px;
}

.pillar {
  text-align: center;
  padding: 26px 12px;
  transition: transform 0.3s var(--ease);
}

.pillar:hover {
  transform: translateY(-6px);
}

.pillar__icon {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 22px;
}

.pillar__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile {
  background: var(--grey);
}

.profile__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 0;
}

.profile__media {
  position: relative;
  overflow: hidden;
  background: var(--amber);
  align-self: stretch;
}

.profile__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.profile__media:hover img {
  transform: scale(1.04);
}

.profile__card {
  padding: 70px 20px 70px 64px;
}

.profile__card .btn {
  margin-top: 10px;
}

.catalogue {
  background: var(--white);
  padding: 96px 0;
}

.catalogue__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 54px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.card--wide {
  grid-column: span 1;
  border-color: transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--green), var(--amber)) border-box;
  border: 3px solid transparent;
}

.card__media {
  overflow: hidden;
  background: var(--grey);
}

.card__media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.card__name {
  font-size: 19px;
  margin-bottom: 10px;
}

.card__text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.card__price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--green-dark);
  margin: auto 0 18px;
}

.card__body .btn {
  align-self: flex-start;
}

.catalogue__note {
  margin: 40px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.how {
  background: var(--grey);
  padding: 96px 0;
}

.how__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 54px;
}

.how__step {
  background: var(--white);
  padding: 34px 28px 28px;
  border-top: 5px solid var(--green);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.how__step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.how__num {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 14px;
}

.how__name {
  font-size: 19px;
  margin-bottom: 10px;
}

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

.gallery {
  background: var(--white);
  padding: 96px 0;
}

.slider {
  position: relative;
  margin-top: 54px;
  background: var(--amber);
}

.slider__viewport {
  position: relative;
  overflow: hidden;
}

.slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s var(--ease);
}

.slider__slide {
  flex: 0 0 100%;
}

.slider__slide img {
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  object-fit: cover;
}

.slider__next {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--green);
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider__next:hover,
.slider__next:focus-visible {
  background: var(--green-dark);
  transform: translateX(4px);
}

.slider__next svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-note {
  background: var(--grey);
  padding: 84px 0;
}

.privacy-note__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  margin-top: 28px;
}

.privacy-note__cols p {
  margin: 0;
}

.footer__green {
  background: var(--green);
  color: var(--white);
  padding: 72px 0;
}

.footer__green-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
}

.footer__title {
  font-size: 30px;
  color: var(--white);
  margin-bottom: 18px;
}

.footer__text {
  color: rgba(255, 255, 255, 0.94);
}

.footer__contacts li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.94);
}

.footer__contacts a,
.footer__links a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer__black {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 78px 0 0;
}

.footer__black-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
}

.footer__media {
  overflow: hidden;
  background: var(--amber);
}

.footer__media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.footer__media:hover img {
  transform: scale(1.04);
}

.footer__about .footer__text {
  color: rgba(255, 255, 255, 0.78);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 48px;
  margin: 0;
}

.footer__bottom {
  margin-top: 60px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer__bottom p {
  margin: 0;
  font-size: 14px;
}

.footer__bottom a {
  color: var(--green);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  height: 4px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
}

.legal {
  padding: 70px 0 96px;
}

.legal__head {
  max-width: 820px;
  margin-bottom: 44px;
}

.legal__title {
  font-size: clamp(32px, 4.6vw, 46px);
  margin-bottom: 16px;
}

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

.legal__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 100px;
  background: var(--grey);
  padding: 28px 26px;
}

.legal__toc h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.legal__toc li {
  margin-bottom: 9px;
}

.legal__toc a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
}

.legal__toc a:hover,
.legal__toc a:focus-visible {
  color: var(--green-dark);
  text-decoration: underline;
}

.legal__body h2 {
  font-size: 24px;
  margin: 44px 0 14px;
  scroll-margin-top: 110px;
}

.legal__body h2:first-child {
  margin-top: 0;
}

.legal__body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
}

.legal__body li {
  margin-bottom: 8px;
}

@keyframes kenburns {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.5%, -1.5%, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(60px, 40px, 0);
  }
}

@media (max-width: 1024px) {
  .pillars__grid,
  .how__list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .profile__card {
    padding: 52px 20px 64px;
  }

  .legal__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal__toc {
    position: static;
  }
}

@media (max-width: 860px) {
  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: #1c1503;
    transition: max-height 0.35s var(--ease);
  }

  .nav--open {
    max-height: 320px;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header__inner {
    position: relative;
  }

  .welcome__media {
    max-width: 100%;
  }

  .welcome__card {
    margin-top: -80px;
    max-width: 100%;
    padding: 36px 28px 40px;
  }

  .privacy-note__cols,
  .footer__green-inner,
  .footer__black-inner {
    grid-template-columns: 1fr;
  }

  .footer__black-inner {
    gap: 34px;
  }
}

@media (max-width: 560px) {
  .pillars__grid,
  .how__list {
    grid-template-columns: 1fr;
  }

  .pillars,
  .catalogue,
  .how,
  .gallery {
    padding: 64px 0;
  }

  .hero {
    min-height: 460px;
  }

  .hero__inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .welcome__media img {
    height: 300px;
  }

  .slider__next {
    width: 56px;
    height: 56px;
  }

  .btn {
    padding: 13px 28px;
    font-size: 16px;
  }

  .logo {
    font-size: 28px;
  }
}

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

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

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