:root{
  --bg:#f4f7fa;
  --surface:#ffffff;
  --text:#1e293b;
  --muted:#64748b;
  --border:#e2e8f0;
  --primary:#16324f;
  --accent:#2f5d8c;
  --accent-soft:#dceaf5;
  --accent-light:#7fb3d5;
  --shadow:0 24px 70px rgba(22,50,79,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Manrope","Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 8% 0%,rgba(127,179,213,.22),transparent 30%),
    linear-gradient(180deg,#f8fbfd 0%,var(--bg) 100%);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
.container{
  width:min(1180px,calc(100% - 40px));
  min-width:0;
  margin:0 auto;
}

.header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(14px);
  background:rgba(244,247,250,.88);
  border-bottom:1px solid rgba(226,232,240,.75);
}

.header__inner{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  color:var(--primary);
  letter-spacing:-.02em;
  font-size:18px;
}

.logo img{width:48px;height:48px;display:block}

.nav{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:15px;
  color:var(--muted);
  margin-left:auto;
}

.nav a:hover,
.nav a[aria-current="page"]{color:var(--primary)}

.header__phone{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  color:var(--primary);
  padding:10px 14px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:999px;
  box-shadow:0 12px 32px rgba(22,50,79,.06);
}

.hero{padding:54px 0 42px}

.breadcrumbs{
  padding:22px 0 0;
}

.breadcrumbs__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
  font-size:14px;
  min-width:0;
}

.breadcrumbs__list li{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex-wrap:wrap;
  max-width:100%;
}

.breadcrumbs__list li:not(:last-child)::after{
  content:"/";
  color:#94a3b8;
}

.breadcrumbs__list a,
.breadcrumbs__list span{
  max-width:100%;
  min-width:0;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.breadcrumbs__list a:hover{
  color:var(--primary);
}

.breadcrumbs__list span[aria-current="page"]{
  color:var(--primary);
  font-weight:700;
}

.hero__content,
.hero__visual{
  border:1px solid rgba(226,232,240,.95);
  border-radius:34px;
  background:rgba(255,255,255,.86);
  box-shadow:var(--shadow);
}

.hero__content{padding:clamp(34px,5vw,58px)}

.hero__content--full{
  width:100%;
  min-width:0;
  max-width:100%;
  margin-bottom:28px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--accent);
  font-weight:800;
  font-size:14px;
  margin-bottom:18px;
}

.eyebrow:before{
  content:"";
  width:9px;
  height:9px;
  border-radius:999px;
  background:var(--accent-light);
}

h1{
  margin:0;
  max-width:1080px;
  color:var(--primary);
  font-size:clamp(38px,5.2vw,64px);
  line-height:1.03;
  letter-spacing:-.055em;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.hero__lead{
  margin:24px 0 0;
  max-width:820px;
  color:var(--muted);
  font-size:clamp(18px,2vw,21px);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.hero__trust{
  margin-top:28px;
  padding:24px 26px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(220,234,245,.78),rgba(255,255,255,.90));
  border:1px solid rgba(127,179,213,.26);
  color:#31445a;
  font-size:17px;
  max-width:980px;
}

.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}

.btn{
  display:inline-flex;
  min-height:54px;
  align-items:center;
  justify-content:center;
  padding:15px 22px;
  border-radius:999px;
  font-weight:800;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor:pointer;
}

.btn:hover{transform:translateY(-1px)}

.btn--primary{
  color:#fff;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  box-shadow:0 16px 34px rgba(47,93,140,.28);
}

.btn--primary:hover{
  background:linear-gradient(135deg,var(--accent),var(--accent-light));
  box-shadow:0 20px 42px rgba(47,93,140,.34);
}

.btn--secondary{
  color:var(--primary);
  background:#fff;
  border:1px solid var(--border);
}

.btn--secondary:hover{
  background:var(--accent-soft);
  border-color:var(--accent-light);
  color:var(--primary);
  box-shadow:0 14px 34px rgba(47,93,140,.12);
}

button.btn{border:0;font:inherit}

.hero__note{
  margin-top:18px;
  color:var(--muted);
  font-size:15px;
}

.hero__visual--wide{
  position:relative;
  overflow:hidden;
  border-radius:36px;
  border:1px solid rgba(226,232,240,.95);
  background:#fff;
  box-shadow:0 24px 70px rgba(22,50,79,.10);
}

.hero__image{
  display:block;
  width:100%;
  height:auto;
}

.visual-caption{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  padding:24px 26px;
  border-radius:26px;
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 18px 50px rgba(22,50,79,.12);
  text-align:center;
}

.visual-caption strong{
  display:block;
  color:var(--primary);
  font-size:28px;
  line-height:1.2;
  margin-bottom:10px;
  letter-spacing:-.03em;
}

.visual-caption span{
  display:block;
  color:#4b6178;
  font-size:17px;
  line-height:1.55;
  max-width:760px;
  margin:0 auto;
}

.section{padding:54px 0}

.section__head{
  max-width:880px;
  margin-bottom:30px;
}

.section__head h2,
.contact-soft h2{
  margin:0;
  color:var(--primary);
  font-size:clamp(30px,4vw,44px);
  line-height:1.12;
  letter-spacing:-.035em;
}

.section__head p,
.contact-soft p{
  margin:16px 0 0;
  color:var(--muted);
  font-size:18px;
}

.narrative-section__body{
  padding:30px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 16px 50px rgba(22,50,79,.06);
}

.narrative-section__body p{
  margin:0 0 16px;
  color:#4b6178;
  font-size:16.5px;
}

.narrative-section__body p:last-child{
  margin-bottom:0;
}

.raw-html-section__body{
  padding:34px;
  border-radius:30px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 16px 50px rgba(22,50,79,.06);
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.raw-html-section__body > *:first-child{
  margin-top:0;
}

.raw-html-section__body > *:last-child{
  margin-bottom:0;
}

.raw-html-section__body h2,
.raw-html-section__body h3,
.raw-html-section__body h4{
  color:var(--primary);
  letter-spacing:-.02em;
}

.raw-html-section__body h2{
  margin:34px 0 18px;
  font-size:clamp(28px,3vw,36px);
}

.raw-html-section__body h3{
  margin:28px 0 14px;
  font-size:clamp(22px,2.5vw,28px);
}

.raw-html-section__body h4{
  margin:22px 0 12px;
  font-size:20px;
}

.raw-html-section__body p,
.raw-html-section__body li,
.raw-html-section__body blockquote{
  color:#4b6178;
  font-size:16.5px;
}

.raw-html-section__body p{
  margin:0 0 16px;
}

.raw-html-section__body ul,
.raw-html-section__body ol{
  margin:0 0 18px 0;
  padding-left:24px;
}

.raw-html-section__body li + li{
  margin-top:10px;
}

.raw-html-section__body blockquote{
  margin:0 0 18px;
  padding:18px 22px;
  border-left:4px solid var(--accent-light);
  background:linear-gradient(135deg,rgba(220,234,245,.54),rgba(255,255,255,.94));
  border-radius:18px;
}

.article-citations{
  margin-top:18px;
  color:#475569;
  font-size:14px;
  font-weight:700;
}

.sources-list{
  margin:0;
  padding:0;
  list-style:none;
}

.sources-list li + li{
  margin-top:12px;
}

.source-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
  max-width:100%;
}

.source-item__index{
  flex:0 0 auto;
  color:var(--primary);
  font-weight:800;
}

.source-item__content{
  min-width:0;
  max-width:100%;
}

.source-item__title,
.source-item__meta,
.sources-list__link{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.source-item__title{
  color:var(--primary);
  font-weight:700;
}

.source-item__meta{
  margin-top:4px;
  color:var(--muted);
}

.sources-list__link{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:2px;
}

.sources-list__link:hover{
  color:var(--primary);
}

.narrative-list{
  margin:0;
  padding-left:22px;
  color:#4b6178;
}

.narrative-list li + li{
  margin-top:10px;
}

.contact-soft{padding-top:22px}

.contact-soft__box{
  border-radius:34px;
  padding:34px;
  background:linear-gradient(135deg,#fff,rgba(220,234,245,.56));
  border:1px solid var(--border);
  box-shadow:0 16px 50px rgba(22,50,79,.06);
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:28px;
  align-items:center;
}

.contact-soft__actions{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact-soft__actions .actions{
  margin-top:0;
  flex-direction:column;
}

.contact-soft__actions .btn{width:100%}

.contact-soft__note{
  color:var(--muted);
  font-size:14px;
  text-align:center;
}

.why{
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(220,234,245,.32));
}

.conditions{
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(220,234,245,.28));
}

.conditions-layout{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:26px;
  align-items:start;
}

.conditions-text{
  padding:34px;
  border-radius:30px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 16px 50px rgba(22,50,79,.06);
}

.conditions-text p{
  margin:0 0 16px;
  color:#4b6178;
  font-size:17px;
}

.conditions-text p:last-child{margin-bottom:0}

.conditions-text__final{
  padding-top:18px;
  border-top:1px solid var(--border);
  color:var(--primary)!important;
  font-weight:700;
}

.conditions-factors{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.factor-card{
  padding:18px 22px;
  border-radius:22px;
  background:linear-gradient(135deg,#fff,rgba(220,234,245,.60));
  border:1px solid var(--border);
  box-shadow:0 12px 36px rgba(22,50,79,.05);
  color:var(--primary);
  font-weight:800;
}

.story-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.help-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-grid--two{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}

.service-grid,
.service-grid--two,
.story-grid,
.card-grid,
.help-grid,
.steps-grid{
  min-width:0;
}

.card{
  padding:25px;
  min-height:174px;
  min-width:0;
  max-width:100%;
  border-radius:26px;
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:0 16px 50px rgba(22,50,79,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.story-card,
.service-card,
.direction-card{
  padding:30px;
  min-height:220px;
  min-width:0;
  max-width:100%;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 16px 50px rgba(22,50,79,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover,
.story-card:hover,
.service-card:hover,
.direction-card:hover,
.step-card:hover,
.factor-card:hover{
  transform:translateY(-3px);
  border-color:var(--accent-light);
  box-shadow:0 22px 60px rgba(22,50,79,.10);
}

.story-card:last-child:nth-child(odd){
  grid-column:1 / -1;
}

.card h3,
.story-card h3,
.step-card h3{
  margin:0 0 12px;
  color:var(--primary);
  font-size:20px;
  line-height:1.18;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.story-card h3{font-size:24px;line-height:1.16}

.card p,
.service-card p,
.direction-card p,
.step-card p{
  margin:0 0 12px;
  color:var(--muted);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.story-card p{
  margin:0 0 14px;
  color:#4b6178;
  font-size:16.5px;
}

.card p:last-child,
.story-card p:last-child,
.service-card p:last-child,
.direction-card p:last-child,
.step-card p:last-child{margin-bottom:0}

.card__link{
  margin-top:18px;
  display:inline-flex;
  color:var(--accent);
  font-weight:800;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.card__link:hover{color:var(--primary)}

.links-list{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.links-list a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  background:var(--bg);
  border:1px solid var(--border);
  color:var(--primary);
  font-weight:800;
}

.links-list a:hover{
  border-color:var(--accent-light);
  background:var(--accent-soft);
}

.process-section{
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(220,234,245,.26));
}

.steps-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.step-card{
  position:relative;
  padding:28px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 16px 50px rgba(22,50,79,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.step-card__number{
  width:38px;
  height:38px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  background:var(--accent-soft);
  color:var(--primary);
  font-weight:900;
}

.step-card a{color:var(--accent);font-weight:800}

.panel{
  border-radius:34px;
  padding:clamp(30px,5vw,52px);
  background:radial-gradient(circle at 10% 10%,rgba(127,179,213,.28),transparent 30%),linear-gradient(135deg,var(--primary),#244e78);
  color:#fff;
  overflow:hidden;
  position:relative;
}

.panel h2{
  margin:0;
  font-size:clamp(30px,4vw,44px);
  line-height:1.12;
  letter-spacing:-.035em;
  max-width:780px;
}

.panel p{
  max-width:760px;
  margin:18px 0 0;
  color:rgba(255,255,255,.78);
  font-size:18px;
}

.panel .btn--secondary{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.26);
}

.contact-line{
  margin-top:20px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.82);
  font-weight:700;
}

.footer{padding:42px 0;color:var(--muted)}

.footer__inner{
  border-top:1px solid var(--border);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:14px;
}

.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.footer__links a{
  color:var(--primary);
  font-weight:800;
}

.footer__links a:hover,
.footer__links a[aria-current="page"]{
  color:var(--accent);
}

.modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.modal.is-open{display:flex}

.modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(15,42,58,.42);
  backdrop-filter:blur(4px);
}

.modal__card{
  position:relative;
  width:min(100%,520px);
  background:#ffffff;
  border:1px solid rgba(36,78,96,.12);
  border-radius:28px;
  box-shadow:0 24px 70px rgba(18,53,68,.22);
  padding:30px;
}

.modal__close{
  position:absolute;
  top:18px;
  right:18px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:#eef7f8;
  color:#174456;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.modal__eyebrow{
  color:#3a8792;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:8px;
}

.modal__card h2{
  margin:0 0 10px;
  font-size:clamp(26px,3vw,36px);
  line-height:1.12;
  color:#173b4a;
}

.modal__text{
  margin:0 0 22px;
  color:#4d6570;
}

.callback-form{
  display:grid;
  gap:14px;
}

.callback-form label{
  display:grid;
  gap:7px;
  font-weight:700;
  color:#173b4a;
}

.callback-form input,
.callback-form textarea{
  width:100%;
  border:1px solid rgba(36,78,96,.18);
  border-radius:16px;
  padding:14px 15px;
  font:inherit;
  color:#173b4a;
  background:#f8fcfc;
  outline:none;
}

.callback-form input:focus,
.callback-form textarea:focus{
  border-color:#3a8792;
  background:#ffffff;
  box-shadow:0 0 0 4px rgba(58,135,146,.12);
}

.callback-form__submit{width:100%;justify-content:center}

.callback-form__note{
  margin:0;
  font-size:12px;
  color:#6f8289;
}

.callback-form__status{
  min-height:20px;
  margin:0;
  color:#2b6f79;
  font-weight:700;
}

@media(max-width:980px){
  .contact-soft__box,
  .conditions-layout,
  .story-grid,
  .help-grid,
  .service-grid--two,
  .steps-grid{
    grid-template-columns:1fr;
  }

  .card-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:680px){
  .container{width:min(1180px,calc(100% - 24px))}
  .header__inner{min-height:auto;padding:16px 0;align-items:flex-start;flex-direction:column}
  .nav{gap:14px;flex-wrap:wrap;margin-left:0}
  .header__phone{font-size:14px}
  .hero{padding-top:34px}
  .hero__content{padding:26px}
  .raw-html-section__body,
  .narrative-section__body,
  .contact-soft__box,
  .conditions-text,
  .card,
  .story-card,
  .service-card,
  .direction-card,
  .step-card{
    padding:22px;
  }
  .source-item{
    gap:8px;
  }
  .card-grid{grid-template-columns:1fr}
  .section{padding:38px 0}
  .footer__inner{flex-direction:column}
  .visual-caption{position:static;border-radius:0}
  .visual-caption strong{font-size:22px}
  .visual-caption span{font-size:15px}
  .modal{padding:14px}
  .modal__card{padding:24px 18px;border-radius:22px}
}
