/* ================================================
   SOLTE.RU — Main Stylesheet
   ================================================ */

/* ---- Custom Properties ---- */
:root {
  --c-bg:       #FFFFFF;
  --c-bg-2:     #F4F6FA;
  --c-bg-3:     #EDF0F7;
  --c-dark:     #060D1B;
  --c-dark-2:   #0B1829;
  --c-dark-3:   #152238;
  --c-text:     #0A0F1E;
  --c-text-2:   #4A5568;
  --c-text-3:   #5F6B7A;
  --c-white:    #FFFFFF;
  --c-primary:  #0B1829;
  --c-yellow:   #F2C94C;
  --c-yellow-dk:#D4A800;
  --c-blue:     #3F6FD8;
  --c-blue-lt:  #EBF1FD;
  --c-border:   #E2E8F0;
  --c-border-dk:#1A2D4A;

  --f-h: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-b: 'Inter',   -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1160px;
  --gutter:    clamp(1rem, 4vw, 1.5rem);

  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;

  --t:     220ms ease;
  --t-s:  350ms ease;

  --sh-sm: 0 1px 4px rgba(10,15,30,.06);
  --sh-md: 0 4px 20px rgba(10,15,30,.09);
  --sh-lg: 0 12px 40px rgba(10,15,30,.12);

  --header-h: 80px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-b);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--f-h); font-weight: 700; line-height: 1.15; color: var(--c-text); }
h1 { font-size: 3.75rem; letter-spacing: 0; }
h2 { font-size: 2.625rem; letter-spacing: 0; }
h3 { font-size: 1.5rem; letter-spacing: 0; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { color: var(--c-text-2); line-height: 1.7; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Section padding ---- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--sm { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* ---- Section labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-h);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1rem;
}
.section-label--yellow { color: var(--c-yellow); }
.section-label--white { color: rgba(255,255,255,.6); }

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

/* ---- Section titles ---- */
.section-title { margin-bottom: 1rem; }
.section-title--center { text-align: center; }
.section-title--light { color: var(--c-white); }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--c-text-2);
  max-width: 640px;
  line-height: 1.7;
}
.section-subtitle--center { margin-inline: auto; text-align: center; }
.section-subtitle--light { color: rgba(255,255,255,.7); }

.section-head { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--f-h);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: var(--t);
  white-space: nowrap;
  min-height: 44px;
  text-align: center;
}
.btn--primary {
  background: var(--c-yellow);
  color: var(--c-dark);
}
.btn--primary:hover {
  background: var(--c-yellow-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242,201,76,.35);
}
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
}
.btn--outline-dark {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.btn--outline-dark:hover {
  border-color: var(--c-text);
}
.btn--sm {
  padding: .5625rem 1.25rem;
  font-size: .875rem;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  z-index: 100;
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: var(--sh-md); }

/* Container must fill full header height so header-inner can center vertically */
.header .container { height: 100%; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 44px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--c-text-2);
  border-radius: var(--r-md);
  transition: var(--t);
}
.nav-link:hover,
.nav-link.active { color: var(--c-text); background: var(--c-bg-2); }

.header-cta { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--t);
}
.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 75%; }
.hamburger span:nth-child(3) { width: 100%; }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--c-bg);
  z-index: 99;
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: 1.125rem;
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--c-border);
  border-radius: 0;
}
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 1.5rem; }

/* Page offset for fixed header */
.page-content { padding-top: var(--header-h); }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.75);
  padding-block: 3rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-border-dk);
  margin-bottom: 2rem;
}
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--r-md);
  padding: 0.5rem 0.875rem;
  margin-bottom: 1.5rem;
}
.footer-brand .logo img { height: 40px; }
.footer-brand p { font-size: .9375rem; color: rgba(255,255,255,.68); max-width: 280px; line-height: 1.65; }

.footer-col h5 {
  font-family: var(--f-h);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 1.25rem;
}
.footer-col a {
  display: block;
  font-size: .9375rem;
  color: rgba(255,255,255,.72);
  padding-block: .45rem;
  transition: var(--t);
}
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.58);
}
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ================================================
   HOME — HERO
   ================================================ */
.hero {
  position: relative;
  background: var(--c-dark);
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle dot grid (static fallback: no-JS, touch, reduced-motion) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(75,123,229,.2) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Interactive canvas dot field (mounted by js/hero-dots.js) */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;            /* let clicks fall through to hero content */
  opacity: 0;                      /* hidden until the canvas takes over */
  transition: opacity .6s ease;
}
/* When JS activates the canvas, show it and retire the static grid */
.hero--interactive .hero-dots { opacity: 1; }
.hero--interactive::before { display: none; }

/* Gradient overlay at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  z-index: 1;
  background: linear-gradient(to top, var(--c-dark), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(75,123,229,.15);
  border: 1px solid rgba(75,123,229,.3);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--c-yellow);
  border-radius: 50%;
}

.hero h1 {
  color: var(--c-white);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-yellow);
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255,255,255,.65);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll svg { opacity: .4; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Reduced motion: never run the canvas; keep the static dot grid */
@media (prefers-reduced-motion: reduce) {
  .hero-dots { display: none; }
  .hero--interactive::before { display: block; }
  .hero-scroll { animation: none; }
}

/* ================================================
   HOME — TRUST STATS
   ================================================ */
.stats-section {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding-block: 3.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--c-border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--f-h);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-number span { color: var(--c-yellow-dk); }
.stat-label {
  font-size: .9375rem;
  color: var(--c-text-2);
  line-height: 1.45;
}

/* ================================================
   HOME — PROBLEM
   ================================================ */
.problem-section { background: var(--c-dark-2); }
.problem-section .section-title--light { color: var(--c-white); }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-border-dk);
  border: 1px solid var(--c-border-dk);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.problem-item {
  background: var(--c-dark-3);
  padding: 2rem 2rem 2rem 2.5rem;
  position: relative;
  transition: background var(--t);
}
.problem-item:hover { background: #1D3354; }
.problem-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c-blue);
  opacity: 0;
  transition: opacity var(--t);
}
.problem-item:hover::before { opacity: 1; }
.problem-item h4 {
  color: var(--c-white);
  margin-bottom: .5rem;
  font-size: 1.0625rem;
}
.problem-item p {
  font-size: .9375rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin: 0;
}

/* ================================================
   HOME — APPROACH
   ================================================ */
.approach-section { background: var(--c-bg); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Horizontal connector line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: calc(1.75rem + 28px);
  left: calc(1.5rem + 28px);
  right: calc(1.5rem + 28px);
  height: 1px;
  background: linear-gradient(to right, var(--c-border), var(--c-blue), var(--c-border));
}

.step-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.75rem;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--c-bg-2);
  border: 2px solid var(--c-border);
  border-radius: 50%;
  font-family: var(--f-h);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--t);
}
.step-card:hover .step-num {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
}
.step-card h4 { margin-bottom: .5rem; font-size: 1rem; }
.step-card p { font-size: .9375rem; margin: 0; }

/* ================================================
   HOME — DIRECTIONS
   ================================================ */
.directions-section { background: var(--c-bg-2); }

.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.direction-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--t-s);
}
.direction-card:hover {
  border-color: var(--c-blue);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.direction-icon {
  width: 44px; height: 44px;
  background: var(--c-blue-lt);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--c-blue);
}
.direction-card h4 { font-size: 1rem; margin-bottom: .5rem; }
.direction-card p { font-size: .875rem; color: var(--c-text-3); margin: 0; line-height: 1.6; }

/* ================================================
   HOME — COMPARISON
   ================================================ */
.comparison-section { background: var(--c-bg); }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.comparison-col {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.comparison-col--old {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
}
.comparison-col--new {
  background: var(--c-dark-2);
  border: 1px solid var(--c-border-dk);
}
.comparison-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--c-border);
}
.comparison-col--new .comparison-header {
  border-bottom-color: var(--c-border-dk);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.comparison-tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.comparison-tag--old { background: var(--c-bg-3); color: var(--c-text-3); }
.comparison-tag--new { background: var(--c-yellow); color: var(--c-dark); }
.comparison-header h3 { font-size: 1.125rem; margin-top: .5rem; }
.comparison-col--new .comparison-header h3 { color: var(--c-white); margin-top: 0; }

.comparison-list { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 1rem; }
.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: .9375rem;
}
.ci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}
.ci-icon--no { background: rgba(239,68,68,.12); color: #EF4444; }
.ci-icon--yes { background: rgba(242,201,76,.2); color: var(--c-yellow-dk); }
.comparison-col--old .comparison-item { color: var(--c-text-2); }
.comparison-col--new .comparison-item { color: rgba(255,255,255,.8); }

/* ================================================
   HOME — FINAL CTA
   ================================================ */
.cta-section {
  background: var(--c-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(75,123,229,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--c-white); margin-bottom: 1.25rem; }
.cta-section p { color: rgba(255,255,255,.6); max-width: 520px; margin-inline: auto; margin-bottom: 2.5rem; font-size: 1.0625rem; }
.cta-section .btn--primary { font-size: 1rem; padding: .875rem 2.25rem; }

/* FAQ */
.faq-section { background: var(--c-bg-2); }
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}
.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: .625rem;
}
.faq-item p {
  font-size: .9375rem;
  margin: 0;
}

/* Legal / utility pages */
.legal-section { background: var(--c-bg); }
.legal-content {
  max-width: 820px;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 .75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  margin-bottom: 1rem;
}
.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  color: var(--c-text-2);
}
.legal-content li {
  margin-bottom: .45rem;
  line-height: 1.65;
}
.legal-updated {
  font-size: .875rem;
  color: var(--c-text-3);
}
.legal-content a {
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.not-found-hero {
  min-height: calc(100vh - var(--header-h) - 180px);
  display: flex;
  align-items: center;
}
.not-found-hero .hero-actions {
  margin-top: 2rem;
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.page-hero {
  background: var(--c-dark-2);
  padding-block: clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(75,123,229,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--c-white); margin-bottom: 1.25rem; }
.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.6);
  max-width: 600px;
  line-height: 1.7;
}

/* Mission */
.mission-section { background: var(--c-bg); }
.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}
.mission-quote {
  font-family: var(--f-h);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.45;
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}
.mission-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c-yellow);
  border-radius: 2px;
}
.mission-text p { margin-bottom: 1.25rem; font-size: 1.0625rem; }
.mission-text p:last-child { margin-bottom: 0; }

.mission-visual {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}
.path-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: var(--c-border);
}
.tl-dot {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-h);
  font-size: .75rem;
  font-weight: 800;
  color: var(--c-text);
  position: relative;
  z-index: 1;
}
.tl-dot--active {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
}
.tl-content h5 { font-family: var(--f-h); font-size: .9375rem; font-weight: 600; margin-bottom: .25rem; }
.tl-content p { font-size: .875rem; color: var(--c-text-3); margin: 0; }

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.business-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
}

/* Principles */
.principles-section { background: var(--c-bg-2); }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.principle-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
}
.principle-num {
  font-family: var(--f-h);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-border);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.principle-card h4 { margin-bottom: .625rem; }
.principle-card p { font-size: .9375rem; margin: 0; }

/* Who fits */
.who-section { background: var(--c-dark-2); }
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.who-card {
  background: var(--c-dark-3);
  border: 1px solid var(--c-border-dk);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--t);
}
.who-card:hover { background: #1D3354; border-color: rgba(75,123,229,.4); }
.who-icon {
  width: 44px; height: 44px;
  background: rgba(242,201,76,.11);
  border: 1px solid rgba(242,201,76,.22);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-yellow);
  margin-bottom: 1rem;
  transition: var(--t);
}
.who-card:hover .who-icon {
  background: rgba(242,201,76,.16);
  border-color: rgba(242,201,76,.34);
}
.who-card h4 { color: var(--c-white); margin-bottom: .5rem; font-size: 1rem; }
.who-card p { font-size: .9375rem; color: rgba(255,255,255,.5); margin: 0; line-height: 1.6; }

/* ================================================
   SOLUTIONS PAGE
   ================================================ */
.solutions-section { background: var(--c-bg); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.solution-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--t-s);
}
.solution-card:hover {
  border-color: transparent;
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}
.solution-icon {
  width: 52px; height: 52px;
  background: var(--c-dark);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-yellow);
  margin-bottom: 1.5rem;
}
.solution-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.solution-card .desc { font-size: .9375rem; color: var(--c-text-2); margin-bottom: 1.25rem; flex: 1; line-height: 1.65; }

.solution-effects {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: var(--c-bg-2);
  border-radius: var(--r-md);
}
.effect-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: var(--c-text-2);
}
.effect-dot {
  width: 6px; height: 6px;
  background: var(--c-yellow-dk);
  border-radius: 50%;
  flex-shrink: 0;
}
.solution-card .btn { align-self: flex-start; }

.solution-callout {
  background: var(--c-dark-2);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.solution-callout .btn {
  align-self: center;
  flex-shrink: 0;
}
.solution-callout-title {
  font-family: var(--f-h);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .75rem;
}

/* ================================================
   CONTACTS PAGE
   ================================================ */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}
.contact-info-block { padding-top: .5rem; }
.contact-info-block h2 { margin-bottom: 1rem; }
.contact-info-block > p { font-size: 1.0625rem; margin-bottom: 2.5rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  flex-shrink: 0;
}
.contact-item-text {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-item-text h5 { font-family: var(--f-h); font-size: .875rem; font-weight: 600; color: var(--c-text-3); margin-bottom: .25rem; }
.contact-item-text a,
.contact-item-text p { font-size: 1rem; color: var(--c-text); margin: 0; }
.contact-item-text a {
  display: inline-flex;
  align-items: center;
}
.contact-item-text a:hover { color: var(--c-blue); }

/* Form */
.contact-form-wrapper {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
}
.contact-form-wrapper h3 { font-size: 1.375rem; margin-bottom: .625rem; }
.contact-form-wrapper > p { font-size: .9375rem; color: var(--c-text-2); margin-bottom: 2rem; }

.form-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-text);
}
.form-label .req { color: #E53E3E; margin-left: 2px; }
.form-input,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: .9375rem;
  color: var(--c-text);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--c-text-3); }
.form-input:focus,
.form-textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(75,123,229,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.25rem;
  padding: .875rem;
  font-size: 1rem;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: .75rem;
  align-items: start;
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--c-text-2);
}
.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-blue);
}
.consent-check a {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin-top: .875rem;
  font-size: .8125rem;
  color: var(--c-text-3);
  text-align: center;
  line-height: 1.5;
}
.form-note a {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- Form states ---- */
.form-error-msg {
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  background: #FFF0F0;
  border: 1px solid #FECACA;
  color: #C53030;
  font-size: .9rem;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#formSuccess {
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.form-success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--c-yellow-dk);
}
.form-success-inner h4 {
  font-size: 1.25rem;
  color: var(--c-text);
  margin: 0;
}
.form-success-inner p {
  font-size: .9375rem;
  color: var(--c-text-2);
  margin: 0;
}
.form-success-inner a {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { animation: spin .8s linear infinite; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .directions-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-layout { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.375rem; }
  .section-subtitle,
  .hero-subtitle,
  .page-hero p { font-size: 1rem; }
  .mission-quote { font-size: 1.375rem; }

  .logo img { height: 36px; }

  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--c-border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .problem-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; }
  .contacts-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

@media (max-width: 640px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .directions-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2rem; }
  .btn { white-space: normal; width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .solution-callout { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item,
  .stat-item:nth-child(odd),
  .stat-item:nth-last-child(-n+2) {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }
  .stat-item:last-child { border-bottom: none; }
}

/* ================================================
   UTILITIES
   ================================================ */
.text-center { text-align: center; }
.text-yellow { color: var(--c-yellow-dk); }
.text-white { color: var(--c-white); }
.text-muted { color: var(--c-text-3); }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ================================================
   COOKIE-БАННЕР
   ================================================ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-bg-2, #fff);
  border: 1px solid var(--c-border, #e5e5e5);
  border-radius: var(--r-lg, 16px);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  z-index: 1000;
  transform: translateY(150%);
  transition: transform .35s ease;
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--c-text-2, #444);
}
.cookie-banner__actions { display: flex; gap: .625rem; flex-shrink: 0; }
.cookie-banner__decline {
  background: transparent;
  border: 1px solid var(--c-border, #ccc);
  color: var(--c-text-2, #555);
}
.cookie-banner__decline:hover { background: var(--c-bg, #f4f4f4); }
@media (max-width: 520px) {
  .cookie-banner { padding: 1rem 1.125rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}
