:root {
  --ink: #1f2427;
  --ink-2: #2b3134;
  --ink-3: #3d4245;
  --fjord: #1f7a38;
  --ice: #8fe0a4;
  --ice-2: #d8f6e0;
  --copper: #2ec84e;
  --copper-2: #4ade68;
  --snow: #f4f7f5;
  --paper: #ffffff;
  --line: #dce6de;
  --muted: #5c6d65;
  --text: #2b3134;
  --shadow: 0 18px 50px rgba(31, 36, 39, 0.1);
  --glass: linear-gradient(165deg, rgba(28, 48, 36, 0.52) 0%, rgba(8, 14, 11, 0.46) 100%);
  --glass-border: rgba(46, 200, 78, 0.24);
  --glass-text: rgba(242, 246, 243, 0.7);
  --radius: 18px;
  --header: 78px;
  --ease: 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", sans-serif;
  color: #f2f6f3;
  background-color: #0c100e;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(12, 16, 14, 0.82) 0%, rgba(14, 22, 17, 0.66) 48%, rgba(10, 18, 14, 0.52) 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: rgba(10, 16, 13, 0.58);
  backdrop-filter: blur(28px) saturate(1.25);
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  border-bottom: 1px solid rgba(46, 200, 78, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.header::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 200, 78, 0.75), transparent);
  pointer-events: none;
}
.header.is-scrolled {
  background: rgba(8, 12, 10, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}
.header__inner {
  position: relative;
  z-index: 2;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  pointer-events: auto;
}
.logo {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header .logo {
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.logo img {
  position: relative;
  z-index: 1;
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.logo--footer {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: none;
  padding: 0.35rem 0.2rem;
  margin-bottom: 0.55rem;
}
.header .logo img,
.logo--footer img {
  filter: none;
  transform: translateZ(0);
}
.logo--footer img {
  height: 54px;
  max-width: 250px;
}
.logo-glow {
  position: absolute;
  left: 4%;
  top: 50%;
  width: 42%;
  height: 140%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at center, rgba(46, 200, 78, 0.55) 0%, rgba(46, 200, 78, 0.16) 42%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  animation: logoGlow 3.6s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.logo-glow--header { display: none; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
.nav__link {
  position: relative;
  z-index: 3;
  color: rgba(242, 246, 243, 0.72);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.7rem;
  border-radius: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: color var(--ease);
}
.nav__link:hover { color: #fff; background: none; }
.nav__link.is-active {
  color: var(--copper-2);
  background: none;
  box-shadow: none;
  font-weight: 600;
}
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--copper);
  box-shadow: 0 0 10px rgba(46, 200, 78, 0.7);
}
.header__actions { display: flex; align-items: center; gap: 0.55rem; }
.header__cta {
  min-height: 40px;
  padding: 0.45rem 1.1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 22px rgba(46, 200, 78, 0.28);
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 200, 78, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  height: 1.5px;
  margin: 5px 11px;
  background: #f2f6f3;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  padding: 0.4rem 0 1.1rem;
  border-top: 1px solid rgba(46, 200, 78, 0.16);
}
.mobile-nav .nav__link,
.mobile-nav .btn { display: block; margin: 0.3rem 0; }
.mobile-nav .nav__link {
  color: rgba(242, 246, 243, 0.82);
}
.mobile-nav .nav__link.is-active {
  background: rgba(46, 200, 78, 0.1);
  border-radius: 10px;
}
.mobile-nav .nav__link.is-active::after { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, #22b84a, #3ddc65);
  color: #fff;
  box-shadow: 0 8px 24px rgba(46, 200, 78, 0.32);
}
.header .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn--dark {
  background: var(--ink-2);
  color: #fff;
}
.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 2.2rem 0 1.6rem;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 200, 78, 0.32);
  background: rgba(46, 200, 78, 0.12);
  color: var(--copper-2);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-2);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--copper-2), #d8f6e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 1.8rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-card {
  background: rgba(14, 18, 16, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 1.45rem 1.45rem 0;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.15rem;
  align-items: center;
  padding: 0.15rem 0.1rem 1.35rem;
}
.route__item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  position: relative;
}
.route__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.7rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--copper);
  border-top: 2px solid var(--copper);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.flag-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 16px rgba(0, 0, 0, 0.28);
}
.flag-ico svg { display: block; width: 100%; height: 100%; }
.route__item > div { min-width: 0; }
.route b { display: block; font-size: 0.9rem; font-weight: 700; line-height: 1.2; color: #fff; }
.route__item > div span { color: rgba(255,255,255,0.52); font-size: 0.72rem; display: block; line-height: 1.3; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 -1.45rem;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.stats div {
  background: none;
  border-radius: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.stats div:first-child { border-left: 0; }
.stats__icon {
  display: block;
  width: 22px;
  height: 22px;
  margin-bottom: 0.5rem;
  color: var(--copper-2);
}
.stats__icon svg { width: 100%; height: 100%; display: block; }
.stats b { display: block; font-size: 1.02rem; color: var(--copper-2); font-weight: 700; margin-bottom: 0.15rem; }
.stats span { font-size: 0.78rem; color: rgba(255,255,255,0.62); }

.section { padding: 5rem 0; }
.hero + .section { padding-top: 2.2rem; }
.section--snow,
.section--ink { background: transparent; }
.section__head { max-width: 720px; margin-bottom: 2.4rem; }
.eyebrow {
  color: var(--copper-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  color: #fff;
}
.lead { color: rgba(255,255,255,0.72); font-size: 1.05rem; }

.grid-3, .grid-4, .grid-2 { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .flag, .step, .check, .req, .form {
  background: var(--glass);
  color: #f2f6f3;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.card:hover, .flag:hover, .step:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 222, 104, 0.5);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(46, 200, 78, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.card h3, .flag h3, .step h3 { font-size: 1.12rem; margin: 0.7rem 0 0.4rem; color: #fff; }
.card p, .flag p, .step p, .check p { color: var(--glass-text); }
.icon {
  width: auto;
  min-width: 46px;
  height: 32px;
  padding: 0 0.75rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(46, 200, 78, 0.16);
  color: var(--copper-2);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(46, 200, 78, 0.32);
  box-shadow: 0 0 16px rgba(46, 200, 78, 0.18);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step {
  min-height: 180px;
}
.step b {
  display: block;
  font-size: 1.6rem;
  color: var(--copper-2);
  letter-spacing: -0.04em;
}
.step h3 { margin: 0.45rem 0 0.35rem; font-size: 1.05rem; }
.step p { font-size: 0.95rem; }

.flags { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.flag {
  text-align: left;
}
.flag em {
  font-style: normal;
  font-weight: 800;
  color: var(--copper-2);
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(46, 200, 78, 0.45);
}
.flag h3 { margin: 0.5rem 0 0.3rem; }
.flag p { font-size: 0.95rem; }

.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.brand-chip {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(12, 18, 14, 0.45);
  color: #f2f6f3;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.brand-chip:hover {
  border-color: rgba(74, 222, 104, 0.55);
  color: var(--copper-2);
}

.checks { display: grid; gap: 0.8rem; }
.check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: 14px;
}
.check b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(46, 200, 78, 0.18);
  color: var(--copper-2);
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 200, 78, 0.32);
}

.faq__item { border-bottom: 1px solid rgba(255,255,255,0.16); }
.faq__btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.1rem 0;
  font-weight: 650;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq__btn::after { content: "+"; color: var(--copper); font-size: 1.3rem; }
.faq__item.is-open .faq__btn::after { content: "–"; }
.faq__body { display: none; color: rgba(255,255,255,0.7); padding: 0 0 1.1rem; }
.faq__item.is-open .faq__body { display: block; }

.cta {
  background: rgba(12, 18, 14, 0.45);
  border: 1px solid rgba(46, 200, 78, 0.28);
  backdrop-filter: blur(16px);
  color: #fff;
  border-radius: 24px;
  padding: 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.cta p { color: rgba(255,255,255,0.72); margin-top: 0.4rem; }
.cta__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.page-hero {
  background: transparent;
  color: #fff;
  padding: 3.4rem 0 3rem;
}
.page-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
}
.page-hero p { color: rgba(255,255,255,0.7); max-width: 640px; margin-top: 0.7rem; }

.doc-slot {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.doc-slot__head {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: flex-end;
  padding: 1.6rem 1.7rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.doc-slot__head h2 { margin-bottom: 0.45rem; }
.doc-slot__head p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  font-size: 0.98rem;
}
.doc-slot__head code {
  font-size: 0.86em;
  color: var(--copper-2);
}
.doc-slot__frame {
  min-height: 720px;
  background: rgba(6, 10, 8, 0.45);
}
.doc-slot__frame object {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: transparent;
}
.doc-slot__placeholder {
  min-height: 720px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
  padding: 2.4rem 1.5rem;
}
.doc-slot__placeholder b {
  color: #fff;
  font-size: 1.15rem;
}
.doc-slot__placeholder p {
  color: var(--glass-text);
  max-width: 420px;
  font-size: 0.95rem;
}
.doc-sheet {
  width: 118px;
  height: 156px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 12px 10px 0 -2px rgba(46, 200, 78, 0.12), 12px 10px 0 -1px rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 0.9rem;
  margin-bottom: 0.5rem;
}
.doc-sheet span {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}
.doc-sheet span:first-child {
  width: 42%;
  height: 8px;
  background: var(--copper-2);
  opacity: 0.85;
}
.doc-sheet span:nth-child(3) { width: 78%; }
.doc-sheet span:last-child { width: 62%; }

.service {
  display: flex;
  flex-direction: column;
  min-height: 230px;
}
.service a { color: var(--copper-2); font-weight: 650; margin-top: auto; padding-top: 1rem; }

.prose { max-width: 760px; }
.prose h2 { margin: 2rem 0 0.7rem; font-size: 1.4rem; color: #fff; }
.prose p, .prose li { color: rgba(255,255,255,0.76); margin-bottom: 0.8rem; }
.prose ul { padding-left: 1.1rem; list-style: disc; }

.req {
  white-space: pre-line;
}
.form {
  display: grid;
  gap: 0.85rem;
  border-radius: 22px;
  padding: 1.5rem;
}
.form label { font-weight: 600; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid rgba(46, 200, 78, 0.22);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: rgba(8, 14, 11, 0.55);
  color: #f2f6f3;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.38); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { color: var(--glass-text); font-size: 0.85rem; font-weight: 400; }
.success {
  background: rgba(46, 200, 78, 0.14);
  border: 1px solid rgba(46, 200, 78, 0.32);
  color: var(--ice-2);
  border-radius: 16px;
  padding: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
}
.side-card h3 { margin-bottom: 0.6rem; }
.side-card p { color: var(--glass-text); margin-bottom: 0.45rem; }

.footer {
  background: rgba(12, 16, 14, 0.78);
  backdrop-filter: blur(16px);
  color: #fff;
  padding: 3.2rem 0 1.4rem;
  margin-top: 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 1.6rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__about { color: rgba(255,255,255,0.62); margin: 1rem 0; }
.footer__title { font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--copper-2); }
.footer__list a, .footer__legal a, .footer__req { color: rgba(255,255,255,0.68); }
.footer__list li { margin-bottom: 0.4rem; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.9rem; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .mobile-nav.is-open { display: flex; flex-direction: column; gap: 0.2rem; }
  .header__actions .btn--ghost,
  .header__actions .header__tg { display: none; }
}
@media (max-width: 980px) {
  .hero__grid, .grid-3, .grid-4, .grid-2, .steps, .flags, .contact-grid, .footer__grid, .cta {
    grid-template-columns: 1fr;
  }
  .hero { padding: 1.4rem 0 1.2rem; }
  .header__actions .btn--ghost,
  .header__actions .header__tg { display: none; }
  .cta, .footer__bottom { display: block; }
  .cta__actions { margin-top: 1rem; }
  .doc-slot__head { flex-direction: column; align-items: flex-start; }
  .doc-slot__frame, .doc-slot__frame object, .doc-slot__placeholder { min-height: 520px; }
  .doc-slot__frame object { height: 520px; }
  body { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .route { grid-template-columns: 1fr; gap: 0.9rem; }
  .route__item:not(:last-child)::after { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .stats div:first-child { border-top: 0; }
  .hero h1 { max-width: none; }
  .logo img { height: 40px; max-width: 175px; }
  .logo--footer img { height: 44px; max-width: 210px; }
}
