/* ==========================================================
   AccuraGroup — стили
   ========================================================== */

:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --blue-500: #1f6feb;
  --accent: #1d5bbf;
  --accent-dark: #174a9c;
  --accent-soft: #e8f0fc;

  --text: #0f1b2d;
  --text-muted: #55627a;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .18);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
h1, h2, h3, h4, .banner__title, .trust__title, .quote, .feature__accent { text-wrap: balance; }
p, li, blockquote, figcaption, label { text-wrap: pretty; }
.line { display: block; text-wrap: balance; }
.hero__title-accent { color: #9cc2ff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 16px; background: var(--navy-800); color: #fff; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__icon { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(29, 91, 191, .6); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn--ghost:hover { border-color: var(--navy-800); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--accent-soft); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); flex: none; }
.logo__mark { color: var(--navy-800); }
.logo__text { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.logo__text b { color: var(--accent); font-weight: 800; }
.logo img { height: 60px; width: auto; }
.logo--card { padding: 10px 14px; background: #fff; border-radius: 12px; }
.logo--card img { height: 52px; }
@media (max-width: 600px) { .header .logo img { height: 46px; } }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; color: var(--text-muted); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--navy-800); background: var(--bg-soft); }
.nav__link.is-active { color: var(--navy-800); }
.nav__phone--mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 700; text-decoration: none; color: var(--navy-800); white-space: nowrap; }
.header__phone:hover { color: var(--accent); }

.burger {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  border-radius: var(--radius-sm); position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy-800); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .header__phone { display: none; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .header__actions { margin-left: auto; gap: 8px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__phone--mobile {
    display: block; margin-top: 16px; padding: 8px; font-size: 18px; font-weight: 700;
    color: var(--navy-800); text-decoration: none;
  }
}

@media (max-width: 420px) {
  .header__actions .btn { display: none; }
}

/* ---------- Common sections ---------- */
.section { padding: 96px 0; }
.section--tinted { background: var(--bg-soft); }
.section--dark { background: var(--navy-800); color: #dbe4f0; }
.section--dark .section__title { color: #fff; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.section__head { max-width: 760px; margin-bottom: 48px; }
.section__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--navy-800); margin-bottom: 16px; }
.section__lead { font-size: 18px; color: var(--text-muted); }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow--light { color: #8fb6ff; }

.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%231d5bbf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.checklist--sm li { font-size: 15px; margin-bottom: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: 72px 0 0;
  background:
    radial-gradient(520px 520px at 76% 46%, rgba(86, 150, 255, .55), transparent 70%),
    radial-gradient(700px 500px at 8% 110%, rgba(4, 16, 48, .7), transparent 70%),
    radial-gradient(600px 400px at 100% 0%, rgba(42, 111, 214, .6), transparent 70%),
    linear-gradient(135deg, #081a44 0%, #0b3a8c 55%, #1150b8 100%);
}
/* тонкая сетка за текстом */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 22% 40%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 75% at 22% 40%, #000 10%, transparent 75%);
  pointer-events: none;
}
/* плавные линии внизу */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; z-index: -1;
  background: url("../assets/img/flow-lines.svg") center bottom / cover no-repeat;
  opacity: .3;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
          mask-image: linear-gradient(to top, #000 10%, transparent 90%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; }
.hero__content { padding-bottom: 88px; align-self: center; }
.hero__title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; color: #fff; letter-spacing: -.025em; margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #d6e3f7; max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__photo { position: relative; isolation: isolate; margin: 0; justify-self: end; width: 100%; max-width: 480px; }
.hero__photo picture { display: block; position: relative; }
.hero__photo picture::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  pointer-events: none;
}
.hero__tiles { position: absolute; inset: 0; pointer-events: none; }
.hero__tile {
  position: absolute; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 18px;
  background: #fff; color: var(--navy-800);
  box-shadow: 0 18px 40px -16px rgba(2, 10, 30, .55);
  font-size: 24px; font-weight: 800; line-height: 1;
  animation: hero-float 6s ease-in-out infinite;
}
.hero__tile svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__tile--1c   { left: -34px; top: 150px; color: #e30613; font-size: 26px; letter-spacing: -.04em; rotate: -8deg; }
.hero__tile--calc { left: -58px; top: 300px; color: var(--accent); rotate: 6deg; animation-delay: -1.5s; }
.hero__tile--pct  { right: 64px; top: -26px; color: var(--accent); rotate: 8deg; animation-delay: -3s; }
.hero__tile--kzt  { right: -34px; top: 230px; color: #12a37a; font-size: 28px; rotate: -6deg; animation-delay: -4.5s; }
.hero__doc {
  position: absolute; right: -40px; bottom: 120px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 14px;
  background: #fff; color: var(--navy-800);
  box-shadow: 0 18px 40px -16px rgba(2, 10, 30, .55);
  font-size: 12px; line-height: 1.3; color: var(--text-muted);
  animation: hero-float 7s ease-in-out infinite; animation-delay: -2s;
}
.hero__doc svg {
  width: 36px; height: 36px; padding: 7px; border-radius: 10px; flex: none;
  background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.hero__doc b { display: block; font-size: 14px; color: var(--navy-800); }
@keyframes hero-float { 50% { transform: translateY(-8px); } }
.hero__chip {
  position: absolute; right: -28px; top: 64px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 999px;
  background: #fff; color: var(--navy-800); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.hero__chip .check { width: 26px; height: 26px; background-size: 20px; }
.hero__photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 40px 80px -30px rgba(2, 10, 30, .7);
}
.hero__badge {
  position: absolute; left: -28px; bottom: 40px;
  padding: 14px 20px; border-radius: var(--radius); background: #fff; color: var(--text);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
}
.hero__badge strong { display: block; font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1.1; }

.trust { background: linear-gradient(90deg, #e8f0fc, #f5f8fe); border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; gap: 40px; padding-top: 28px; padding-bottom: 28px; }
.trust__title { font-size: 17px; font-weight: 800; color: var(--navy-800); flex: none; }
.trust-list { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px 32px; flex: 1; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

@media (max-width: 1100px) {
  .trust__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-list { width: 100%; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__content { padding-bottom: 0; }
  .hero__photo { justify-self: center; max-width: 420px; }
  .hero__badge { left: 16px; }
  .hero__chip { right: 12px; top: 24px; }
  .hero__tile { width: 48px; height: 48px; border-radius: 14px; font-size: 20px; }
  .hero__tile svg { width: 24px; height: 24px; }
  .hero__tile--1c { left: -8px; top: 110px; font-size: 21px; }
  .hero__tile--calc { display: none; }
  .hero__tile--pct { right: 40px; top: -18px; }
  .hero__tile--kzt { right: -8px; top: 190px; font-size: 22px; }
  .hero__doc { right: 8px; bottom: 96px; }
}
@media (max-width: 600px) {
  .hero__title { font-size: calc((100vw - 32px) / 11.2); }
}
@media (max-width: 480px) {
  .hero__cta .btn { width: 100%; }
  .trust-list { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.service:hover { border-color: #cfd8e4; box-shadow: var(--shadow); transform: translateY(-3px); }
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #2a6fd6, #8fb6ff);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service:hover::before { transform: scaleX(1); }
.service__icon {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px;
  background: linear-gradient(145deg, #2a6fd6, #1546a0); color: #fff;
  box-shadow: 0 12px 24px -12px rgba(21, 70, 160, .8);
  transition: transform .25s var(--ease);
}
.service__icon::after {
  content: ""; position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px; border-radius: 6px;
  background: #e8f0fc; z-index: -1;
}
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service:hover .service__icon { transform: rotate(-6deg) scale(1.05); }
.service__title { font-size: 19px; font-weight: 800; color: var(--navy-800); margin-bottom: 16px; }
.service__list { flex: 1; margin-bottom: 20px; }
.service__list li {
  position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 15px; color: var(--text-muted);
}
.service__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.service__link { font-weight: 700; color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.service__link span { transition: transform .2s var(--ease); }
.service__link:hover span { transform: translateX(4px); }

@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .services { grid-template-columns: 1fr; } }

/* ---------- Banner ---------- */
.banner { padding: 0 0 8px; }
.banner__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #fff;
}
.banner__body { padding: 48px; align-self: center; }
.banner__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin-bottom: 12px; }
.banner__text { color: #b9c7da; font-size: 17px; margin-bottom: 28px; }
.banner__media { min-height: 300px; }
.banner__media picture, .banner__media img { display: block; width: 100%; height: 100%; }
.banner__media img { object-fit: cover; object-position: center 35%; }
@media (max-width: 900px) {
  .banner__inner { grid-template-columns: 1fr; }
  .banner__media { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .banner__body { padding: 32px 24px; }
  .banner .btn { width: 100%; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-bottom: 56px; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); }
.about__intro { margin-bottom: 28px; }
.about__intro > p { font-size: 18px; color: var(--text-muted); }
.quote {
  margin: 24px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent);
  font-size: 20px; font-weight: 700; color: var(--navy-800);
}
.about__box { padding: 32px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.about__box-title { font-size: 20px; font-weight: 800; color: var(--navy-800); margin-bottom: 20px; }
.about__box .checklist { margin-bottom: 24px; }

/* Bento-сетка преимуществ:  [ 01 широкая тёмная ][ 02 высокая ]
                              [ 03 ][ 04 ]          [   брендовая ] */
.features {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "a a b"
    "c d b";
}
.features > :nth-child(1) { grid-area: a; }
.features > :nth-child(2) { grid-area: b; }
.features > :nth-child(3) { grid-area: c; }
.features > :nth-child(4) { grid-area: d; }

.feature {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8e4; }

.feature__bignum {
  position: absolute; top: -18px; right: 14px; z-index: -1;
  font-size: 140px; font-weight: 800; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(29, 91, 191, .14);
  pointer-events: none; user-select: none;
}
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 14px; background: var(--accent-soft); color: var(--accent);
}
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature__title { font-size: 21px; font-weight: 800; color: var(--navy-800); margin-bottom: 14px; max-width: 30ch; }
.feature p { color: var(--text-muted); font-size: 15.5px; }
.feature strong { color: var(--text); }
.feature__gets { margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line); }
.feature > p + .feature__gets { margin-top: 24px; }
.feature__sub { color: var(--text) !important; font-weight: 700; font-size: 14px !important; letter-spacing: .02em; margin-bottom: 12px !important; }

/* 01 — широкая тёмная */
.feature--dark {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start;
  border: 0; color: #dbe4f0;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(29, 91, 191, .55), transparent 70%),
    linear-gradient(150deg, var(--navy-800), var(--navy-900));
}
.feature--dark .feature__title { color: #fff; }
.feature--dark p { color: #b9c7da; }
.feature--dark .feature__icon { background: rgba(143, 182, 255, .14); color: #8fb6ff; }
.feature--dark .feature__bignum { -webkit-text-stroke-color: rgba(143, 182, 255, .22); }
.feature--dark .feature__accent {
  margin-top: 18px; padding-left: 16px; border-left: 3px solid #8fb6ff;
  color: #fff !important; font-weight: 600;
}
.feature--dark .feature__gets {
  margin-top: 0; padding: 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.feature--dark .feature__sub { color: #fff !important; }
.feature--dark .checklist li { color: #dbe4f0; }
.feature--dark .checklist li::before { background-color: rgba(143, 182, 255, .18); }
.feature--dark:hover { border-color: transparent; }

/* 02 — высокая брендовая */
.feature--brand {
  border: 0; color: #fff;
  background:
    radial-gradient(400px 300px at 0% 100%, rgba(255, 255, 255, .14), transparent 70%),
    linear-gradient(165deg, #2a6fd6, #1546a0);
}
.feature--brand .feature__title { color: #fff; }
.feature--brand p { color: #dce8fb; }
.feature--brand .feature__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.feature--brand .feature__bignum { -webkit-text-stroke-color: rgba(255, 255, 255, .28); }
.feature--brand .feature__gets { border-top-color: rgba(255, 255, 255, .25); }
.feature--brand .feature__sub { color: #fff !important; }
.feature--brand .checklist li { color: #fff; }
.feature--brand .checklist li::before {
  background-color: rgba(255, 255, 255, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.feature--brand:hover { border-color: transparent; }

@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "a a" "b b" "c d";
  }
}
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; }
  .feature--dark { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .feature { padding: 24px 20px; }
  .feature--dark .feature__gets { padding: 20px 18px; }
  .feature__bignum { font-size: 110px; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { max-width: 460px; }
  .about__photo img { aspect-ratio: 4 / 5; object-position: center 18%; }
}
@media (max-width: 480px) {
  .about__box { padding: 24px 20px; }
}

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.approach__card { padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.approach__card h3 { font-size: 19px; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.approach__card p { color: var(--text-muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step__num {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 800; position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -8px; height: 2px;
  background: repeating-linear-gradient(90deg, #c5d0de 0 6px, transparent 6px 12px);
}
.step h3 { font-size: 17px; font-weight: 800; color: var(--navy-800); margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--text-muted); }

@media (max-width: 900px) {
  .approach { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 620px; }
  .step { flex-direction: row; align-items: flex-start; gap: 16px; padding-bottom: 16px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { flex: none; margin-top: 10px; box-shadow: 0 0 0 6px var(--bg-soft); }
  .step:not(:last-child)::after {
    top: 54px; bottom: -10px; left: 21px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, #b7c4d6 0 6px, transparent 6px 12px);
  }
  .step > div {
    flex: 1; padding: 16px 18px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line);
  }
  .step h3 { margin-bottom: 4px; }
}

/* ---------- Tabs ---------- */
.tabs__list {
  display: flex; gap: 8px; padding: 6px; margin-bottom: 32px;
  background: var(--bg-soft); border-radius: 999px; width: fit-content; max-width: 100%;
}
.tabs__tab {
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 700; font-size: 15px; color: var(--text-muted); cursor: pointer;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.tabs__tab:hover { color: var(--navy-800); }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }

.tabs__panel { animation: fadeIn .3s var(--ease); }
.tabs__lead { font-size: 18px; color: var(--text-muted); max-width: 860px; margin-bottom: 32px; }
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.solution { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.solution h3 { font-size: 18px; font-weight: 800; color: var(--navy-800); margin-bottom: 12px; }
.solution p { font-size: 15px; color: var(--text-muted); }

.tabs__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tabs__grid .solutions { grid-template-columns: 1fr; gap: 14px; }
.tabs__grid .solution { padding: 22px 24px; border-top: 1px solid var(--line); border-left: 3px solid var(--accent); }
.tabs__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.tabs__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .tabs__list { flex-direction: column; border-radius: var(--radius); width: 100%; }
  .tabs__tab { border-radius: 10px; text-align: left; }
  .solutions { grid-template-columns: 1fr; }
  .tabs__grid { grid-template-columns: 1fr; gap: 28px; }
  .tabs__photo { position: static; order: -1; }
  .tabs__photo img { aspect-ratio: 1 / 1; }
  #panel-1 .tabs__photo img { object-position: center 52%; }
  #panel-2 .tabs__photo img { object-position: center 55%; }
  #panel-3 .tabs__photo img { object-position: center 42%; }
}
@media (max-width: 480px) {
  .tabs__panel > .btn { width: 100%; }
  .solution { padding: 22px 20px; }
}

/* ---------- Clients / Stats ---------- */
#clients {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(720px 500px at 92% 6%, rgba(42, 111, 214, .5), transparent 65%),
    radial-gradient(640px 540px at -4% 104%, rgba(21, 70, 160, .55), transparent 65%),
    linear-gradient(160deg, #0b2545 0%, #071a33 100%);
}
#clients::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../assets/img/flow-lines.svg") center / cover no-repeat;
  opacity: .32;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 62% 50%, #000 30%, transparent 82%);
          mask-image: radial-gradient(ellipse 80% 75% at 62% 50%, #000 30%, transparent 82%);
  pointer-events: none;
}
#clients::after {
  content: ""; position: absolute; left: 24px; bottom: 24px; z-index: -1;
  width: 260px; height: 180px;
  background-image: radial-gradient(rgba(143, 182, 255, .4) 1.2px, transparent 1.6px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(45deg, #000, transparent 75%);
          mask-image: linear-gradient(45deg, #000, transparent 75%);
  pointer-events: none;
}
#clients .container { position: relative; }
.clients__photo { margin: 36px 0 0; }
.clients__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 22%; border-radius: var(--radius-lg); }
.clients { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.clients__head p { color: #b9c7da; font-size: 17px; margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat {
  position: relative; overflow: hidden;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(143, 182, 255, .18);
  transition: border-color .25s, transform .25s var(--ease);
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #8fb6ff, transparent);
  opacity: .7;
}
.stat:hover { border-color: rgba(143, 182, 255, .4); transform: translateY(-3px); }
.stat--wide { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.stat .stat__value { font-size: clamp(36px, 4vw, 48px); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat--wide .stat__value { margin: 0; }
.stat__label { font-size: 16px; font-weight: 700; color: #8fb6ff; margin-bottom: 8px; }
.stat--wide .stat__label { margin: 0; }
.stat p { font-size: 14.5px; color: #a9b8cc; }

@media (max-width: 900px) {
  .clients { grid-template-columns: 1fr; gap: 36px; }
  .clients__photo { max-width: 460px; }
  .clients__photo img { aspect-ratio: 4 / 5; object-position: center 15%; }
}
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat--wide { display: block; } .stat--wide .stat__value { margin-bottom: 10px; } }

/* ---------- Contacts ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { margin-top: 32px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__icon {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 2px; }
.contact__list a, .contact__list li > div > span:last-child { font-weight: 700; font-size: 17px; color: var(--navy-800); text-decoration: none; }
.contact__list a:hover { color: var(--accent); }

.contact__photo { margin: 36px 0 0; }
.contact__photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.form { padding: 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__title { font-size: 22px; font-weight: 800; color: var(--navy-800); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.field__opt { font-weight: 500; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(31, 111, 235, .12);
}
.field.has-error input { border-color: #d64545; }
.field__error { margin: 6px 0 0; font-size: 13.5px; color: #c23434; }
.form__note { margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.form__note a { color: var(--navy-800); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .form { padding: 24px 20px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #a9b8cc; padding: 56px 0 24px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand p { margin-top: 16px; max-width: 360px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; align-content: start; }
.footer__nav a, .footer__contacts a { color: #dbe4f0; text-decoration: none; padding: 6px 0; }
.footer__nav a:hover, .footer__contacts a:hover { color: #fff; }
.footer__contacts { display: flex; flex-direction: column; gap: 8px; }
.footer__contacts a { font-weight: 700; font-size: 18px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 14px; }
.footer__bottom a { color: #a9b8cc; }

@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .8);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__tile, .hero__doc { animation: none !important; }
}
