﻿@font-face { font-family: 'EvolventaReg'; src: url('../assets/fonts/Evolventa-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'EvolventaReg'; src: url('../assets/fonts/Evolventa-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'EvolventaReg'; src: url('../assets/fonts/Evolventa-Bold.woff') format('woff'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --navy: #161B1D;
  --navy-2: #20272A;
  --blue: #4D05C3;
  --blue-2: #7A3BE0;
  --lime: #C5FC62;
  --ink: #161B1D;
  --muted: #5B6B82;
  --line: #E7E7E7;
  --soft: #F9F9F9;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(22, 27, 29, 0.10);
  --max: 1180px;
  --header: 112px;
  --ease: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-top: var(--header);
  font-family: 'EvolventaReg', 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }

h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid rgba(77, 5, 195, 0.4); outline-offset: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

section[id] { scroll-margin-top: calc(var(--header) + 20px); }

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-title { font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -0.02em; }

.section-desc,
.lead { font-size: 17px; line-height: 1.65; color: var(--muted); }

.section-desc { max-width: 380px; }

.eyebrow { display: none; }

.brand-accent { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn--sm { padding: 10px 16px; font-size: 14px; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(77, 5, 195, 0.30); }
.btn--primary:hover { background: #5B14D6; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(77, 5, 195, 0.36); }

.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn--lg { padding: 16px 26px; font-size: 16px; }

.section .btn--ghost { border-color: var(--line); color: var(--ink); }
.section .btn--ghost:hover { background: var(--soft); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: none;
  padding: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}

.link-arrow span { transition: transform var(--ease); }
.link-arrow:hover { border-color: var(--lime); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow-dark { border-color: var(--line); color: var(--ink); }
.link-arrow-dark:hover { border-color: var(--blue); color: var(--blue); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--ease), border-color var(--ease);
}

.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.brand .logo-light { display: none; }

.main-nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.main-nav a { transition: color var(--ease); }
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 700; font-size: 14.5px; white-space: nowrap; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--ease), top var(--ease);
}

.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger.is-open span:first-child { top: 19px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header) + 32px) 24px 40px;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: 28px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu-contacts { display: flex; flex-direction: column; gap: 14px; }
.mobile-menu-contacts a { font-size: 16px; color: var(--muted); }
.mobile-menu-contacts .btn { align-self: flex-start; margin-top: 8px; }

.site-header.is-dark { background: rgba(22, 27, 29, 0.94); border-bottom-color: rgba(255, 255, 255, 0.12); }
.site-header.is-dark .logo-dark { display: none; }
.site-header.is-dark .logo-light { display: block; }
.site-header.is-dark .main-nav a { color: rgba(255, 255, 255, 0.7); }
.site-header.is-dark .main-nav a:hover { color: #fff; }
.site-header.is-dark .header-phone { color: #fff; }
.site-header.is-dark .burger span { background: #fff; }

.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(77, 5, 195, 0.55), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(197, 252, 98, 0.14), transparent 60%),
    linear-gradient(180deg, #161B1D, #1E2528);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__inner {
  position: relative;
  min-height: calc(100svh - var(--header));
  align-items: center;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 60px;
  padding-top: 92px;
  padding-bottom: 96px;
}
.hero__copy { min-width: 0; }
.hero__copy h1 { color: #fff; }
.hero .brand-accent { color: inherit; }
.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13.5px;
  font-weight: 600;
  color: #D9E4FF;
  margin-bottom: 22px;
}
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: #C9D6EC; max-width: 640px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 30px; }
.hero__list { display: grid; gap: 10px; max-width: 600px; }
.hero__list li { position: relative; padding-left: 26px; color: #DDE7F8; font-size: 15.5px; }
.hero__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 3px; background: var(--lime); }
.hero__stats { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.stat b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.stat span { color: #B9C8E2; font-size: 14px; }
.hero__note { font-size: 13.5px; color: #9FB2D1; margin-top: 8px; line-height: 1.5; }

.trust { padding: 28px 0; background: var(--white); }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 22px 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-label { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-logos img { height: 30px; width: auto; filter: grayscale(1); opacity: 0.7; transition: opacity var(--ease), filter var(--ease); }
.trust-logos img:hover { opacity: 1; filter: none; }

.about-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.about-statement { font-size: clamp(28px, 2.7vw, 40px); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.about-note { margin-top: 24px; max-width: 760px; font-size: 18px; color: var(--muted); }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.about-facts > div { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.about-facts span { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.about-facts small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

.services { background: var(--soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.services-col { display: contents; }
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(16, 24, 40, 0.05);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 24, 40, 0.10); border-color: rgba(77, 5, 195, 0.35); }
.service-num { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--blue); }
.service-title { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.service-desc { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.service-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 18px;
  color: var(--blue);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--ease), transform var(--ease);
}
.service:hover .service-arrow { opacity: 1; transform: none; }

.cases { background: var(--navy); color: #fff; }
.cases .section-label { color: var(--blue-2); }
.cases .section-title { color: #fff; }
.cases .section-desc { color: #C9D6EC; }
.cases-head .section-desc { max-width: 380px; }
.cases-head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.rail-controls { display: flex; gap: 10px; }
.rail-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.rail-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--lime); color: var(--lime); }
.cases-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cases-rail::-webkit-scrollbar { display: none; }
.case-card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}
.case-card:hover { border-color: rgba(197, 252, 98, 0.5); transform: translateY(-3px); }
.case-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.03); }
.case-meta { padding: 18px 20px 22px; }
.case-cat { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.case-meta h3 { margin-top: 8px; font-size: 18px; font-weight: 700; color: #fff; }
.case-meta p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #B9C8E2; }
.cases-footer { margin-top: 36px; }

.approach .section-desc { max-width: 400px; }
.chart-wrap { margin-top: 44px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart-mobile { display: none; }
.chart-grid { stroke: #EDF0F4; stroke-width: 1; }
.chart-line { fill: none; stroke-width: 2; }
.chart-line-muted { stroke: #C3CAD5; }
.chart-line-brand { stroke: var(--blue); }
.chart-marker { stroke: #D7DDE6; stroke-width: 1; stroke-dasharray: 3 5; }
.chart-dot { fill: var(--blue); }
.chart-label { font-family: 'EvolventaReg', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.chart-label-muted { fill: var(--muted); }
.chart-label-brand { fill: var(--blue); }
.chart-year { font-family: 'EvolventaReg', sans-serif; font-size: 11px; fill: var(--muted); }
.chart-line-brand { stroke-dasharray: 1500; stroke-dashoffset: 1500; }
.is-in .chart-line-brand { animation: chart-draw 1.5s ease 0.2s forwards; }
@keyframes chart-draw { to { stroke-dashoffset: 0; } }

.approach-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.approach-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 8px 26px rgba(16, 24, 40, 0.05); }
.approach-col h3 { font-size: 16px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.approach-col li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.approach-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.approach-col li::before { content: ''; position: absolute; left: 0; top: 21px; width: 9px; height: 1px; background: var(--blue); }
.approach-col-brand { background: var(--navy); border-color: var(--navy); }
.approach-col-brand h3 { color: var(--lime); }
.approach-col-brand li { color: #C9D6EC; border-bottom-color: rgba(255, 255, 255, 0.1); }
.approach-col-brand li::before { background: var(--lime); }

.compare { background: var(--soft); }
.compare .section-desc { max-width: 380px; }
.compare-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; box-shadow: var(--shadow); }
.compare-row { display: grid; grid-template-columns: 1fr 1.35fr 1.35fr; gap: 32px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; align-items: start; }
.compare-row:last-child { border-bottom: 0; }
.compare-head { padding: 12px 0; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.compare-key { color: var(--muted); }
.compare-us { position: relative; padding-left: 16px; color: var(--ink); font-weight: 600; }
.compare-us::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.compare-them { color: var(--muted); }

.letters { background: #fff; }
.letters-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 8px; }
.letters-rail::-webkit-scrollbar { display: none; }
.letter { flex: 0 0 calc((100% - 48px) / 4); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06); overflow: hidden; cursor: zoom-in; scroll-snap-align: start; }
.letter img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease); }
.letter:hover img { transform: scale(1.02); }

.faq { background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; }
.faq-intro { position: sticky; top: 100px; align-self: start; }
.faq-intro .section-title { font-size: clamp(28px, 2.8vw, 40px); }
.faq-ask { margin-top: 20px; font-size: 15px; color: var(--muted); max-width: 300px; }
.faq-phone { display: inline-block; margin-top: 16px; font-size: 20px; font-weight: 800; }
.faq-intro .link-arrow { display: flex; width: max-content; margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; box-shadow: 0 8px 26px rgba(16, 24, 40, 0.04); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 15px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; line-height: 1; color: var(--blue); transition: transform var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 32px 18px 0; }
.faq-answer p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.offer { background: #fff; padding: 0 0 96px; }
.offer-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius);
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(77, 5, 195, 0.55), transparent 60%),
    linear-gradient(180deg, #161B1D, #20272A);
  color: #fff;
  overflow: hidden;
}
.offer-number { font-size: clamp(72px, 8vw, 104px); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; color: var(--lime); }
.offer .section-label { color: var(--lime); }
.offer-title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.25; color: #fff; }
.offer-desc { margin-top: 14px; font-size: 15px; color: #C9D6EC; max-width: 620px; }
.offer-body .btn { margin-top: 24px; background: var(--lime); color: var(--ink); box-shadow: 0 12px 26px rgba(197, 252, 98, 0.25); }
.offer-body .btn:hover { background: #D3FF86; }

.cta { background: var(--navy); color: #fff; padding: 96px 0 40px; }
.cta-top { padding-bottom: 72px; }
.cta .section-label { color: var(--blue-2); }
.cta-title { color: #fff; font-size: clamp(44px, 5.5vw, 72px); line-height: 1.05; }
.cta-desc { margin-top: 22px; font-size: 16px; color: #C9D6EC; max-width: 480px; }
.cta-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.cta-phone { font-size: 20px; font-weight: 800; color: #fff; }
.footer { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr; gap: 48px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-brand .logo-light { display: block; height: 38px; width: auto; }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: #9FB2D1; max-width: 280px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-nav a { color: #C9D6EC; }
.footer-nav a:hover { color: #fff; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; font-weight: 600; }
.footer-contacts > a { color: #DDE7F8; }
.footer-contacts > a:hover { color: #fff; }
.footer-socials { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; font-weight: 400; color: #9FB2D1; }
.footer-socials a { color: #9FB2D1; }
.footer-socials a:hover { color: var(--lime); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 11.5px; color: #8FA3C2; }
.footer-bottom a:hover { color: #fff; }

.modal { position: fixed; inset: 0; z-index: 200; display: none; padding: 24px; overflow-y: auto; }
.modal.is-open { display: block; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(11, 15, 18, 0.65); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal-panel { position: relative; width: 100%; max-width: 560px; margin: 5vh auto; padding: 36px; background: #fff; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); }
.modal-panel-wide { max-width: 1120px; }
.modal-close { position: absolute; top: 12px; right: 16px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; color: var(--muted); cursor: pointer; }
.modal-title { margin-top: 0; font-size: 30px; font-weight: 800; }
.modal-desc { margin-top: 8px; font-size: 14px; color: var(--muted); }
.b24-holder { margin-top: 20px; min-height: 220px; }
.b24-holder iframe { width: 100% !important; }

.modal .b24-form-wrapper { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.modal .b24-form-header { display: none !important; }
.modal .b24-form, .modal .b24-form * { font-family: 'EvolventaReg', sans-serif !important; }
.modal .b24-form-content { padding: 0 !important; }
.modal .b24-form-field { margin-bottom: 8px !important; }
.modal .b24-form input[type="checkbox"] { accent-color: var(--blue); }
.modal .b24-form-control { color: var(--ink) !important; font-size: 15px !important; }
.modal .b24-form-control-label { color: var(--muted) !important; font-size: 13px !important; }
.modal .b24-form-control-desc, .modal .b24-form-field-agreement-link { color: var(--muted) !important; font-size: 11px !important; }
.modal .b24-form-btn { height: 48px !important; border: 0 !important; border-radius: 12px !important; background: var(--blue) !important; color: #fff !important; font-size: 14px !important; font-weight: 700 !important; box-shadow: 0 10px 24px rgba(77, 5, 195, 0.3) !important; }
.modal .b24-form-btn:hover { background: #5B14D6 !important; }

.all-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin-top: 30px; }
.all-cases h3 { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.all-cases p { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }
.all-cases strong { display: block; margin-bottom: 4px; font-weight: 700; color: var(--ink); }

.lightbox { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 40px; background: rgba(11, 15, 18, 0.95); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 86vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 6px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: none; color: #fff; font-size: 20px; cursor: pointer; }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-prev:hover, .lightbox-next:hover { border-color: var(--lime); color: var(--lime); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
.hero [data-reveal] { opacity: 1; transform: none; animation: hero-rise 0.8s ease both; }
.hero [data-reveal]:nth-child(1) { animation-delay: 0.05s; }
.hero [data-reveal]:nth-child(2) { animation-delay: 0.12s; }
.hero [data-reveal]:nth-child(3) { animation-delay: 0.18s; }
.hero [data-reveal]:nth-child(4) { animation-delay: 0.24s; }
.hero [data-reveal]:nth-child(5) { animation-delay: 0.3s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .chart-line-brand { stroke-dashoffset: 0; }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 36px; padding-top: 64px; padding-bottom: 72px; }
  .hero__stats { max-width: 560px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .section-desc { max-width: 640px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .case-card { flex-basis: calc((100% - 16px) / 2); }
  .letter { flex-basis: calc((100% - 32px) / 3); }
  .footer { grid-template-columns: 1.2fr 0.8fr 1fr; gap: 32px; }
  .all-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .main-nav, .header-phone { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 767px) {
  :root { --header: 64px; }
  body { font-size: 15px; }
  .brand img { height: 32px; }
  .header-actions .btn { display: none; }
  .section { padding: 70px 0; }
  .hero__inner { min-height: 0; padding-top: 48px; padding-bottom: 56px; }
  .hero__copy h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero__sub { font-size: 16px; }
  .hero__cta { margin: 24px 0; }
  .hero__cta .btn { padding: 13px 18px; font-size: 14px; }
  .hero__list li { font-size: 14px; }
  .stat { padding: 14px 16px; }
  .stat b { font-size: 28px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; }
  .trust-logos { gap: 22px; }
  .trust-logos img { height: 24px; }
  .about-statement { font-size: 26px; }
  .about-facts { grid-template-columns: 1fr; margin-top: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .case-card { flex-basis: 84%; }
  .approach-col { padding: 22px; }
  .chart-wrap { padding: 14px; overflow: hidden; }
  .chart-desktop { display: none; }
  .chart-mobile { display: block; }
  .compare-table { padding: 6px 18px; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .compare-key { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
  .compare-us, .compare-them { padding-left: 0; }
  .compare-us::before { display: none; }
  .compare-us::after, .compare-them::after { display: block; margin-bottom: 2px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .compare-us::after { content: 'Рекурсиум'; color: var(--blue); }
  .compare-them::after { content: 'Другое агентство'; }
  .letter { flex-basis: 58%; }
  .faq-item summary { font-size: 14px; }
  .offer { padding-bottom: 70px; }
  .offer-grid { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  .offer-number { font-size: 72px; }
  .cta { padding: 70px 0 32px; }
  .cta-top { padding-bottom: 48px; }
  .cta-title { font-size: clamp(40px, 12vw, 54px); }
  .cta-actions { gap: 18px; }
  .cta-phone { font-size: 18px; }
  .footer { grid-template-columns: 1fr; gap: 26px; padding-top: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 12px; }
  .modal { padding: 12px; }
  .modal-panel { padding: 28px 20px; margin: 3vh auto; }
  .all-cases { grid-template-columns: 1fr; }
  .lightbox { padding: 16px; }
  .lightbox img { max-width: 100%; max-height: 80vh; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand img { height: 56px !important; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.brand-text small { margin-top: 5px; font-size: 14px; font-weight: 400; letter-spacing: 0.01em; color: var(--muted); white-space: nowrap; }
.header-inner { gap: 30px; }
.header-actions { gap: 22px; }
.header-phone { font-size: 20px; font-weight: 700; }
.header-actions .btn { height: 46px; padding: 0 22px; font-size: 14px; }
.header-socials { display: flex; align-items: center; gap: 14px; }
.header-socials a { color: var(--ink); opacity: 0.6; display: inline-flex; transition: opacity 0.2s ease, color 0.2s ease; }
.header-socials a:hover { opacity: 1; color: var(--blue); }
.header-socials svg { width: 21px; height: 21px; display: block; }
.mobile-socials { display: flex; gap: 16px; margin-top: 4px; }
.mobile-socials a { font-size: 14px; color: var(--muted); }
.site-header.is-dark .brand-text b { color: #fff; }
.site-header.is-dark .brand-text small { color: rgba(255,255,255,0.65); }
.site-header.is-dark .header-socials a { color: #fff; }
.client-logos span { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); opacity: 0.78; }
.trust-note { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 1060px) {
  .main-nav, .header-phone { display: none; }
  .header-actions { margin-left: auto; gap: 16px; }
  .header-actions .btn { display: none; }
  .burger { display: block; }
  .client-logos { gap: 24px; }
  .trust-note { margin-left: 0; }
}
@media (max-width: 767px) {
  :root { --header: 88px; }
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand img { height: 44px !important; }
  .brand-text b { font-size: 21px; }
  .brand-text small { font-size: 11px; margin-top: 4px; }
  .header-socials { gap: 8px; }
  .header-socials svg { width: 18px; height: 18px; }
  .burger { width: 36px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .client-logos { flex-wrap: wrap; gap: 18px; }
  .client-logos span { font-size: 16px; }
  .trust-note { white-space: normal; }
}

.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
.section-desc, .lead { font-size: 17px; line-height: 1.5; letter-spacing: 0; text-wrap: balance; }
.section-head { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: end; margin-bottom: 52px; }
.section-desc { max-width: 360px; padding-bottom: 4px; }
.chart-area { fill: rgba(77, 5, 195, 0.07); }
.chart-end { fill: var(--lime); stroke: var(--navy); stroke-width: 1.5; }
.chart-line-brand { stroke-width: 2.4; }
.chart-note { font-family: 'EvolventaReg', sans-serif; font-size: 12px; font-weight: 700; fill: var(--blue); }
.approach-col-brand { background: #EEF9D2; border-color: rgba(77, 5, 195, 0.18); }
.approach-col-brand h3 { color: var(--blue); }
.approach-col-brand li { color: var(--ink); border-bottom-color: rgba(20, 20, 22, 0.08); }
.approach-col-brand li::before { background: var(--blue); }
.cta-top { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.cta-copy { min-width: 0; }
.cta-side-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; padding: 26px; }
.cta-side-label { margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.cta-side-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 17px; font-weight: 700; color: #fff; }
.cta-side-link:last-of-type { border-bottom: 0; }
.cta-side-link span:last-child { color: var(--lime); transition: transform 0.2s ease; }
.cta-side-link:hover span:last-child { transform: translateX(4px); }
.cta-side-note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-desc { max-width: 640px; padding-bottom: 0; }
  .cta-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .section-title { font-size: clamp(26px, 8vw, 34px); }
  .cta-side-card { padding: 20px; }
  .cta-side-link { font-size: 16px; }
}

.section-head { display: block; margin-bottom: 44px; }
.section-head > div:first-child { max-width: 760px; }
.section-desc { max-width: 720px; margin-top: 16px; padding-bottom: 0; text-wrap: balance; }
.section-head .cases-head-side { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; }
.section-head .cases-head-side .section-desc { margin-top: 0; }
.header-socials svg { width: 23px; height: 23px; }
.header-socials a { opacity: 0.7; }
@media (max-width: 767px) {
  .section-head .cases-head-side { flex-direction: column; align-items: flex-start; }
  .header-socials svg { width: 19px; height: 19px; }
}

@media (max-width: 1024px) { .section-desc { max-width: 100%; } }

.section-head .section-desc { max-width: 720px; }
@media (max-width: 1024px) { .section-head .section-desc { max-width: 100%; } }
@media (max-width: 767px) {
  .brand img { height: 46px !important; }
  .brand-text b { font-size: 22px; }
  .brand-text small { font-size: 12px; }
}

h1, h2, h3, h4, .section-title, .section-label, .btn, .stat b, .hero-proof-row b, .offer-number, .cta-title, .price__value, .case b, .trust-big b, .story__stats b, .promise-card b, .step span { font-weight: 700; }
.section-label { font-size: 11px; letter-spacing: 0.16em; }
.offer .section-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.principles { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.principles .section-label { margin-bottom: 16px; }
.principles-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; list-style: none; margin: 0; padding: 0; }
.principles-list li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.principles-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; background: var(--blue); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal-links a { color: var(--muted); font-size: 11.5px; }
.footer-legal-links a:hover { color: var(--ink); }
@media (max-width: 767px) {
  .principles-list { grid-template-columns: 1fr; }
  .footer-legal-links { gap: 10px 14px; }
}

:root { --header: 112px; }
.brand { display: flex; align-items: center; gap: 0; }
.brand img { height: 64px !important; width: auto; }
.brand .logo-light { display: none; }
.brand-text { display: none; }
.site-header.is-dark .logo-dark { display: none; }
.site-header.is-dark .logo-light { display: block; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header-phone { font-size: 20px; font-weight: 700; }
.header-email { font-size: 13px; color: var(--muted); }
.site-header.is-dark .header-email { color: rgba(255, 255, 255, 0.65); }
.chart-grid-v { stroke: #F1F2F4; }
.chart-label { font-size: 14px; letter-spacing: 0.08em; }
.chart-year { font-size: 15px; }
.chart-line-brand { stroke-width: 2.6; }
.chart-marker-dot { fill: var(--blue); }
.chart-end { fill: var(--lime); stroke: var(--navy); stroke-width: 1.5; }
.chart-note { display: none; }
.trust-note { display: none; }
.clients-marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.clients-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: clients-scroll 45s linear infinite; }
.clients-track span { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.clients-track i { width: 8px; height: 8px; flex: 0 0 auto; background: var(--lime); }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-scroll { to { transform: translateX(-50%); } }
.cases-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 18px; overflow: visible; }
.case-card { min-width: 0; border-radius: 12px; }
.case-media { aspect-ratio: 4 / 3; }
.case-meta { padding: 12px 13px 15px; }
.case-cat { font-size: 8.5px; letter-spacing: 0.1em; }
.case-meta h3 { margin-top: 5px; font-size: 13.5px; line-height: 1.3; }
.case-meta p { margin-top: 4px; font-size: 11.5px; line-height: 1.45; -webkit-line-clamp: 2; }
.rail-controls { display: none; }
.letters-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; overflow: visible; }
.letter { width: 100%; flex: none; }
.partners-section { background: #fff; }
.partners-row { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; padding: 30px 34px; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.partners-row img { width: auto; object-fit: contain; }
.p-bitrix { height: 28px; }
.p-yandex { height: 36px; }
.p-calltouch { height: 32px; }
.p-elama { height: 26px; }
.p-chatapp { height: 30px; }
.p-unisender { height: 28px; }
.p-cert { height: 52px; }
@media (max-width: 1024px) {
  .cases-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .letters-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners-row { gap: 32px; }
}
@media (max-width: 1060px) {
  .header-email { display: none; }
}
@media (max-width: 767px) {
  .brand img { height: 48px !important; }
  .cases-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .case-meta { padding: 10px 11px 13px; }
  .case-meta h3 { font-size: 12.5px; }
  .case-meta p { display: none; }
  .letters-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-track span { font-size: 16px; }
  .clients-track { gap: 20px; }
  .partners-row { gap: 24px; padding: 22px; }
  .p-bitrix, .p-calltouch, .p-chatapp, .p-unisender { height: 24px; }
  .p-yandex { height: 30px; }
  .p-elama { height: 22px; }
  .p-cert { height: 44px; }
}

.chart-line-brand { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; animation: none !important; }
.case-meta p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-meta h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) { .case-meta p { display: none; } }

/* ===== Subpages: blog, articles, legal ===== */
.subpage { background: var(--white); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  color: #fff;
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(77, 5, 195, 0.55), transparent 62%),
    radial-gradient(520px 380px at 0% 100%, rgba(197, 252, 98, 0.10), transparent 60%),
    linear-gradient(180deg, #161B1D, #1E2528);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 35%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse at 65% 35%, #000 15%, transparent 72%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 940px; font-size: clamp(34px, 4.4vw, 60px); }
.section-label-light { color: var(--lime); }
.page-hero__lead { max-width: 720px; margin-top: 18px; color: #C9D6EC; font-size: clamp(16px, 1.5vw, 19px); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8FA3C2; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.page-hero__meta span::before { content: ''; width: 6px; height: 6px; flex: 0 0 auto; background: var(--lime); }
.page-hero--compact { padding: 62px 0 56px; }
.page-hero--compact h1 { font-size: clamp(28px, 3.2vw, 44px); }
.page-hero--compact .btn { margin-top: 26px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #8FA3C2; }
.breadcrumbs a { color: #C9D6EC; transition: color var(--ease); }
.breadcrumbs a:hover { color: #fff; }

.blog-section { padding-top: 54px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 268px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(77, 5, 195, 0.34); box-shadow: 0 20px 44px rgba(22, 27, 29, 0.10); }
.blog-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.blog-card__num { font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--blue); }
.blog-card__tag { padding: 5px 9px; border-radius: 999px; background: var(--soft); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.blog-card h2 { font-size: 19px; line-height: 1.28; letter-spacing: -0.01em; }
.blog-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.blog-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: #8A97A8; }
.blog-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.blog-card__more span { transition: transform var(--ease); }
.blog-card:hover .blog-card__more span { transform: translateX(3px); }

.blog-card--featured { grid-column: span 2; border-color: var(--navy); background: var(--navy); color: #fff; }
.blog-card--featured:hover { border-color: var(--navy); box-shadow: 0 22px 52px rgba(22, 27, 29, 0.24); }
.blog-card--featured .blog-card__num { color: var(--lime); }
.blog-card--featured .blog-card__tag { background: rgba(255, 255, 255, 0.10); color: #DDE7F8; }
.blog-card--featured h2 { max-width: 650px; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.18; }
.blog-card--featured p { max-width: 580px; font-size: 14.5px; color: #C9D6EC; }
.blog-card--featured .blog-card__foot { border-top-color: rgba(255, 255, 255, 0.14); color: #8FA3C2; }
.blog-card--featured .blog-card__more { color: var(--lime); }

.article-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 70px;
  color: #fff;
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(77, 5, 195, 0.5), transparent 62%),
    linear-gradient(180deg, #161B1D, #20272A);
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 30%, #000 15%, transparent 75%);
  pointer-events: none;
}
.article-hero .container { position: relative; z-index: 1; }
.article-hero h1 { max-width: 960px; font-size: clamp(30px, 3.6vw, 52px); }
.article-hero__lead { max-width: 760px; margin-top: 18px; color: #C9D6EC; font-size: clamp(16px, 1.4vw, 18px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #8FA3C2; }
.article-meta span { display: inline-flex; align-items: center; gap: 10px; }
.article-meta span::before { content: ''; width: 6px; height: 6px; background: var(--lime); }

.article { padding: 62px 0 76px; }
.article__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; }
.article-body { max-width: 760px; font-size: 17px; line-height: 1.75; color: #2F3A40; }
.article-body > * + * { margin-top: 19px; }
.article-body h2 { margin-top: 46px; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.22; color: var(--ink); }
.article-body h3 { margin-top: 34px; font-size: 21px; color: var(--ink); }
.article-body p { color: #3B474D; }
.article-body .article-list { display: grid; gap: 10px; margin: 20px 0 0; }
.article-list li { position: relative; padding-left: 24px; color: #3B474D; }
.article-list li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; background: var(--lime); }

.article-aside { position: sticky; top: calc(var(--header) + 26px); display: flex; flex-direction: column; gap: 18px; }
.article-aside__card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.article-aside__card h3 { margin-bottom: 10px; font-size: 20px; }
.article-aside__card p { margin-bottom: 16px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.article-aside__card .btn { width: 100%; }
.article-aside__back { font-size: 13px; color: var(--muted); }
.article-aside__back:hover { color: var(--ink); }

.article-cta { padding: 54px 0; background: var(--navy); color: #fff; }
.article-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.article-cta h2 { font-size: clamp(26px, 2.6vw, 38px); }
.article-cta p { margin-top: 8px; font-size: 15px; color: #C9D6EC; }

.legal-section { padding-top: 46px; }
.legal-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); box-shadow: var(--shadow); }
.legal-frame iframe { display: block; width: 100%; height: 78vh; min-height: 520px; border: 0; background: #fff; }
.legal-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.legal-note a { color: var(--blue); border-bottom: 1px solid rgba(77, 5, 195, 0.3); }

.page-footer { padding: 56px 0 28px; background: var(--navy); color: #fff; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card--featured { grid-column: 1 / -1; }
  .article__grid { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .article-aside__card { flex: 1 1 320px; }
  .article-aside__back { align-self: center; }
}

@media (max-width: 767px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero--compact { padding: 44px 0 42px; }
  .page-hero__lead { font-size: 16px; }
  .blog-section { padding-top: 40px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 0; padding: 22px; }
  .blog-card--featured { grid-column: auto; }
  .blog-card--featured h2 { font-size: 24px; }
  .article-hero { padding: 48px 0 52px; }
  .article { padding: 44px 0 54px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body h2 { margin-top: 38px; }
  .article-aside { flex-direction: column; }
  .article-aside__back { align-self: flex-start; }
  .article-cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .legal-section { padding-top: 34px; }
  .legal-frame iframe { height: 68vh; min-height: 420px; }
  .page-footer { padding: 44px 0 24px; }
}
