:root {
  --ink: #26362d;
  --ink-soft: #506158;
  --green-900: #31583a;
  --green-800: #426f4b;
  --green-700: #5f8d5f;
  --green-500: #8ead78;
  --green-300: #c8d9b5;
  --green-200: #dfe9d2;
  --green-100: #edf3e6;
  --cream: #fbfaf4;
  --white: #ffffff;
  --line: rgba(49, 88, 58, .16);
  --shadow: 0 20px 55px rgba(45, 74, 52, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

body.page-home { --hero-image: url('../images/bg-home.webp'); --page-hero-image: url('../images/bg-home.webp'); }
body.page-technology { --page-hero-image: url('../images/bg-technology.webp'); }
body.page-applications { --page-hero-image: url('../images/bg-applications.webp'); }
body.page-company { --page-hero-image: url('../images/bg-company.webp'); }
body.page-partners { --page-hero-image: url('../images/bg-partners.webp'); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 1000; background: var(--green-900); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 20px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 244, .88);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-dropdown { 
  position: relative; 
  display: inline-block; 
}

.nav-dropdown > a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 620;
  cursor: pointer;
}
.nav-dropdown > a:hover { 
  color: var(--green-900); 
  background: var(--green-100); 
}

.dropdown-content { 
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 0; 
  background: #fff; 
  min-width: 200px; 
  box-shadow: 0px 8px 24px rgba(45, 74, 52, 0.12); 
  border-radius: 12px; 
  border: 1px solid var(--line);
  z-index: 50; 
  padding: 8px 0; 
}

.dropdown-content a { 
  color: var(--ink-soft); 
  padding: 10px 20px; 
  font-size: 0.95rem; 
  font-weight: 500;
  border-radius: 0;
}
.dropdown-content a:hover { 
  background-color: var(--green-100); 
  color: var(--green-900); 
}

.nav-links { align-items: center; }

.brand { display: inline-block; }
.brand-caps {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em; /* Широкое расстояние между буквами */
  color: var(--ink);
}
.brand-dot {
  color: var(--green-700); /* Зеленая точка */
  font-size: 1.2em;
}
.site-footer .brand-caps {
  color: white; 
}

.site-footer .brand-dot {
  color: var(--green-300); /* Более светлый зеленый для хорошего контраста в футере */
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 12px; border-radius: 10px; color: var(--ink-soft); font-size: .95rem; font-weight: 620; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green-900); background: var(--green-100); }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 22px; margin: 5px auto; background: var(--green-900); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251,250,244,.98) 0%, rgba(251,250,244,.91) 43%, rgba(251,250,244,.35) 70%, rgba(251,250,244,.08) 100%),
    var(--hero-image, url('../images/bg-home.webp')) center/cover no-repeat;
}
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 22% 38%, rgba(197,220,172,.35), transparent 33%); }
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 690px; padding: 95px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 11px; border: 1px solid rgba(66,111,75,.18); border-radius: 999px; background: rgba(237,243,230,.86); color: var(--green-900); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero h1, .page-hero h1 { margin: 0 0 20px; font-size: clamp(2.6rem, 6vw, 5.45rem); line-height: 1.01; letter-spacing: -.055em; color: var(--green-900); }
.hero p { max-width: 660px; margin: 0 0 30px; font-size: clamp(1.05rem, 2vw, 1.28rem); color: #405248; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 13px; border: 1px solid transparent; font-weight: 750; transition: .2s ease; }
.btn-primary { background: var(--green-900); color: white; box-shadow: 0 12px 25px rgba(49,88,58,.19); }
.btn-primary:hover { transform: translateY(-2px); background: #284c31; }
.btn-secondary { border-color: rgba(49,88,58,.24); background: rgba(255,255,255,.8); color: var(--green-900); }
.btn-secondary:hover { background: white; transform: translateY(-2px); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 28px; max-width: 530px; color: #66756c; font-size: .83rem; }
.hero-note::before { content: ''; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green-700); }
.section { padding: 96px 0; }
.section-tight { padding: 68px 0; }
.section-tint { background: var(--green-100); }
.section-dark { color: white; background: var(--green-900); }
.section-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.section-head h2, .content-title { margin: 0; color: var(--green-900); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; }
.section-dark .section-head h2, .section-dark .content-title { color: white; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255,255,255,.78); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { padding: 30px; border-radius: var(--radius-md); background: rgba(255,255,255,.76); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(49,88,58,.045); }
.card h3 { margin: 0 0 10px; color: var(--green-900); font-size: 1.22rem; line-height: 1.25; }
.card p { margin: 0; color: var(--ink-soft); }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 12px; background: var(--green-200); color: var(--green-900); font-weight: 850; }
.problem-card { min-height: 260px; }
.problem-card ul, .check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.problem-card li, .check-list li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.problem-card li::before, .check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green-700); font-weight: 900; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; }
.flow-item { min-height: 160px; padding: 25px; border-radius: var(--radius-md); background: white; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.flow-item small { color: var(--green-700); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.flow-item strong { margin-top: 8px; font-size: 1.17rem; color: var(--green-900); }
.flow-arrow { color: var(--green-700); font-size: 1.7rem; }
.feature-card { min-height: 238px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.visual-frame { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); background: white; }
.visual-frame img { width: 100%; min-height: 420px; object-fit: cover; object-position: center; }
.visual-caption { padding: 12px 18px 14px; color: #718077; font-size: .78rem; border-top: 1px solid var(--line); background: #fff; }
.kicker { color: var(--green-700); font-size: .8rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { padding: 7px 10px; border-radius: 999px; background: var(--green-100); border: 1px solid var(--line); color: var(--green-900); font-size: .82rem; font-weight: 700; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline-step { position: relative; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius-md); }
.timeline-step .step { color: var(--green-700); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.timeline-step h3 { margin: 10px 0 10px; color: var(--green-900); }
.timeline-step p { margin: 0; color: var(--ink-soft); }
.cta { padding: 52px; border-radius: var(--radius-lg); color: white; background: linear-gradient(135deg, var(--green-900), #557c4e); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center; }
.cta h2 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3rem); line-height: 1.05; letter-spacing: -.045em; }
.cta p { margin: 0; color: rgba(255,255,255,.78); }
.cta .btn { justify-self: end; background: white; color: var(--green-900); }
.page-hero { position: relative; min-height: 350px; display: flex; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(251,250,244,.98), rgba(251,250,244,.76) 58%, rgba(251,250,244,.28)), var(--page-hero-image, url('../images/bg-home.webp')) center/cover no-repeat; }
.page-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 24%, rgba(255,255,255,.33), transparent 28%), radial-gradient(circle at 18% 78%, rgba(198,218,181,.22), transparent 32%); }
.page-hero .container { padding-top: 100px; padding-bottom: 70px; position: relative; z-index: 1; }
.page-hero h1 { max-width: 820px; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.page-hero p { max-width: 720px; margin: 0; font-size: 1.15rem; color: var(--ink-soft); }
.prose { max-width: 820px; }
.prose h2 { margin: 50px 0 12px; color: var(--green-900); font-size: 2rem; letter-spacing: -.035em; }
.prose h3 { margin: 32px 0 8px; color: var(--green-900); }
.prose p { color: var(--ink-soft); }
.callout { margin: 32px 0; padding: 26px 28px; border-left: 4px solid var(--green-700); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--green-100); }
.callout strong { color: var(--green-900); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: process; }
.process-step { counter-increment: process; padding: 30px; border-radius: var(--radius-md); border: 1px solid var(--line); background: white; }
.process-step::before { content: counter(process, decimal-leading-zero); display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 50%; background: var(--green-200); color: var(--green-900); font-weight: 900; }
.process-step h3 { margin: 0 0 9px; color: var(--green-900); }
.process-step p { margin: 0; color: var(--ink-soft); }
.data-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.data-boundary .safe, .data-boundary .nda { padding: 28px; border-radius: var(--radius-md); }
.data-boundary .safe { background: var(--green-100); border: 1px solid var(--line); }
.data-boundary .nda { background: #f4efe4; border: 1px solid rgba(128,101,55,.15); }
.data-boundary h3 { margin-top: 0; color: var(--green-900); }
.application-hero { padding: 36px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(223,233,210,.96), rgba(251,250,244,.98)); border: 1px solid var(--line); }
.application-hero h2 { color: var(--green-900); font-size: clamp(2rem,4vw,3.2rem); line-height: 1.08; margin: 0 0 14px; }
.value-chain { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 28px; }
.value-node { padding: 20px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.78); border: 1px solid var(--line); font-weight: 700; color: var(--green-900); }
.founder { display: grid; grid-template-columns: .42fr 1fr; gap: 36px; align-items: start; }
.founder-placeholder { aspect-ratio: 4/5; border-radius: var(--radius-lg); display: grid; place-items: center; text-align: center; background: linear-gradient(145deg, var(--green-200), var(--green-100)); border: 1px dashed rgba(49,88,58,.27); color: var(--green-900); padding: 30px; }
.founder h2 { margin-top: 0; color: var(--green-900); font-size: 2.5rem; letter-spacing: -.04em; }
.milestone-list { display: grid; gap: 12px; }
.milestone { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 18px 20px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.milestone .dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--green-700); box-shadow: 0 0 0 5px var(--green-100); }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; }
.contact-panel, .contact-form { padding: 32px; border-radius: var(--radius-md); background: white; border: 1px solid var(--line); }
.contact-panel h2, .contact-form h2 { margin-top: 0; color: var(--green-900); }
.contact-details { display: grid; gap: 16px; margin-top: 26px; }
.contact-item { padding: 16px; border-radius: 12px; background: var(--green-100); }
.contact-item small { display: block; color: var(--green-700); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-item a, .contact-item span { display: block; margin-top: 4px; color: var(--green-900); font-weight: 700; word-break: break-word; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-size: .86rem; font-weight: 750; color: var(--green-900); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(49,88,58,.22); border-radius: 11px; padding: 12px 13px; color: var(--ink); background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(95,141,95,.13); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: #718077; font-size: .78rem; }
.site-footer { padding: 45px 0 28px; color: #dce7d8; background: #233a2a; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 36px; }
.site-footer .brand { color: white; }
.site-footer p { color: rgba(255,255,255,.68); max-width: 440px; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links strong { color: white; margin-bottom: 5px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.54); font-size: .78rem; }
.legal-note { max-width: 700px; }

@media (min-width: 901px) {
  .nav-dropdown:hover .dropdown-content { 
    display: flex; 
    flex-direction: column; 
  }
}


@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { 
    position: fixed; 
    inset: 76px 20px auto 20px; 
    display: none; 
    flex-direction: column; 
    align-items: stretch; 
    padding: 14px; 
    border: 1px solid var(--line); 
    border-radius: 16px; 
    background: rgba(251,250,244,.98); 
    box-shadow: var(--shadow); 
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; }
  
  .nav-dropdown { 
    display: block; 
    width: 100%; 
  }
  .dropdown-content { 
    position: static; 
    box-shadow: none;
    border: none;
    background: transparent; 
    padding: 0 0 0 20px;
    margin-top: 0; 
    display: none; 
  }

  .nav-dropdown.is-open .dropdown-content {
    display: flex !important; 
    flex-direction: column;
  }

  .hero { min-height: 620px; background-position: 63% center; }
  .hero-copy { max-width: 610px; }
  .section-head, .split, .founder, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3, .timeline, .process-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .cta { grid-template-columns: 1fr; padding: 38px; }
  .cta .btn { justify-self: start; }
  .value-chain { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .page-hero { 
    min-height: auto; 
  }

  .page-hero .container { 
    padding-top: 40px; 
    padding-bottom: 40px; 
  }

}
@media (max-width: 620px) {
  .page-hero { 
    min-height: auto; /* Убираем жесткую высоту, которая растягивает блок */
  }
  .page-hero .container { 
    padding-top: 40px; /* Уменьшаем верхний отступ (на ПК он был 120px) */
    padding-bottom: 48px; 
  }
  .container { width: min(100% - 26px, var(--container)); }
  .hero { min-height: 660px; background-position: 72% center; }
  .hero-copy { padding: 74px 0 88px; }
  .hero h1 { font-size: 2.75rem; }
  .section { padding: 72px 0; }
  .grid-2, .grid-4, .data-boundary, .form-row, .value-chain { grid-template-columns: 1fr; }
  .card, .contact-panel, .contact-form { padding: 24px; }
  .page-hero { min-height: 400px; }
  .page-hero .container { padding-bottom: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
