/* =========================================================
   LAUNCHPOINT — общая дизайн-система многостраничного сайта
   ========================================================= */
:root {
  --navy: #1E2761;
  --navy2: #141B4D;
  --navy3: #0D1233;
  --ice: #E8ECF7;
  --ice2: #F4F6FC;
  --orange: #FF6B35;
  --orange-dark: #E0551F;
  --text-dark: #20264A;
  --text-muted: #5B6472;
  --white: #FFFFFF;
  --green: #1FA463;
  --border: #E3E7F3;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: Georgia, 'Cambria', serif; line-height: 1.2; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1340px; margin: 0 auto; padding: 0 24px; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ---------- Top announcement bar ---------- */
.announce {
  background: var(--orange); color: var(--white); text-align: center;
  font-size: 14.5px; font-weight: bold; padding: 8px 16px; letter-spacing: 0.2px;
}
.announce span { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header / nav ---------- */
header {
  position: sticky; top: 0; z-index: 200; background: var(--navy);
  box-shadow: 0 2px 16px rgba(13,18,51,0.18);
}
nav.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1340px; margin: 0 auto; position: relative;
}
.logo { font-weight: bold; font-size: 19px; color: var(--white); letter-spacing: 1px; display: flex; align-items: center; gap: 8px;}
.logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.navlinks { display: flex; align-items: center; gap: 6px; }
.navlinks > li { position: relative; }
.navlinks > li > a, .navlinks > li > button.navtop {
  color: var(--ice); font-size: 15px; font-weight: 500; padding: 10px 14px; display: block;
  border-radius: 8px; transition: background .15s, color .15s; background: none; border: none;
}
.navlinks > li > a:hover, .navlinks > li > button.navtop:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.navlinks li.has-dropdown:hover .dropdown, .navlinks li.has-dropdown:focus-within .dropdown { display: block; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0; background: var(--white);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(13,18,51,0.22); padding: 10px; min-width: 280px; margin-top: 0;
}
.dropdown a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 8px; color: var(--text-dark); }
.dropdown a:hover { background: var(--ice2); }
.dropdown a b { font-size: 15px; color: var(--navy); }
.dropdown a span { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.nav-cta {
  background: var(--orange); color: var(--white); padding: 10px 20px; border-radius: 24px;
  font-size: 14.5px; font-weight: bold; white-space: nowrap; margin-left: 10px; display: inline-block;
}
.nav-cta:hover { background: var(--orange-dark); }
.nav-social { display: flex; align-items: center; gap: 8px; margin-left: 14px; }
.nav-icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.nav-icon:hover { background: var(--orange); }
.nav-icon svg { width: 16px; height: 16px; display: block; }
.burger { display: none; background: none; border: none; color: var(--white); font-size: 24px; }

@media (max-width: 980px) {
  .navlinks { display: none; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .nav-social { margin-left: auto; margin-right: 10px; }
  nav.navbar.open .navlinks {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy2); padding: 10px; gap: 2px; box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }
  nav.navbar.open .dropdown { display: block; position: static; box-shadow: none; background: rgba(255,255,255,0.05); margin: 4px 0; }
  nav.navbar.open .dropdown a b, nav.navbar.open .dropdown a span { color: var(--ice); }
  nav.navbar.open .nav-cta { display: inline-block; margin: 8px 14px; text-align: center; }
}
@media (max-width: 420px) {
  .nav-icon { width: 30px; height: 30px; }
  .nav-icon svg { width: 14px; height: 14px; }
  .nav-social { gap: 6px; margin-right: 6px; }
}

/* ---------- Breadcrumb / page kicker ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 64px 0 56px 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; top: -140px; right: -140px; width: 400px; height: 400px;
  border-radius: 50%; background: var(--navy2); z-index: 0;
}
.page-hero .inner { position: relative; z-index: 1; }
.kicker { color: var(--orange); font-weight: bold; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.page-hero h1 { font-size: 38px; font-weight: bold; max-width: 780px; margin-bottom: 16px; }
.page-hero p.lead { font-size: 17px; color: var(--ice); max-width: 620px; }
.crumbs { font-size: 13.5px; color: #8791BF; margin-bottom: 18px; position: relative; z-index: 1; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--navy); color: var(--white); position: relative; overflow: hidden; padding: 80px 0 90px 0;
}
.hero::before {
  content: ""; position: absolute; top: -160px; right: -160px; width: 480px; height: 480px;
  border-radius: 50%; background: var(--navy2); z-index: 0;
}
.hero-inner { display: flex; align-items: center; gap: 48px; position: relative; z-index: 1; }
.hero-text { flex: 1.3; }
.badge-free {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,107,53,0.14); border: 1px solid rgba(255,107,53,0.4);
  color: var(--orange); font-weight: bold; font-size: 14px; padding: 8px 16px; border-radius: 20px; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; font-weight: bold; line-height: 1.15; margin-bottom: 18px; }
.hero p.lead { font-size: 17.5px; color: var(--ice); max-width: 560px; margin-bottom: 30px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 26px; font-weight: bold; font-size: 15.5px; border: none; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy2); }
.hero-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.hero-circle { width: 230px; height: 230px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.hero-circle img { width: 110px; height: 110px; }

/* ---------- Hero stat pills ---------- */
.hero-stat-pill {
  position: absolute; background: var(--white); color: var(--navy); border-radius: 14px; padding: 10px 16px;
  box-shadow: 0 12px 28px rgba(13,18,51,0.28); font-size: 13px; line-height: 1.3; width: 132px; z-index: 2;
}
.hero-stat-pill b { display: block; font-size: 18px; color: var(--orange); font-family: Georgia, serif; }
.hero-stat-pill.p1 { top: 4px; left: -18px; }
.hero-stat-pill.p2 { bottom: 18px; left: -56px; }
.hero-stat-pill.p3 { bottom: -6px; right: -34px; }
@media (max-width: 1180px) { .hero-stat-pill { display: none; } }

/* ---------- Floating "разбор проекта" badge (открывает квиз) ---------- */
.audit-float-badge {
  position: fixed; top: 132px; right: 26px; z-index: 250; background: var(--navy3); color: var(--white);
  border-radius: 16px; padding: 14px 16px; width: 168px; box-shadow: 0 16px 34px rgba(13,18,51,0.35);
  text-align: center; border: 1px solid rgba(255,255,255,0.08);
}
.audit-float-badge .ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px auto; }
.audit-float-badge .ic img, .audit-float-badge .ic svg { width: 18px; height: 18px; }
.audit-float-badge p { font-size: 12px; line-height: 1.35; margin-bottom: 10px; color: var(--ice); }
.audit-float-badge button, .audit-float-badge a.badge-btn { display: block; width: 100%; background: var(--orange); color: var(--white); border: none; border-radius: 20px; padding: 8px 10px; font-weight: bold; font-size: 12.5px; text-decoration: none; text-align: center; box-sizing: border-box; }
.audit-float-badge button:hover, .audit-float-badge a.badge-btn:hover { background: var(--orange-dark); }
@media (max-width: 860px) { .audit-float-badge { display: none; } }

/* ---------- Floating "MAX -5%" badge (под бейджем аудита) ---------- */
.max-promo-badge { top: 316px; }

/* ---------- Floating "Курс для менеджеров" badge (под бейджем MAX) ---------- */
.course-promo-badge { top: 500px; }

/* ---------- Stat bar ---------- */
.stat-strip { background: var(--navy2); padding: 40px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; justify-items: center; }
.stat-item { text-align: center; max-width: 210px; width: 100%; }
.stat-num { font-size: 28px; font-weight: bold; color: var(--orange); font-family: Georgia, serif; }
.stat-label { font-size: 13.5px; color: var(--ice); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--ice2); }
.section.dark { background: var(--navy); color: var(--white); }
.section.navy2 { background: var(--navy2); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section h2 { font-size: 30px; margin-bottom: 12px; }
.section .sub { color: var(--text-muted); font-size: 16px; max-width: 640px; }
.section.dark .sub, .section.navy2 .sub { color: var(--ice); }
.link-more { color: var(--orange); font-weight: bold; font-size: 15px; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- Free audit banner ---------- */
.audit-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy2) 100%); border-radius: 20px; color: var(--white);
  padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.audit-banner::before { content: ""; position: absolute; right: -80px; bottom: -100px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,107,53,0.18); }
.audit-banner .txt { position: relative; z-index: 1; max-width: 620px; }
.audit-banner .txt h3 { font-size: 24px; margin-bottom: 10px; color: var(--white); }
.audit-banner .txt p { font-size: 15.5px; color: var(--ice); }
.audit-banner .txt p a { color: var(--white); }
.audit-banner .cta { position: relative; z-index: 1; }

/* ---------- Service cards (home teaser) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; justify-items: center; }
.svc-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px;
  transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; height: 100%;
  max-width: 260px; width: 100%;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(20,27,77,0.1); }
.svc-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-icon img { width: 28px; height: 28px; }
.svc-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--text-dark); }
.svc-card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.svc-card .tag { font-size: 12.5px; font-weight: bold; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.svc-card .go { font-size: 14.5px; font-weight: bold; color: var(--navy); }
.svc-card .go:after { content: " →"; }
.svc-grid-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-grid-v2 .svc-carousel-card { width: 100%; }
@media (max-width: 980px) { .svc-grid-v2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid-v2 { grid-template-columns: 1fr; } }

@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { max-width: 100%; } .stat-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 860px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-circle { width: 130px; height: 130px; }
  .hero-circle img { width: 64px; height: 64px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 28px; }
  .audit-banner { flex-direction: column; text-align: center; }
  .audit-banner .txt { max-width: 100%; }
  .field-row { flex-direction: column; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quiz-fab { padding: 12px 16px; font-size: 13px; bottom: 16px; right: 16px; }
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; justify-items: center; }
.process-step { text-align: center; max-width: 220px; width: 100%; }
.process-num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px auto; display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: bold; font-size: 20px; color: var(--white);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.22), 0 6px 14px rgba(13,18,51,0.25);
}
.process-step h4 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--ice); }
.section:not(.navy2):not(.dark) .process-step p { color: var(--text-muted); }
@media (max-width: 780px) { .process-grid { grid-template-columns: 1fr 1fr; } }
.process-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .process-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .process-grid.cols-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .process-grid.cols-5 { grid-template-columns: 1fr; } .process-step { max-width: 100%; } }

/* ---------- Generic bullet list (service pages) ---------- */
ul.bullets li { position: relative; padding-left: 26px; margin-bottom: 14px; font-size: 16px; color: var(--text-dark); line-height: 1.45; }
ul.bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- Case cards ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label { font-size: 12.5px; font-weight: bold; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.filter-group select {
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); font-size: 14.5px; color: var(--text-dark);
  background: var(--white); min-width: 210px;
}
.filter-reset {
  align-self: flex-end; background: var(--ice2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px;
  font-size: 14px; font-weight: bold; color: var(--navy);
}
.filter-reset:hover { background: var(--ice); }
.case-count { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; justify-items: center; }
.case-card {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white);
  transition: box-shadow .15s; max-width: 460px; width: 100%; scroll-margin-top: 90px;
}
.case-card:hover { box-shadow: 0 16px 32px rgba(20,27,77,0.1); }
.case-top { background: var(--ice2); padding: 22px 24px 18px 24px; }
.case-model-badge {
  display: inline-block; background: var(--navy); color: var(--white); font-size: 11.5px; font-weight: bold;
  padding: 4px 10px; border-radius: 6px; letter-spacing: .3px; margin-bottom: 12px; text-transform: uppercase;
}
.case-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.case-icon img { width: 22px; height: 22px; }
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.case-tag { font-size: 12px; background: var(--white); border: 1px solid var(--border); color: var(--text-muted); padding: 4px 10px; border-radius: 6px; }
.case-top h3 { font-size: 18px; color: var(--text-dark); }
.case-body { padding: 20px 24px 24px 24px; }
.case-row { margin-bottom: 12px; }
.case-row .lbl { font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: .4px; color: var(--orange); margin-bottom: 3px; }
.case-row p { font-size: 14.5px; color: var(--text-dark); }
.case-result { background: var(--ice2); border-radius: 10px; padding: 12px 14px; margin-top: 14px; }
.case-result .lbl { color: var(--green); }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } .case-card { max-width: 100%; } .filters { flex-direction: column; } .filter-group select { min-width: 100%; } }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; justify-items: center; }
.news-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white); display: flex; flex-direction: column; max-width: 340px; width: 100%; }
.news-card:hover { box-shadow: 0 16px 32px rgba(20,27,77,0.1); }
.news-thumb { height: 140px; background: var(--navy); display: flex; align-items: center; justify-content: center; position: relative; }
.news-thumb img { width: 48px; height: 48px; }
.news-cat { position: absolute; top: 12px; left: 12px; background: var(--orange); color: var(--white); font-size: 11.5px; font-weight: bold; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.news-body { padding: 20px 22px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; }
.news-body h3 { font-size: 17px; margin-bottom: 10px; color: var(--text-dark); line-height: 1.3; }
.news-body p.excerpt { font-size: 14.5px; color: var(--text-muted); flex: 1; margin-bottom: 14px; }
.news-body .go { font-size: 14px; font-weight: bold; color: var(--navy); }
.news-body .go:after { content: " →"; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } .news-card { max-width: 100%; } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 16.5px; font-weight: bold; color: var(--text-dark);
}
.faq-q .plus { font-size: 22px; color: var(--orange); transition: transform .2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { font-size: 15px; color: var(--text-muted); padding-bottom: 20px; max-width: 780px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: 0 12px 32px rgba(20,27,77,0.06); }
.form-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-dark); }
.form-card .note { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: bold; color: var(--text-dark); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); font-size: 15px; color: var(--text-dark);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.consent input { margin-top: 3px; }
.form-submit { width: 100%; padding: 14px; border-radius: 24px; background: var(--orange); color: var(--white); font-weight: bold; font-size: 16px; border: none; }
.form-submit:hover { background: var(--orange-dark); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px auto; }
.form-success h4 { font-size: 18px; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Footer ---------- */
footer { background: var(--navy3); color: #8791BF; padding: 56px 0 24px 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-col h5 { color: var(--white); font-size: 14.5px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14.5px; color: #A3ACD6; }
.footer-col ul a:hover { color: var(--white); }
.footer-col p { font-size: 14px; line-height: 1.6; color: #8791BF; }
.footer-newsletter { border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-newsletter-text h5 { color: var(--white); font-size: 15.5px; margin-bottom: 6px; font-family: Georgia, Cambria, serif; }
.footer-newsletter-text p { font-size: 13.5px; color: #8791BF; max-width: 46ch; }
.footer-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.footer-newsletter-form input[type="email"] { width: 240px; max-width: 100%; padding: 12px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); color: var(--white); font-size: 14px; font-family: Calibri, sans-serif; }
.footer-newsletter-form input[type="email"]::placeholder { color: #8791BF; }
.footer-newsletter-form input[type="email"]:focus { outline: none; border-color: var(--orange); }
.footer-newsletter-form button { padding: 12px 24px; border-radius: 100px; border: none; background: var(--orange); color: var(--white); font-weight: bold; font-size: 14px; cursor: pointer; white-space: nowrap; }
.footer-newsletter-form button:hover { background: var(--orange-dark); }
.footer-newsletter .form-success { padding: 8px 0; text-align: left; }
.footer-newsletter .form-success .check { width: 34px; height: 34px; font-size: 16px; margin: 0 0 6px 0; }
.footer-newsletter .form-success h4 { color: var(--white); font-size: 15px; }
.footer-newsletter .form-success p { color: #8791BF; font-size: 13px; }
@media (max-width: 700px) { .footer-newsletter-form { width: 100%; } .footer-newsletter-form input[type="email"] { flex: 1; width: auto; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }
.footer-legal { font-size: 12.5px; line-height: 1.6; color: #6C76A8; max-width: 980px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500; background: var(--navy3); color: #C7CCE8;
  border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 20px; display: none; box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-inner p { font-size: 13.5px; line-height: 1.6; max-width: 780px; margin: 0; }
.cookie-inner a { color: var(--white); text-decoration: underline; }
.cookie-accept {
  flex-shrink: 0; background: var(--orange); color: var(--white); border: none; border-radius: 24px; padding: 11px 24px;
  font-weight: bold; font-size: 14.5px; cursor: pointer;
}
.cookie-accept:hover { background: var(--orange-dark); }
@media (max-width: 700px) { .cookie-inner { flex-direction: column; align-items: stretch; } .cookie-accept { width: 100%; } }

/* ---------- Floating quiz trigger ---------- */
.quiz-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 300; background: var(--orange); color: var(--white);
  border: none; border-radius: 30px; padding: 15px 22px; font-weight: bold; font-size: 15px; box-shadow: 0 10px 28px rgba(255,107,53,0.4);
  display: flex; align-items: center; gap: 8px;
}
.quiz-fab:hover { background: var(--orange-dark); }
.quiz-fab .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55);} 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0);} 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0);} }


/* ---------- Прокручиваемый список этапов проекта ---------- */
.steps-scroll {
  max-height: 480px; overflow-y: auto; padding-right: 14px; margin-top: 18px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent 100%);
}
.steps-scroll::-webkit-scrollbar { width: 6px; }
.steps-scroll::-webkit-scrollbar-track { background: transparent; }
.steps-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.steps-scroll::-webkit-scrollbar-thumb:hover { background: var(--orange); }
.steps-hint { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.steps-hint .arr { color: var(--orange); font-weight: bold; }

/* ---------- Modal / quiz ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(13,18,51,0.6); z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--white); border-radius: 20px; max-width: 560px; width: 100%; max-height: 92vh; overflow-y: auto;
  padding: 36px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.modal-close { position: absolute; top: 18px; right: 18px; background: var(--ice2); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; color: var(--text-muted); }
.modal-close:hover { background: var(--ice); }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.quiz-progress .seg { flex: 1; height: 4px; border-radius: 4px; background: var(--border); }
.quiz-progress .seg.done { background: var(--orange); }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step .qtitle { font-size: 13px; font-weight: bold; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.quiz-step h3 { font-size: 21px; margin-bottom: 20px; color: var(--text-dark); }
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.quiz-opt {
  border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 15.5px; text-align: left; background: var(--white); color: var(--text-dark);
}
.quiz-opt:hover { border-color: var(--orange); background: #FFF6F2; }
.quiz-opt.selected { border-color: var(--orange); background: #FFF1E8; font-weight: bold; }
.quiz-nav { display: flex; justify-content: space-between; gap: 10px; }
.quiz-back { background: none; border: none; color: var(--text-muted); font-size: 14.5px; font-weight: bold; }
.quiz-next { background: var(--orange); color: var(--white); border: none; padding: 12px 26px; border-radius: 22px; font-weight: bold; font-size: 15px; }
.quiz-next:disabled { opacity: .45; }

/* ---------- Article page ---------- */
.article-body { max-width: 740px; margin: 0 auto; padding: 60px 24px; }

/* ---------- Декоративный анимированный символ в пустых полях статьи ---------- */
.side-decor {
  position: fixed; top: 58%; width: 82px; height: 82px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center; z-index: 50;
  box-shadow: 0 14px 34px rgba(255,107,53,0.35); animation-duration: 4.5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
}
.side-decor img { width: 38px; height: 38px; }
.side-decor.left { left: 44px; transform: translateY(-50%); animation-name: side-float-left; }
.side-decor.right { right: 44px; background: var(--navy); box-shadow: 0 14px 34px rgba(20,27,77,0.3); animation-delay: .8s; animation-name: side-float-right; }
.side-decor::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255,107,53,0.4);
  animation: side-ring 3.2s ease-out infinite;
}
.side-decor.right::after { border-color: rgba(30,39,97,0.4); }
@keyframes side-float-left {
  0%, 100% { transform: translateY(-50%) translateY(0) rotate(0deg); }
  50% { transform: translateY(-50%) translateY(-18px) rotate(-6deg); }
}
@keyframes side-float-right {
  0%, 100% { transform: translateY(-50%) translateY(0) rotate(0deg); }
  50% { transform: translateY(-50%) translateY(-18px) rotate(6deg); }
}
@keyframes side-ring { 0% { transform: scale(0.9); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
@media (max-width: 1500px) { .side-decor { display: none; } }
@media (prefers-reduced-motion: reduce) { .side-decor, .side-decor::after { animation: none; } }
.article-body h2 { font-size: 24px; margin: 34px 0 14px 0; color: var(--navy); }
.article-body p { font-size: 16.5px; margin-bottom: 18px; color: #333A55; }
.article-body ul { margin: 0 0 20px 0; }
.article-body ul li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 16px; color: #333A55; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.article-meta { display: flex; align-items: center; gap: 14px; margin: 22px 0 8px 0; color: #8791BF; font-size: 14px; }
.author-chip { display: flex; align-items: center; gap: 10px; }
.author-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: bold; font-size: 14px; }

/* ---------- Заголовок с акцентом ---------- */
h1 .hl, h2 .hl { color: var(--orange); }

/* ---------- Полоса преимуществ (3 колонки, чекмарки) ---------- */
.benefit-strip { background: var(--ice2); padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit-item { display: flex; align-items: flex-start; gap: 14px; }
.benefit-item .ic { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(20,27,77,0.08); }
.benefit-item .ic img { width: 20px; height: 20px; }
.benefit-item h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--text-dark); }
.benefit-item p { font-size: 14px; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 860px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ---------- Generic carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-arrows { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 18px; }
.carousel-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.carousel-arrow img { width: 14px; height: 14px; }
.carousel-arrow:hover { border-color: var(--orange); background: #FFF6F2; }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-arrow:disabled:hover { border-color: var(--border); background: var(--white); }

/* ---------- Карточка услуги в карусели ---------- */
.svc-carousel-card {
  width: 300px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px 26px;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.svc-carousel-card .num { position: absolute; top: 18px; right: 22px; font-size: 34px; font-weight: bold; font-family: Georgia, serif; color: var(--border); z-index: 0; }
.svc-carousel-card .svc-icon { position: relative; z-index: 1; }
.svc-carousel-card .tag { font-size: 12px; font-weight: bold; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; margin: 14px 0 6px 0; position: relative; z-index: 1; }
.svc-carousel-card h3 { font-size: 18px; margin-bottom: 14px; color: var(--text-dark); position: relative; z-index: 1; min-height: 46px; }
.svc-carousel-card .meta-row { display: flex; gap: 18px; margin-bottom: 18px; position: relative; z-index: 1; }
.svc-carousel-card .meta-col .lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .3px; color: var(--text-muted); margin-bottom: 3px; }
.svc-carousel-card .meta-col .val { font-size: 13.5px; font-weight: bold; color: var(--navy); }
.svc-carousel-card .go-btn {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--orange);
  color: var(--orange); font-weight: bold; font-size: 14px; padding: 10px 18px; border-radius: 22px; position: relative; z-index: 1;
}
.svc-carousel-card .go-btn:hover { background: var(--orange); color: var(--white); }
.svc-carousel-card.featured {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9257 100%); border-color: transparent; color: var(--white);
}
.svc-carousel-card.featured .num { color: rgba(255,255,255,0.28); }
.svc-carousel-card.featured h3, .svc-carousel-card.featured .tag { color: var(--white); }
.svc-carousel-card.featured .meta-col .lbl { color: rgba(255,255,255,0.75); }
.svc-carousel-card.featured .meta-col .val { color: var(--white); }
.svc-carousel-card.featured .go-btn { border-color: var(--white); color: var(--white); }
.svc-carousel-card.featured .go-btn:hover { background: var(--white); color: var(--orange); }
.svc-carousel-card.featured .svc-icon { background: rgba(255,255,255,0.16); }
@media (max-width: 640px) { .svc-carousel-card { width: 82vw; } }

/* ---------- Переключатель способа связи в форме ---------- */
.contact-toggle { display: flex; gap: 10px; margin-bottom: 14px; }
.contact-toggle button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--white); font-weight: bold; font-size: 14.5px; color: var(--text-dark);
}
.contact-toggle button img { width: 15px; height: 15px; }
.contact-toggle button.active { border-color: var(--orange); background: #FFF1E8; color: var(--orange-dark); }

/* ---------- Карточка кейса v2 (для карусели на главной) ---------- */
.case-card-v2 {
  width: 380px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--white);
}
.case-card-v2 .band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); padding: 26px 24px; position: relative; }
.case-card-v2 .band .case-icon { background: rgba(255,255,255,0.14); margin-bottom: 14px; }
.case-card-v2 .band h3 { font-size: 18px; color: var(--white); }
.case-card-v2 .band .case-model-badge { background: rgba(255,255,255,0.16); }
.case-card-v2 .body2 { padding: 20px 24px 24px 24px; }
.case-card-v2 .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 14px; }
.case-card-v2 .meta-grid .lbl { font-size: 11.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.case-card-v2 .meta-grid .val { font-size: 13.5px; font-weight: bold; color: var(--text-dark); line-height: 1.3; }
.case-card-v2 .result-line { background: var(--ice2); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--text-dark); margin-bottom: 16px; }
.case-card-v2 .result-line b { color: var(--green); display: block; font-size: 11.5px; text-transform: uppercase; margin-bottom: 3px; }
.case-card-v2 .go-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--navy); color: var(--navy); font-weight: bold;
  font-size: 14px; padding: 10px 18px; border-radius: 22px;
}
.case-card-v2 .go-btn:hover { background: var(--navy); color: var(--white); }
@media (max-width: 640px) { .case-card-v2 { width: 86vw; } }

/* ---------- Наша миссия ---------- */
.mission-card {
  background: linear-gradient(120deg, var(--orange) 0%, #FFA157 100%); border-radius: 20px; padding: 34px 38px; color: var(--white); margin-top: 30px;
}
.mission-card h3 { font-size: 20px; margin-bottom: 10px; }
.mission-card p { font-size: 16px; line-height: 1.5; }

/* ---------- Наши ценности ---------- */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 28px; box-shadow: 0 8px 22px rgba(20,27,77,0.05); }
.value-card .ic { width: 46px; height: 46px; margin-bottom: 16px; }
.value-card .ic img { width: 100%; height: 100%; }
.value-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--text-dark); }
.value-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.45; }
.values-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) and (min-width: 701px) { .values-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .values-grid, .values-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- УТП (отстройка от конкурентов) ---------- */
.utp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.utp-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; }
.utp-tag { font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: .4px; color: var(--text-muted); margin-bottom: 14px; }
.utp-good { font-size: 15px; color: var(--green); font-weight: bold; margin-bottom: 8px; }
.utp-bad { font-size: 14px; color: var(--text-muted); line-height: 1.4; }
.utp-conclusion { background: var(--navy); color: var(--white); border-radius: 16px; padding: 24px 30px; margin-top: 22px; text-align: center; }
.utp-conclusion p { font-size: 17px; line-height: 1.4; }
@media (max-width: 860px) { .utp-grid { grid-template-columns: 1fr; } }

/* ---------- Чек-лист аудита + CTA ---------- */
.audit-get-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: stretch; margin-top: 32px; }
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.checklist-item { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; font-weight: bold; color: var(--text-dark); }
.checklist-item img { width: 18px; height: 18px; }
.checklist-item.text { align-items: flex-start; font-weight: normal; line-height: 1.45; padding: 16px 18px; }
.checklist-item.text img { margin-top: 2px; flex-shrink: 0; }
.audit-cta-card {
  background: linear-gradient(150deg, var(--orange) 0%, #FF9257 100%); border-radius: 18px; padding: 30px; color: var(--white);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.audit-cta-card h4 { font-size: 19px; }
.audit-cta-card p { font-size: 14.5px; color: rgba(255,255,255,0.92); }
.audit-cta-card .btn-row-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.audit-cta-card .btn-white { background: var(--white); color: var(--orange-dark); border: none; padding: 12px 22px; border-radius: 22px; font-weight: bold; font-size: 14.5px; }
.audit-cta-card .btn-outline-w { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); padding: 12px 22px; border-radius: 22px; font-weight: bold; font-size: 14.5px; }
@media (max-width: 900px) { .audit-get-grid { grid-template-columns: 1fr; } .checklist-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ нумерация ---------- */
.faq-item .faq-q { display: flex; align-items: center; gap: 14px; }
.faq-num { font-size: 20px; font-weight: bold; font-family: Georgia, serif; color: var(--border); min-width: 30px; }

/* ---------- Широкая форма-баннер (на всю ширину, под текстом) ---------- */
.form-banner {
  background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 30px 34px;
  box-shadow: 0 12px 32px rgba(20,27,77,0.06); margin-top: 28px;
}
.form-banner h3 { font-size: 19px; margin-bottom: 8px; color: var(--text-dark); }
.form-banner .note { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.form-banner .banner-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.form-banner .banner-row .field.grow { flex: 1; min-width: 220px; margin-bottom: 14px; }
.form-banner .banner-submit { flex: 0 0 auto; width: auto; padding: 0 30px; white-space: nowrap; height: 48px; }
@media (max-width: 700px) { .form-banner .banner-submit { width: 100%; height: auto; padding: 14px; } }

/* utility */
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
.hidden { display: none !important; }

.preview-note { background:#141B4D; color:#8791BF; text-align:center; font-size:12.5px; padding:4px; }
