:root {
  --bg: #f5f6f9;
  --surface: #ffffff;
  --surface-soft: #fbfcff;
  --text: #0f1729;
  --text-soft: #52607a;
  --line: #d7deec;
  --line-soft: #e8edf6;
  --blue: #0b4db3;
  --blue-deep: #0a3173;
  --red: #d52b1e;
  --red-dark: #b52117;
  --shadow: 0 20px 55px rgba(17, 36, 76, 0.09);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(11, 77, 179, 0.05), transparent 22%),
    radial-gradient(circle at top right, rgba(213, 43, 30, 0.04), transparent 20%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.topline { height: 6px; background: linear-gradient(90deg, #ffffff 0 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66%); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 222, 236, 0.8);
}
.simple-header { position: relative; }
.header-inner {
  min-height: 84px; display: grid; align-items: center;
  grid-template-columns: auto 1fr auto auto; gap: 18px;
}
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 54px; height: 54px; border-radius: 16px; flex: 0 0 54px;
  display: grid; place-items: center; font-size: 24px; color: white;
  background: linear-gradient(180deg, var(--blue) 0 50%, var(--red) 50% 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-text strong { font-size: 18px; letter-spacing: 0.02em; }
.logo-text small { font-size: 12px; color: var(--text-soft); }

.main-nav { display: flex; align-items: center; justify-content: center; gap: 22px; }
.main-nav a { font-size: 14px; color: var(--text-soft); font-weight: 600; transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
.header-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.header-phone { font-size: 18px; font-weight: 800; color: var(--blue-deep); }
.header-contacts span { font-size: 12px; color: var(--text-soft); }
.menu-toggle {
  display: none; width: 54px; height: 54px; border-radius: 16px; border: 1px solid var(--line);
  background: white; align-items: center; justify-content: center; gap: 5px; flex-direction: column; cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 999px; }

.hero {
  position: relative; overflow: hidden; padding: 36px 0 70px;
  background: #f4f5f8;
}
.hero-flag {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-flag img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at left top, rgba(255,255,255,0.3), transparent 30%);
}
.hero-inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) 420px; gap: 28px; align-items: center;
}
.hero-content, .hero-card {
  background: rgba(255,255,255,0.93);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}
.hero-content { padding: 34px 34px 30px; }
.hero-card { padding: 26px 24px 24px; }
.hero-title {
  margin: 14px 0 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(38px, 5vw, 70px);
  line-height: .98; letter-spacing: -0.04em;
  max-width: 11ch;
}
.hero-text {
  margin: 0 0 24px; font-size: 18px; line-height: 1.66; color: var(--text-soft); max-width: 730px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--text-soft); line-height: 1.6; padding-top: 18px; border-top: 1px solid var(--line-soft); }

.section { padding: 78px 0; }
.section-head { margin-bottom: 28px; }
.section-head.centered { text-align: center; max-width: 920px; margin-inline: auto; margin-bottom: 34px; }
.section-head h1,
.section-head h2,
.panel-card h2,
.final-cta h2,
.cta-box h2,
.contact-copy h2 {
  margin: 14px 0 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.section-head p, .panel-card p, .contact-copy p, .cta-box p, .final-cta p { color: var(--text-soft); font-size: 18px; line-height: 1.65; }
.section-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.85); color: var(--blue-deep); font-size: 13px; font-weight: 700;
}
.badge-light { background: rgba(255,255,255,0.82); }
.flag-line {
  width: 32px; height: 10px; border-radius: 999px; display: inline-block; position: relative; overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66% 100%);
  border: 1px solid rgba(9, 34, 74, 0.08);
}
.mini-stripe {
  width: 96px; height: 5px; border-radius: 999px; margin-bottom: 18px;
  background: linear-gradient(90deg, #ffffff 0 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66% 100%);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 16px; border: 1px solid transparent;
  font-weight: 800; font-size: 15px; transition: .2s ease; cursor: pointer;
}
.btn-primary { background: var(--blue); color: white; box-shadow: 0 14px 30px rgba(11, 77, 179, 0.24); }
.btn-primary:hover { background: #CD2A1E; transform: translateY(-1px); }
.btn-secondary { background: white; color: var(--blue-deep); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: white; color: var(--blue-deep); }
.btn-block { width: 100%; }
.btn.is-loading { opacity: .8; pointer-events: none; }

.card, .panel-card, .direction-card, .feature-card, .trust-card, .info-card, .contact-card, .policy-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
.large-card { padding: 34px; }
.pain-card p:last-child { margin-bottom: 0; }
.pain-card p { margin: 0 0 16px; font-size: 18px; line-height: 1.75; color: var(--text-soft); }

.hero-card h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.1; letter-spacing: -0.04em; font-family: 'Roboto', Arial, sans-serif; }
.hero-card p { margin: 0 0 18px; color: var(--text-soft); line-height: 1.65; }
.hero-benefits { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.hero-benefits li {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface-soft);
}
.hero-benefits i { color: var(--red); font-size: 16px; }

.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; }
.field input {
  width: 100%; height: 58px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line); background: white;
  color: var(--text); outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 77, 179, 0.08); }
.phone-field {
  display: grid; grid-template-columns: 26px auto 1fr; align-items: center; gap: 10px;
  height: 58px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line); background: white;
}
.phone-field .phone-input { border: 0; padding: 0; height: auto; box-shadow: none; }
.phone-prefix { font-weight: 700; }
.flag-icon {
  display: inline-block; width: 24px; height: 16px; border-radius: 4px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(180deg, #ffffff 0 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66% 100%);
}
.field small { display: block; color: var(--text-soft); margin-top: 8px; line-height: 1.45; }
.checkline { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 18px; font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.checkline input { accent-color: var(--blue); margin-top: 2px; }
.form-status { min-height: 22px; margin-top: 12px; font-size: 14px; }
.form-status.loading { color: var(--blue-deep); }
.form-status.success { color: #177a2c; }
.form-status.error { color: #b42318; }

.cards-grid { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.info-card, .feature-card, .trust-card {
  padding: 24px 22px; position: relative; overflow: hidden;
}
.info-card::before, .feature-card::before, .trust-card::before, .direction-card::before, .panel-card::before, .contact-card::before, .policy-card::before, .large-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #ffffff 0 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66% 100%);
}
.center-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; min-height: 160px;
}
.center-card i { font-size: 28px; color: var(--blue-deep); }
.center-card span { font-size: 17px; font-weight: 700; line-height: 1.42; }
.icon-wrap {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; font-size: 26px;
}
.icon-blue { background: #eaf1ff; color: var(--blue); }
.icon-red { background: #fff0ee; color: var(--red); }
.feature-card h3, .trust-card h3, .direction-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
.feature-card p, .trust-card p, .direction-card p { margin: 0; color: var(--text-soft); line-height: 1.65; }

.direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.direction-card { padding: 26px; position: relative; overflow: hidden; }
.direction-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.direction-card h4 { margin: 18px 0 10px; font-size: 16px; }
.direction-card ul { margin: 0; padding-left: 18px; color: var(--text-soft); line-height: 1.65; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.panel-card { padding: 28px; position: relative; overflow: hidden; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.5; }
.check-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 0; color: var(--blue); }
.steps-list { list-style: none; counter-reset: step; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.steps-list li { counter-increment: step; position: relative; padding-left: 64px; }
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: white; font-weight: 800; box-shadow: 0 8px 18px rgba(213,43,30,.2);
}
.steps-list strong { display: block; font-size: 18px; margin-bottom: 6px; }
.steps-list span { display: block; color: var(--text-soft); line-height: 1.55; }

.trust-grid .trust-card { min-height: 100%; }
.cta-box, .final-cta {
  background: var(--blue-deep); color: white; border-radius: 34px; padding: 34px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; position: relative; overflow: hidden;
}
.cta-box::before, .final-cta::before {
  content: ''; position: absolute; inset: 0; background:
    radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 25%),
    radial-gradient(circle at bottom right, rgba(213,43,30,0.20), transparent 22%);
}
.cta-box > *, .final-cta > * { position: relative; z-index: 1; }
.cta-box .section-badge, .final-cta .section-badge { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.18); }
.cta-box h2, .final-cta h2 { color: white; margin-top: 16px; }
.cta-box p, .final-cta p, .side-note { color: rgba(255,255,255,0.82); }
.final-cta-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq-item {
  background: white; border: 1px solid var(--line-soft); border-radius: 22px; box-shadow: var(--shadow); padding: 0 20px;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 34px 22px 0; position: relative; font-size: 18px; font-weight: 800;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 0; top: 22px; color: var(--blue);
}
.faq-item[open] summary::after { content: '\f106'; }
.faq-item p { margin: 0; padding: 0 0 22px; color: var(--text-soft); line-height: 1.65; font-size: 16px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 22px; align-items: center; }
.contact-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.contact-points li { display: flex; gap: 12px; align-items: center; color: var(--text-soft); font-size: 17px; }
.contact-points i { color: var(--red); }
.contact-card { padding: 26px; position: relative; overflow: hidden; }

.site-footer { background: #09152b; color: rgba(255,255,255,0.82); padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 28px; }
.footer-logo .logo-mark { box-shadow: none; }
.footer-logo .logo-text strong, .site-footer h3 { color: white; }
.site-footer h3 { font-size: 16px; margin: 0 0 12px; }
.footer-copy { margin: 18px 0 0; line-height: 1.7; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0 22px; font-size: 14px; }

.policy-page { min-height: 100vh; }
.policy-card { padding: 28px; position: relative; overflow: hidden; }
.policy-card h2 { font-size: 24px; margin: 28px 0 10px; }
.policy-card p, .policy-card li { color: var(--text-soft); line-height: 1.75; }

.thanks-page {
  min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(11,77,179,.05), transparent 20%),
    radial-gradient(circle at bottom right, rgba(213,43,30,.06), transparent 18%),
    var(--bg);
}
.thanks-card {
  width: min(100%, 680px); background: white; border-radius: 34px; padding: 36px; border: 1px solid var(--line-soft); box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden;
}
.thanks-card .mini-stripe { margin-inline: auto; }
.thanks-icon { font-size: 62px; color: var(--blue); margin-bottom: 14px; }
.thanks-card h1 { margin: 0 0 14px; font-family: 'Roboto', Arial, sans-serif; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; }
.thanks-card p, .thanks-note { color: var(--text-soft); line-height: 1.7; }
.thanks-note { margin: 14px 0 22px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .main-nav { position: fixed; right: 16px; top: 86px; width: min(90vw, 360px); background: white; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: flex-start; }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-contacts { display: none; }
  .hero-inner, .contact-layout { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .direction-grid, .two-col, .faq-grid, .cards-2, .cards-4 { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-box, .final-cta { grid-template-columns: 1fr; }
  .final-cta-side { align-items: flex-start; }
  .hero-title { max-width: none; }
}

@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .hero { padding: 18px 0 56px; }
  .hero-content, .hero-card, .panel-card, .large-card, .contact-card, .direction-card, .thanks-card, .policy-card { padding: 24px 20px; }
  .header-inner { min-height: 76px; grid-template-columns: auto auto; justify-content: space-between; }
  .logo-mark { width: 48px; height: 48px; border-radius: 14px; }
  .logo-text strong { font-size: 16px; }
  .logo-text small { font-size: 11px; }
  .hero-title { font-size: clamp(34px, 10vw, 50px); line-height: 1.02; }
  .hero-text, .section-head p, .contact-copy p, .cta-box p, .final-cta p { font-size: 16px; }
  .cards-5 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* === PATCH V2: компактная форма, отдельные блоки и FAQ === */
.hero-inner{
  align-items: stretch;
}
.hero-content,
.hero-card{
  display:flex;
  flex-direction:column;
}
.hero-card{
  justify-content:center;
}
.hero-benefits.hero-benefits-compact{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:18px 0 18px;
  padding:0;
  list-style:none;
}
.hero-benefits.hero-benefits-compact li{
  min-height:86px;
  padding:14px 12px;
  border-radius:18px;
  border:1px solid var(--line-soft);
  background:rgba(255,255,255,.78);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
}
.hero-benefits.hero-benefits-compact i{
  color:var(--red);
  font-size:20px;
}
.hero-benefits.hero-benefits-compact span{
  font-size:13px;
  line-height:1.28;
  font-weight:700;
}
.hero-card .lead-form{
  margin-top:4px;
}
.hero-card h2{
  font-size:26px;
  max-width:92%;
}
.hero-card p{
  margin-bottom:14px;
}
.hero-card .field{
  margin-bottom:12px;
}
.hero-card .checkline{
  margin:10px 0 14px;
}

.cards-5 .feature-card{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.cards-5 .feature-card .icon-wrap{
  margin-left:auto;
  margin-right:auto;
}
.cards-5 .feature-card p{
  max-width:260px;
  margin-left:auto;
  margin-right:auto;
}

.consultation-section{
  padding-bottom:38px;
}
.process-section{
  padding-top:38px;
}
.premium-panel{
  position:relative;
  overflow:hidden;
  padding:38px;
}
.premium-panel::after{
  content:'';
  position:absolute;
  right:-90px;
  bottom:-90px;
  width:280px;
  height:280px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(11,77,179,.10), transparent 62%);
  pointer-events:none;
}
.wide-panel .check-list-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 18px;
}
.wide-panel .check-list-grid li{
  background:var(--surface-soft);
  border:1px solid var(--line-soft);
  border-radius:16px;
  padding:15px 18px 15px 44px;
}
.wide-panel .check-list-grid li::before{
  left:17px;
  top:15px;
}
.process-panel .steps-list-premium{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-top:24px;
}
.process-panel .steps-list-premium li{
  padding:72px 18px 20px;
  border:1px solid var(--line-soft);
  border-radius:20px;
  background:var(--surface-soft);
  min-height:230px;
}
.process-panel .steps-list-premium li::before{
  left:18px;
  top:18px;
  background:var(--blue);
}
.process-panel .steps-list-premium li:nth-child(even)::before{
  background:var(--red);
}
.process-panel .steps-list-premium strong{
  font-size:17px;
}
.process-panel .steps-list-premium span{
  font-size:14px;
}

.faq-item:last-child:nth-child(odd){
  grid-column:1 / -1;
}
.faq-item[open] p{
  display:block;
}
.footer-bottom{
  text-align:center;
}

@media (max-width:1180px){
  .hero-benefits.hero-benefits-compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .process-panel .steps-list-premium{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:900px){
  .wide-panel .check-list-grid{
    grid-template-columns:1fr;
  }
  .process-panel .steps-list-premium{
    grid-template-columns:1fr;
  }
  .faq-item:last-child:nth-child(odd){
    grid-column:auto;
  }
}
@media (max-width:720px){
  .hero-benefits.hero-benefits-compact{
    grid-template-columns:1fr 1fr;
  }
  .premium-panel{
    padding:24px 20px;
  }
  .process-panel .steps-list-premium li{
    min-height:auto;
  }
}
@media (max-width:430px){
  .hero-benefits.hero-benefits-compact{
    grid-template-columns:1fr;
  }
}


/* === PATCH V3: hero phrase on one line + premium animated process === */
.nowrap{
  white-space:nowrap;
}

.hero-title{
  max-width:min(100%, 900px) !important;
  font-size:clamp(42px, 4.35vw, 68px) !important;
  line-height:.98 !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}

.hero-title .nowrap{
  white-space:nowrap;
}

.process-section{
  position:relative;
  overflow:hidden;
}

.process-section::before{
  content:'';
  position:absolute;
  left:50%;
  top:52px;
  width:min(760px, 82vw);
  height:min(760px, 82vw);
  transform:translateX(-50%);
  border-radius:50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(255,255,255,.95), transparent 34%),
    conic-gradient(from 215deg, rgba(255,255,255,.75), rgba(0,57,166,.10), rgba(213,43,30,.10), rgba(255,255,255,.72));
  opacity:.55;
  pointer-events:none;
}

.process-flow{
  position:relative;
  z-index:1;
  max-width:1080px;
  margin:8px auto 0;
  padding:14px 0;
  display:grid;
  gap:24px;
}

.process-flow::before{
  content:'';
  position:absolute;
  top:28px;
  bottom:28px;
  left:50%;
  width:4px;
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(180deg, #fff 0 18%, var(--blue) 18% 65%, var(--red) 65% 100%);
  box-shadow:0 0 0 8px rgba(255,255,255,.72);
}

.process-step{
  position:relative;
  width:calc(50% - 42px);
  min-height:178px;
  display:grid;
  grid-template-columns:66px minmax(0,1fr);
  gap:18px;
  align-items:start;
  padding:28px 28px 26px;
  border-radius:28px;
  border:1px solid rgba(215,222,236,.95);
  background:rgba(255,255,255,.94);
  box-shadow:0 22px 56px rgba(17,36,76,.10);
  overflow:hidden;
}

.process-step::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:5px;
  background:linear-gradient(90deg, #ffffff 0 33.33%, #0039A6 33.33% 66.66%, #D52B1E 66.66% 100%);
}

.process-step::after{
  content:'';
  position:absolute;
  top:48px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  border:5px solid var(--blue);
  box-shadow:0 0 0 8px rgba(255,255,255,.78);
}

.process-step:nth-child(odd){
  justify-self:start;
}

.process-step:nth-child(even){
  justify-self:end;
}

.process-step:nth-child(odd)::after{
  right:-52px;
}

.process-step:nth-child(even)::after{
  left:-52px;
  border-color:var(--red);
}

.step-number{
  position:absolute;
  right:24px;
  bottom:16px;
  font-family:'Playfair Display', serif;
  font-size:64px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.06em;
  color:rgba(11,77,179,.075);
  pointer-events:none;
}

.process-step:nth-child(even) .step-number{
  color:rgba(213,43,30,.075);
}

.step-icon{
  width:64px;
  height:64px;
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:27px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.step-content h3{
  margin:0 0 10px;
  font-size:23px;
  line-height:1.15;
  letter-spacing:-.02em;
}

.step-content p{
  margin:0;
  color:var(--text-soft);
  font-size:16px;
  line-height:1.62;
}

.step-reveal{
  opacity:0;
  transform:translateY(28px) scale(.985);
  transition:opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1);
}

.step-reveal.revealed{
  opacity:1;
  transform:translateY(0) scale(1);
}

.process-step:nth-child(2){ transition-delay:.08s; }
.process-step:nth-child(3){ transition-delay:.16s; }
.process-step:nth-child(4){ transition-delay:.24s; }
.process-step:nth-child(5){ transition-delay:.32s; }

@media (max-width:1180px){
  .process-flow::before{
    left:32px;
  }
  .process-step,
  .process-step:nth-child(even),
  .process-step:nth-child(odd){
    width:100%;
    justify-self:stretch;
    padding-left:92px;
  }
  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(even)::after{
    left:23px;
    right:auto;
  }
  .step-icon{
    position:absolute;
    left:26px;
    top:72px;
    width:44px;
    height:44px;
    border-radius:15px;
    font-size:19px;
  }
}

@media (max-width:720px){
  .hero-title{
    font-size:clamp(34px, 9.3vw, 48px) !important;
    line-height:1.02 !important;
    letter-spacing:-.045em !important;
  }
  .process-flow{
    gap:18px;
  }
  .process-flow::before{
    left:22px;
  }
  .process-step,
  .process-step:nth-child(even),
  .process-step:nth-child(odd){
    min-height:auto;
    padding:24px 20px 22px 74px;
    border-radius:24px;
  }
  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(even)::after{
    left:13px;
    top:36px;
    width:16px;
    height:16px;
    border-width:4px;
  }
  .step-icon{
    left:18px;
    top:66px;
    width:38px;
    height:38px;
    border-radius:13px;
    font-size:17px;
  }
  .step-number{
    font-size:46px;
    right:18px;
    bottom:14px;
  }
  .step-content h3{
    font-size:20px;
  }
  .step-content p{
    font-size:15px;
  }
}

@media (max-width:390px){
  .hero-title{
    font-size:32px !important;
  }
}
/* PATCH: красивая мобильная версия блока "Как мы работаем" */
@media (max-width: 900px) {
  .process-flow {
    max-width: 100%;
    padding-left: 30px;
    gap: 18px;
  }

  .process-flow::before {
    left: 14px;
    top: 26px;
    bottom: 26px;
    width: 3px;
  }

  .process-step,
  .process-step:nth-child(even),
  .process-step:nth-child(odd) {
    width: 100%;
    min-height: auto;
    justify-self: stretch;

    display: block !important;
    grid-template-columns: none !important;

    padding: 22px 18px 24px !important;
    margin: 0;
    border-radius: 24px;
  }

  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(even)::after {
    left: -25px;
    top: 32px;
    right: auto;

    width: 16px;
    height: 16px;
    border-width: 4px;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.9);
  }

  .process-step:nth-child(odd)::after {
    border-color: var(--blue);
  }

  .process-step:nth-child(even)::after {
    border-color: var(--red);
  }

  .step-icon {
    position: absolute;
    left: 18px;
    top: 20px;

    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 18px;
  }

  .step-content {
    width: 100%;
    max-width: none;
  }

  .step-content h3 {
    min-height: 42px;
    display: flex;
    align-items: center;

    padding-left: 58px;
    margin: 0 0 16px;

    font-size: 22px;
    line-height: 1.14;
    letter-spacing: -0.02em;
  }

  .step-content p {
    width: 100%;
    max-width: none;

    margin: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .step-number {
    right: 16px;
    bottom: 10px;

    font-size: 46px;
    opacity: 0.75;
  }
}

@media (max-width: 430px) {
  .process-flow {
    padding-left: 26px;
  }

  .process-flow::before {
    left: 12px;
  }

  .process-step,
  .process-step:nth-child(even),
  .process-step:nth-child(odd) {
    padding: 20px 16px 22px !important;
  }

  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(even)::after {
    left: -23px;
    top: 30px;
  }

  .step-icon {
    left: 16px;
    top: 18px;
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .step-content h3 {
    padding-left: 54px;
    font-size: 21px;
  }

  .step-content p {
    font-size: 15.5px;
  }
}
/* PATCH: фикс шкалы в блоке "Как мы работаем" */

/* 1. Убираем широкую белую подложку линии на desktop и mobile */
.process-flow::before {
  width: 3px !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  background: linear-gradient(
    180deg,
    #ffffff 0 18%,
    var(--blue) 18% 65%,
    var(--red) 65% 100%
  ) !important;
}

/* 2. Мобильная версия: отодвигаем карточки от шкалы */
@media (max-width: 900px) {
  .process-flow {
    padding-left: 48px !important;
    overflow: visible !important;
  }

  .process-flow::before {
    left: 18px !important;
    top: 24px !important;
    bottom: 24px !important;
    width: 3px !important;
    box-shadow: none !important;
  }

  .process-step,
  .process-step:nth-child(even),
  .process-step:nth-child(odd) {
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 22px 18px 24px !important;
  }

  /* Кружки шагов ставим ровно по центру шкалы, а не поверх карточек */
  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(even)::after {
    left: -42px !important;
    right: auto !important;
    top: 32px !important;

    width: 16px !important;
    height: 16px !important;
    border-width: 4px !important;
    box-shadow: 0 0 0 5px rgba(255,255,255,.92) !important;
  }

  .process-step:nth-child(odd)::after {
    border-color: var(--blue) !important;
  }

  .process-step:nth-child(even)::after {
    border-color: var(--red) !important;
  }
}

/* 3. Для очень узких экранов */
@media (max-width: 430px) {
  .process-flow {
    padding-left: 44px !important;
  }

  .process-flow::before {
    left: 16px !important;
  }

  .process-step::after,
  .process-step:nth-child(odd)::after,
  .process-step:nth-child(even)::after {
    left: -40px !important;
    top: 30px !important;
  }
}
/* PATCH: фокус телефона должен быть на всём поле, а не внутри input */
.phone-field {
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.phone-field:focus-within {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 4px rgba(11, 77, 179, 0.10) !important;
  background: #fff !important;
}

/* Убираем внутреннюю обводку у самого input */
.phone-field .phone-input,
.phone-field .phone-input:focus,
.phone-field input,
.phone-field input:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* На всякий случай перебиваем общее правило .field input:focus */
.field .phone-field input:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}
/* PATCH: триколорная рамка — слева именно белая, внутри серебристый фон */
.hero-actions .btn-secondary {
  position: relative;
  isolation: isolate;
  overflow: visible;

  border: 0 !important;
  border-radius: 22px !important;

  background: transparent !important;
  color: var(--blue-deep) !important;

  box-shadow:
    0 22px 44px rgba(11, 77, 179, 0.24),
    0 10px 26px rgba(213, 43, 30, 0.10),
    0 0 0 1px rgba(11, 77, 179, 0.08) !important;
}

/* Обводка: белый + синий + красный */
.hero-actions .btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  padding: 3px;
  border-radius: inherit;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 33.333%,
    #0039A6 33.333%,
    #0039A6 66.666%,
    #D52B1E 66.666%,
    #D52B1E 100%
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

/* Внутри кнопки серебристо-светлый фон, чтобы белая рамка читалась */
.hero-actions .btn-secondary::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -2;

  border-radius: 19px;

  background:
    linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);

  box-shadow:
    inset 0 0 0 1px rgba(11, 77, 179, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);

  pointer-events: none;
}

/* Убираем любые старые внутренние линии, если остались */
.hero-actions .btn-secondary > * {
  position: relative;
  z-index: 1;
}

.hero-actions .btn-secondary:hover {
  transform: translateY(-2px);
  background: transparent !important;

  box-shadow:
    0 26px 52px rgba(11, 77, 179, 0.30),
    0 12px 30px rgba(213, 43, 30, 0.14),
    0 0 0 1px rgba(11, 77, 179, 0.10) !important;
}
/* PATCH: FAQ выглядит как раскрытые карточки без сворачивания */
.faq-item {
  cursor: default;
}

.faq-item summary {
  cursor: default !important;
  pointer-events: none;
}

/* Иконка всегда вверх, чтобы не было ощущения аккордеона */
.faq-item summary::after {
  content: '\f106' !important;
}

/* Ответ всегда виден */
.faq-item p {
  display: block !important;
}

/* === Quick submit loader fix ===
   JS already adds .is-loading to submit buttons.
   This CSS only makes that existing state visible and safe. */
.btn.is-loading,
.btn:disabled.is-loading {
  position: relative;
  overflow: hidden;
  color: transparent !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: .88;
  transform: none !important;
}

.btn.is-loading i,
.btn.is-loading svg,
.btn.is-loading span {
  opacity: 0 !important;
}

.btn.is-loading::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  animation: submitLoaderSpin .72s linear infinite;
}

@keyframes submitLoaderSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

