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

:root {
  --forest: #173d2b;
  --forest-deep: #102c20;
  --leaf: #4c9b59;
  --lime: #a7c957;
  --mint: #dff1df;
  --cream: #f7f5ed;
  --paper: #fffdf8;
  --ink: #193126;
  --muted: #5d7065;
  --line: #ceddce;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 44, 32, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Manrope', sans-serif; color: var(--ink); background: var(--cream); line-height: 1.65; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.topbar { background: var(--forest-deep); color: rgba(255,255,255,.78); padding: 8px max(24px, calc((100vw - 1180px)/2)); display: flex; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: .04em; }
.language-switcher { display: flex; gap: 5px; }
.lang-btn { border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7); background: transparent; border-radius: 999px; padding: 3px 11px; cursor: pointer; transition: .2s ease; }
.lang-btn:hover, .lang-btn.active { color: var(--forest-deep); background: var(--lime); border-color: var(--lime); }

.site-nav { position: sticky; top: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; padding: 14px max(24px, calc((100vw - 1180px)/2)); background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: 'Unbounded', sans-serif; font-size: 14px; color: var(--forest); }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.nav-links { justify-self: center; display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 700; padding: 8px 0; border-bottom: 2px solid transparent; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--forest); border-color: var(--leaf); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 20px; border: 0; border-radius: 7px; background: var(--forest); color: var(--white); text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover, .button:hover { background: var(--leaf); transform: translateY(-2px); }
.button.light { background: var(--paper); color: var(--forest); }
.button.outline { background: transparent; color: var(--forest); border: 1px solid var(--forest); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--forest); cursor: pointer; }

.page-hero { position: relative; overflow: hidden; min-height: 470px; display: grid; align-items: center; color: var(--white); background: var(--forest); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 22%, rgba(167,201,87,.4), transparent 27%), linear-gradient(120deg, transparent 55%, rgba(255,255,255,.06) 55% 56%, transparent 56% 64%, rgba(255,255,255,.06) 64% 65%, transparent 65%); }
.page-hero::after { content: ''; position: absolute; width: 340px; height: 340px; right: -80px; bottom: -210px; border: 70px solid rgba(167,201,87,.22); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: auto; padding: 82px 0; display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: 'Unbounded', sans-serif; line-height: 1.15; }
h1 { max-width: 780px; font-size: clamp(40px, 6vw, 74px); letter-spacing: -.055em; }
.hero-copy { max-width: 560px; margin-top: 24px; color: rgba(255,255,255,.76); font-size: 17px; }
.hero-aside { border-left: 1px solid rgba(255,255,255,.25); padding-left: 30px; }
.hero-aside strong { display: block; color: var(--lime); font-family: 'Unbounded', sans-serif; font-size: 44px; line-height: 1; }
.hero-aside p { margin-top: 13px; color: rgba(255,255,255,.72); }

.section { padding: 92px 24px; }
.section.white { background: var(--paper); }
.container { width: min(1180px, 100%); margin: auto; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; margin-bottom: 48px; align-items: start; }
.section-heading h2 { max-width: 650px; font-size: clamp(28px, 4vw, 47px); letter-spacing: -.04em; }
.section-heading p { max-width: 570px; color: var(--muted); }
.kicker { margin-bottom: 10px; color: var(--leaf); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature-card { grid-column: span 4; min-height: 270px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 10px 30px rgba(16,44,32,.05); transition: .25s ease; }
.feature-card:nth-child(2) { transform: translateY(28px); }
.feature-card:hover { transform: translateY(-5px); border-color: var(--leaf); box-shadow: var(--shadow); }
.feature-card:nth-child(2):hover { transform: translateY(20px); }
.icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 50% 50% 50% 12px; background: var(--mint); color: var(--forest); }
.icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-bottom: 14px; font-size: 17px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: 11px; font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.panel { padding: 48px; background: var(--forest); color: var(--white); border-radius: 15px; position: relative; overflow: hidden; }
.panel::after { content: ''; position: absolute; width: 170px; height: 170px; border: 35px solid rgba(167,201,87,.2); border-radius: 50%; right: -80px; top: -70px; }
.panel h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 20px; }
.panel p { color: rgba(255,255,255,.74); }
.panel .button { margin-top: 28px; }
.check-list { list-style: none; display: grid; gap: 18px; }
.check-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.check-list li::before { content: '✓'; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--forest); font-weight: 900; }
.check-list strong { display: block; margin-bottom: 3px; color: var(--ink); }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-item { counter-increment: step; position: relative; padding: 34px 26px 30px 0; border-right: 1px solid var(--line); }
.process-item:last-child { border-right: 0; padding-left: 26px; }
.process-item:not(:first-child) { padding-left: 26px; }
.process-item::before { content: '0' counter(step); display: block; margin-bottom: 40px; color: var(--leaf); font-family: 'Unbounded'; font-size: 14px; }
.process-item h3 { margin-bottom: 12px; font-size: 16px; }
.process-item p { color: var(--muted); font-size: 13px; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { width: 34%; color: var(--forest); font-size: 13px; }
.spec-table td { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-list { display: grid; gap: 22px; margin-top: 35px; }
.contact-item { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; margin-bottom: 4px; color: var(--leaf); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-item a { text-decoration: none; font-weight: 700; }
.contact-item a:hover { color: var(--leaf); }
.form-card { padding: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; color: var(--forest); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 7px; padding: 13px 14px; color: var(--ink); outline: none; transition: .2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(76,155,89,.13); }
.form-status { min-height: 24px; margin-top: 12px; color: var(--leaf); font-size: 13px; font-weight: 700; }

.cta-band { background: var(--lime); padding: 54px 24px; }
.cta-inner { width: min(1180px, 100%); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 700px; font-size: clamp(24px, 4vw, 40px); color: var(--forest-deep); }

footer { padding: 54px 24px 30px; background: var(--forest-deep); color: rgba(255,255,255,.7); }
.footer-inner { width: min(1180px, 100%); margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.footer-brand { color: var(--white); font-family: 'Unbounded'; font-size: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; }
.footer-links a { text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--lime); }
.copyright { grid-column: 1/-1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

.ru, .kz, .en { display: none; }
.ru.show, .kz.show, .en.show { display: inline; }
.block.ru.show, .block.kz.show, .block.en.show { display: block; }

@media (max-width: 900px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 70px; padding: 20px 24px 26px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero-inner, .section-heading, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-aside { max-width: 460px; }
  .feature-card { grid-column: span 6; }
  .feature-card:nth-child(2) { transform: none; }
  .process { grid-template-columns: 1fr 1fr; }
  .process-item:nth-child(2) { border-right: 0; }
}

@media (max-width: 620px) {
  .topbar > span { display: none; }
  .topbar { justify-content: flex-end; }
  .brand span { display: none; }
  .page-hero { min-height: 430px; }
  .hero-inner { width: min(100% - 32px, 1180px); padding: 60px 0; }
  .section { padding: 68px 18px; }
  .feature-card { grid-column: 1 / -1; min-height: auto; }
  .process { grid-template-columns: 1fr; }
  .process-item, .process-item:not(:first-child), .process-item:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-item::before { margin-bottom: 18px; }
  .panel, .form-card { padding: 30px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cta-inner, .footer-inner { display: grid; grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}
