@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #0d1210;
  --bg-alt: #101714;
  --surface: #16201b;
  --surface-2: #1c2822;
  --border: rgba(143, 194, 106, 0.14);
  --border-strong: rgba(143, 194, 106, 0.3);
  --moss: #8fc26a;
  --moss-deep: #4e8b52;
  --amber: #d9b24a;
  --heading: #ece6d8;
  --text: #c6cec3;
  --text-dim: #8b9689;
  --grad: linear-gradient(135deg, #4e8b52 0%, #8fc26a 55%, #d9b24a 100%);
  --font-head: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 84px;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.fixed {
  overflow: hidden;
}

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

a {
  color: var(--moss);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--amber);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader img {
  width: 84px;
  height: 84px;
}

html.hide .preloader {
  display: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 54px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 21px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--border-strong);
}

.btn {
  display: inline-block;
  padding: 17px 40px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #0b110e;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(78, 139, 82, 0.28);
  transition: box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.btn:hover {
  color: #0b110e;
  box-shadow: 0 18px 44px rgba(217, 178, 74, 0.34);
  transform: translateY(-2px);
}

@keyframes levitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero .btn--primary {
  animation: levitate 3s ease-in-out infinite;
}

.hero .btn--primary:hover {
  animation-play-state: paused;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(13, 18, 16, 0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

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

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

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

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--grad);
  transition: width 0.28s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.burger-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 32px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.burger-btn span {
  position: absolute;
  left: 6px;
  width: 28px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
}

.burger-btn span:nth-child(1) {
  top: 8px;
}

.burger-btn span:nth-child(2) {
  top: 15px;
}

.burger-btn span:nth-child(3) {
  top: 22px;
}

.burger-btn.act span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

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

.burger-btn.act span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  background: rgba(11, 16, 13, 0.98);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

#mobile-menu.opened {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu .nav {
  flex-direction: column;
  gap: 26px;
  text-align: center;
}

#mobile-menu .nav-link {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--heading);
}

.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 110px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(9, 13, 11, 0.96) 0%, rgba(11, 17, 14, 0.82) 42%, rgba(13, 18, 16, 0.34) 72%, rgba(13, 18, 16, 0.6) 100%),
    radial-gradient(circle at 78% 32%, rgba(217, 178, 74, 0.16), transparent 55%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero__content {
  max-width: 620px;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text p {
  margin-bottom: 18px;
  color: var(--text);
}

.hero__text p:last-child {
  color: var(--text-dim);
}

.hero .btn {
  margin-top: 20px;
}

.hero__img {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 118%;
  height: 78%;
  background: radial-gradient(ellipse at center, rgba(143, 194, 106, 0.2), transparent 68%);
}

.hero__img img {
  position: relative;
  max-height: 640px;
  width: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.section {
  position: relative;
  padding: 118px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(143, 194, 106, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 194, 106, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}

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

.split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 13, 11, 0.72) 100%);
  pointer-events: none;
}

.split__body h2 {
  margin-bottom: 24px;
}

.split__body p {
  margin-bottom: 18px;
}

.split__body p:last-of-type {
  margin-bottom: 0;
}

.split__body .btn {
  margin-top: 32px;
}

.list-title {
  display: block;
  margin: 32px 0 18px;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.list-carved li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--text);
}

.list-carved li:last-child {
  margin-bottom: 0;
}

.list-carved li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--moss);
  border-radius: 2px;
  transform: rotate(45deg);
  background: rgba(143, 194, 106, 0.18);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 62px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 22px;
}

.section-head p {
  margin-bottom: 16px;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--text-dim);
}

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

.feature-card {
  position: relative;
  padding: 34px 30px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__num {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  color: var(--text);
  margin: 0;
}

.note {
  margin-top: 54px;
  padding: 30px 34px;
  border-left: 2px solid var(--moss-deep);
  background: rgba(22, 32, 27, 0.7);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: var(--text-dim);
}

.footer {
  position: relative;
  padding: 96px 0 34px;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.footer__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 18, 16, 0.9) 0%, rgba(11, 16, 13, 0.96) 70%, #0b100d 100%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer__about h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.footer__about p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 460px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  align-content: flex-start;
}

.footer__links a {
  font-size: 15px;
  color: var(--text);
}

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

.footer__contact {
  margin-top: 22px;
  font-size: 15px;
  color: var(--text-dim);
}

.footer__bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer__bottom-links a {
  color: var(--text-dim);
}

.footer__bottom-links a:hover {
  color: var(--amber);
}

.legal-page {
  padding: calc(var(--header-h) + 70px) 0 100px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 44px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 26px;
  margin: 44px 0 18px;
}

.legal-content h3 {
  margin: 32px 0 14px;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 16px;
}

.legal-content p strong {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.legal-content ul {
  margin: 0 0 22px 0;
}

.legal-content li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 16px;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--moss);
  transform: rotate(45deg);
}

@media (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .nav {
    gap: 22px;
  }

  .section {
    padding: 90px 0;
  }

  .split {
    gap: 44px;
  }

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

  .hero__img img {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 22px;
  }

  .header .nav {
    display: none;
  }

  .burger-btn {
    display: block;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero {
    padding: calc(var(--header-h) + 50px) 0 70px;
    min-height: 0;
  }

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

  .hero__img {
    order: -1;
  }

  .hero__img img {
    max-height: 360px;
  }

  .section {
    padding: 72px 0;
  }

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

  .split--reverse .split__media {
    order: 0;
  }

  .section-head {
    margin-bottom: 44px;
  }

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

  .legal-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }

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

  .feature-card {
    padding: 28px 24px;
  }

  .note {
    padding: 24px 22px;
  }

  #mobile-menu .nav-link {
    font-size: 20px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
