@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800;850;900&display=swap');
:root{--ink:#081632;--ink-soft:#253957;--muted:#62728e;--blue:#075ac6;--blue-dark:#04398c;--line:#dbe5f3;--background:#f8faff;--green:#20aa54;--shadow:0 12px 34px rgba(21,57,110,.07)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:#fff;color:var(--ink);font-family:Inter,Arial,"Segoe UI",sans-serif;font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover{color:var(--blue)}
button,input{font:inherit}
button{cursor:pointer}
img,svg{max-width:100%}
svg.icon{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
:focus-visible{outline:3px solid #80b3ff;outline-offset:3px}
.container{width:min(1432px,calc(100% - 104px));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.skip-link{position:absolute;top:-100px;left:15px;padding:12px 20px;background:#fff;z-index:1000}
.skip-link:focus{top:8px}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e0e9f4;box-shadow:0 2px 12px rgba(24,57,104,.025)}
.site-header__inner{min-height:82px;display:flex;align-items:center;gap:24px;padding-inline:14px}
.brand{display:inline-flex;align-items:center;gap:16px;flex:none;min-width:248px}
.brand__mark{display:block;width:56px;height:56px;filter:drop-shadow(0 3px 8px rgba(19,74,151,.12))}
.brand__mark img{display:block;width:100%;height:100%;object-fit:contain}
.brand__text{display:grid;align-content:center;gap:0}
.brand__text strong{font-size:28px;font-weight:850;letter-spacing:-.045em;line-height:1.02}
.brand__text small{font-size:14px;color:#4e6080;font-weight:500;letter-spacing:-.01em}
.site-nav{display:flex;align-items:center;gap:26px;justify-content:center;white-space:nowrap;flex:1;font-size:15px;font-weight:650}
.site-nav>a,.nav-drop>summary{display:flex;align-items:center;gap:5px;padding:28px 0;cursor:pointer;transition:color .2s}
.site-nav>a:hover,.nav-drop>summary:hover,.nav-drop--active>summary{color:var(--blue)}
.nav-drop{position:relative}
.nav-drop summary{list-style:none}
.nav-drop summary::-webkit-details-marker{display:none}
.nav-drop .icon--chevron{width:15px;height:15px;stroke-width:2.4;transition:transform .2s}
.nav-drop[open] .icon--chevron{transform:rotate(180deg)}
.nav-drop__items{position:absolute;top:66px;left:-17px;min-width:218px;display:grid;gap:2px;padding:10px;border:1px solid #dfe9f7;border-radius:12px;background:#fff;box-shadow:0 18px 40px rgba(17,47,89,.14);z-index:51}
.nav-drop__items a{padding:10px 12px;border-radius:7px;font-size:14px}
.nav-drop__items a:hover{background:#eff5ff}
.header-contact{display:flex;align-items:center;gap:10px;white-space:nowrap}
.header-contact__icon{width:24px!important;height:24px!important;color:var(--blue);stroke-width:2.8!important}
.header-contact>div{display:grid}
.header-contact__number{font-size:17px;font-weight:800;letter-spacing:-.025em}
.header-contact span{font-size:12px;text-align:center;color:#5d6f8e}
.callback-btn{display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;border:1.5px solid #0861d5;border-radius:10px;padding:10px 12px;min-height:44px;font-size:14px;font-weight:750;box-shadow:0 4px 12px rgba(16,99,213,.06);color:#05152d}
.callback-btn .icon{width:22px;height:22px;color:var(--blue)}
.callback-btn:hover{background:#edf5ff}
.mobile-phone{display:none;width:42px;height:42px;flex:none;align-items:center;justify-content:center;border-radius:50%;color:#0855b6}
.mobile-phone .icon{width:23px;height:23px;stroke-width:2.4}
.mobile-phone:hover{background:#eff6ff}
.mobile-toggle{display:none;width:44px;height:44px;border-radius:9px;border:1px solid #c7d8f2;background:#fff;color:#0855b6;align-items:center;justify-content:center}
.hero{position:relative;min-height:484px;overflow:hidden;background:linear-gradient(100deg,#f9fcff 0%,#edf6ff 68%,#cce1f6 100%)}
.hero__image{position:absolute;inset:0 0 0 auto;width:54%;background-image:linear-gradient(90deg,#f7fbff 0%,#f7fbff 16%,rgba(247,251,255,.96) 22%,rgba(247,251,255,.02) 38%),url('../images/iso-hero.webp');background-position:center;background-size:cover;background-repeat:no-repeat}
.hero__inner{position:relative;min-height:484px;padding:26px 14px 36px}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:16px;color:#2f466e}
.breadcrumbs a:hover{text-decoration:underline}
.breadcrumbs span[aria-current]{color:#2f466e}
.hero__body{position:relative;margin-top:34px;max-width:900px}
.hero h1{font-size:clamp(36px,3.45vw,54px);line-height:1.1;letter-spacing:-.046em;font-weight:850;margin:0 0 13px;max-width:900px}
.hero__subtitle{font-size:22px;line-height:1.42;color:#344865;letter-spacing:-.024em;margin:0;max-width:820px;font-weight:440}
.hero-facts{display:grid;grid-template-columns:392px 386px;gap:26px;margin-top:28px;max-width:100%}
.hero-fact{min-height:99px;display:flex;align-items:center;gap:24px;padding:17px 24px;border:1px solid #c5d9f5;border-radius:16px;background:rgba(237,246,255,.89);backdrop-filter:blur(12px)}
.hero-fact .icon{width:46px;height:46px;color:#0960cd;stroke-width:1.75}
.hero-fact p{font-size:20px;line-height:1.42;margin:0;letter-spacing:-.035em}
.hero-fact strong{display:block;font-size:20px;font-weight:800;color:#0a152e}
.hero-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:21px;background:linear-gradient(100deg,#0a5dcc,#0758bd);border:1px solid #0a54b7;border-radius:14px;padding:15px 31px;color:#fff;min-height:74px;margin-top:32px;min-width:574px;font-size:24px;font-weight:750;letter-spacing:-.035em;box-shadow:0 9px 20px rgba(8,75,160,.08);transition:background .15s,transform .15s}
.hero-cta>.icon{width:33px;height:33px;stroke-width:2.2}
.hero-cta>.icon--arrow{width:31px;height:31px;margin-left:auto}
.hero-cta:hover{color:#fff;background:linear-gradient(100deg,#0849af,#05449e);transform:translateY(-2px)}
.trust-strip{background:linear-gradient(180deg,#fff,#f7f9fe);box-shadow:0 8px 20px rgba(10,39,91,.03)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;min-height:94px;padding-inline:24px}
.trust-item{display:flex;align-items:center;min-height:53px;gap:21px;padding-inline:28px;border-right:1px solid #d2ddec}
.trust-item:first-child{padding-left:0}
.trust-item:last-child{border-right:0;padding-right:0}
.trust-item .icon{width:50px;height:50px;color:#0c5ac1;stroke-width:1.5}
.trust-item p{margin:0;line-height:1.31;font-size:18px;letter-spacing:-.025em}
.trust-item strong{display:block;font-size:18px;font-weight:750;color:#0b1732}
.quick-section{padding:31px 0 51px;background:linear-gradient(#fbfcff,#f8faff)}
.quick-grid{display:grid;grid-template-columns:1fr 1.03fr;gap:36px;align-items:stretch}
.surface-card,.contact-card{border-radius:18px;min-height:302px}
.surface-card{background:#fff;border:1px solid #e2e9f4;box-shadow:var(--shadow)}
.page-guide{padding:23px 36px 24px}
.page-guide h2{font-size:30px;letter-spacing:-.045em;line-height:1.25;margin:0 0 18px;font-weight:800}
.page-guide__list{list-style:none;padding:0;margin:0}
.page-guide__list li{display:flex;align-items:center;gap:25px;min-height:67px}
.page-guide__list li+li>a{border-top:1px solid #e5ebf4}
.page-guide__list a{display:flex;align-items:center;flex:1;align-self:stretch;font-size:22px;font-weight:720;letter-spacing:-.035em}
.page-guide__list a:hover{color:#075bc5}
.green-check{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:9px;background:linear-gradient(135deg,#28bd63,#0d9b45);color:#fff}
.green-check .icon{width:27px;height:27px;stroke-width:2.4}
.contact-card{position:relative;overflow:hidden;background:linear-gradient(125deg,#165eaf 0%,#0d4c9c 52%,#073479 100%);color:#fff}
.contact-card:before{position:absolute;content:"";width:620px;height:350px;right:-320px;top:36px;transform:rotate(-32deg);background:linear-gradient(135deg,rgba(46,151,235,.7),rgba(11,92,184,.18));border-radius:100px}
.contact-card__content{position:relative;padding:16px 36px 22px}
.contact-card h2{font-size:31px;line-height:1.08;letter-spacing:-.05em;font-weight:800;margin:0 0 5px}
.contact-card p{margin:0 0 13px;font-size:18px;line-height:1.45;max-width:570px}
.lead-form__fields{display:grid;grid-template-columns:1fr 1fr;gap:19px}
.field{position:relative;display:flex;align-items:center;background:#fff;border-radius:11px;border:1px solid #d2def2;min-height:53px;box-shadow:inset 0 1px 5px rgba(11,38,80,.08);color:#66799a}
.field .icon{position:absolute;left:15px;width:25px;height:25px;stroke-width:1.7}
.field input{width:100%;height:51px;min-width:0;background:transparent;border:0;outline:none;color:#172743;padding:0 12px 0 52px;font-size:16px}
.field input::placeholder{color:#536582;opacity:1}
.field:focus-within{outline:3px solid #95c7ff;outline-offset:2px}
.lead-form__bottom{display:grid;grid-template-columns:1fr 1fr;gap:23px;align-items:center;margin-top:16px}
.submit-btn{display:flex;justify-content:center;align-items:center;gap:18px;min-height:55px;padding:11px 18px;background:linear-gradient(#fff,#edf2fa);border:1px solid #fff;border-radius:10px;color:#06499f;font-size:20px;font-weight:800;letter-spacing:-.025em;white-space:nowrap}
.submit-btn:hover{background:#e9f3ff}
.submit-btn .icon{width:26px;height:26px}
.lead-form__privacy{display:flex;align-items:center;gap:12px}
.lead-form__privacy>.icon{width:27px;height:27px;flex:none}
.lead-form__privacy label{font-size:13px;line-height:1.35;cursor:pointer}
.lead-form__privacy input{accent-color:#fff;vertical-align:-2px}
.lead-form__privacy a{text-decoration:underline;text-underline-offset:2px}
.lead-form__privacy a:hover{color:#d9eaff}
.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form-message{font-size:13px;border-radius:7px;padding:7px 11px;margin:0 0 8px}
.form-message--success{background:#e0f7e8;color:#115e34}
.form-message--error{background:#fff2ed;color:#8c2811}
.info-section{padding:85px 0;background:#fff;scroll-margin-top:95px}
.info-section--tint{background:#f5f8fd}
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.eyebrow{display:block;color:#0a61cc;font-size:12px;font-weight:800;letter-spacing:.17em;margin:0 0 12px}
.info-section h2,.bottom-cta h2,.legal-page h1{font-size:clamp(29px,3vw,43px);line-height:1.16;letter-spacing:-.045em;margin:0 0 21px;font-weight:820}
.info-copy>p,.section-heading>p,.faq-lead{font-size:17px;line-height:1.8;color:#435672;margin:0 0 17px}
.text-link{display:inline-flex;align-items:center;gap:10px;color:#0857c0;font-weight:750;margin-top:9px}
.text-link .icon{width:21px;height:21px}
.benefit-panel{padding:39px;background:linear-gradient(135deg,#edf4ff,#fff);border-radius:21px;border:1px solid #d9e6f8}
.benefit-panel h3{font-size:25px;margin:0 0 23px;letter-spacing:-.03em}
.benefit-panel ul{margin:0;padding:0;list-style:none}
.benefit-panel li{display:flex;gap:14px;align-items:start;padding:13px 0;border-bottom:1px solid #dbe7f5;font-weight:600}
.benefit-panel li:last-child{border-bottom:0}
.check-disc{width:29px;height:29px;display:grid;place-items:center;color:#fff;background:#1cab58;border-radius:50%;flex:none}
.check-disc .icon{width:18px;height:18px}
.section-heading{max-width:820px;margin-bottom:30px}
.section-heading h2{margin-bottom:12px}
.document-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.document-card{padding:30px;background:#fff;border:1px solid #dce6f4;border-radius:18px;min-height:215px}
.document-card__count{font-weight:800;color:#0b63d1;font-size:15px}
.document-card h3{font-size:21px;margin:18px 0 10px;line-height:1.25;letter-spacing:-.03em}
.document-card p{color:#5c6c86;line-height:1.65;margin:0}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step{border-top:2px solid #0b5ec9;padding-top:23px}
.step>span{display:grid;place-items:center;width:46px;height:46px;background:#edf5ff;border:1px solid #bcd5f6;border-radius:12px;font-weight:800;color:#0a59be}
.step h3{font-size:20px;letter-spacing:-.03em;margin:18px 0 8px}
.step p{color:#566681;line-height:1.65;margin:0}
.faq-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:80px}
.faq-list{display:grid;gap:13px}
.faq-list details{background:#fff;border:1px solid #dae4f2;border-radius:13px;padding:19px 22px}
.faq-list summary{display:flex;justify-content:space-between;gap:20px;align-items:center;list-style:none;cursor:pointer;font-size:18px;font-weight:700}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list details[open] summary>.icon{transform:rotate(180deg)}
.faq-list p{margin:15px 0 0;color:#566681;line-height:1.7}
.bottom-cta{background:#eaf3ff;padding:55px 0}
.bottom-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:35px}
.bottom-cta h2{margin-bottom:12px}
.bottom-cta p{margin:0;color:#465b7b;font-size:17px}
.hero-cta--small{min-width:0;margin:0;font-size:17px;min-height:58px;padding:13px 20px;white-space:nowrap}
.hero-cta--small .icon{width:22px;height:22px}
.legal-page{background:#f7faff;padding:38px 0 110px;min-height:67vh}
.legal-page__inner{max-width:970px}
.legal-page h1{margin-top:50px}
.legal-page p{font-size:17px;line-height:1.8;color:#3e4e65}
.legal-page a:not(.text-link){color:#075dc8;text-decoration:underline}
.site-footer{background:#061b3c;color:#d8e4f6;padding:45px 0 22px}
.site-footer__inner{display:grid;grid-template-columns:1fr 1.6fr 1fr;gap:35px;align-items:start}
.footer-brand{display:grid}
.footer-brand strong{font-size:25px;letter-spacing:-.04em;color:#fff}
.footer-brand span{font-size:13px}
.site-footer p{margin:0;font-size:14px;line-height:1.7;max-width:520px}
.footer-links{display:grid;gap:10px;justify-items:end;text-align:right;font-size:14px}
.footer-links a:hover{color:#fff;text-decoration:underline}
.footer-copy{border-top:1px solid rgba(255,255,255,.15);margin-top:35px;padding-top:17px;font-size:12px;color:#a9bbd4}
@media (max-width:1370px){
  .site-header__inner{gap:17px}
  .brand{min-width:212px;gap:10px}
  .brand__mark{width:50px;height:50px}
  .brand__text strong{font-size:25px}
  .brand__text small{font-size:12px}
  .site-nav{gap:16px;font-size:14px}
  .header-contact__number{font-size:15px}
  .header-contact span{font-size:11px}
  .callback-btn{padding-inline:9px;font-size:12px}
  .hero-facts{grid-template-columns:365px 365px}
  .hero h1{font-size:clamp(36px,3.45vw,51px)}
}
@media (max-width:1180px){
  .site-header__inner{justify-content:space-between}
  .site-nav{display:none;position:absolute;top:82px;left:0;right:0;padding:18px max(30px,5vw) 22px;background:#fff;box-shadow:0 18px 32px rgba(18,52,95,.14);flex-direction:column;align-items:stretch;gap:0}
  .site-nav.is-open{display:flex}
  .site-nav>a,.nav-drop>summary{padding:13px 0}
  .nav-drop__items{position:static;box-shadow:none;border-radius:9px;margin-bottom:8px}
  .mobile-toggle{display:flex;margin-left:0;width:44px;height:44px;border:1px solid #c7d8f2;border-radius:9px;background:#fff;color:#0855b6}
  .mobile-toggle .icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .mobile-phone{margin-left:auto}
  .header-contact{margin-left:12px}
  .hero__image{width:57%;opacity:.8}
  .hero__body{max-width:760px}
  .hero h1{max-width:750px}
  .hero-facts{grid-template-columns:1fr 1fr;max-width:745px;gap:16px}
  .hero-fact{padding-inline:16px}
  .hero-fact p,.hero-fact strong{font-size:17px}
  .hero__subtitle{font-size:20px}
  .trust-item{padding-inline:16px;gap:10px}
  .trust-item p,.trust-item strong{font-size:15px}
  .trust-item .icon{width:38px;height:38px}
  .quick-grid{gap:22px}
  .page-guide{padding:24px}
  .page-guide h2{font-size:25px}
  .page-guide__list a{font-size:17px}
  .page-guide__list li{gap:15px}
  .contact-card__content{padding:24px}
  .contact-card h2{font-size:27px}
  .contact-card p{font-size:16px}
  .lead-form__bottom{gap:12px}
  .submit-btn{font-size:16px}
}
@media (max-width:940px){
  .container{width:calc(100% - 50px)}
  .site-header__inner{padding-inline:0}
  .header-contact{display:none}
  .mobile-phone{display:flex;order:1;margin-left:auto}
  .site-search{order:2}
  .mobile-toggle{order:3}
  .hero__inner{padding-inline:0}
  .hero{min-height:0}
  .hero__inner{min-height:510px}
  .hero__image{width:55%;opacity:.33;filter:saturate(.9)}
  .hero__body{max-width:100%}
  .hero h1{font-size:clamp(35px,5vw,48px)}
  .hero__subtitle{font-size:19px}
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:0;padding-inline:0}
  .trust-item{padding:14px 16px;border-bottom:1px solid #dce6f2}
  .trust-item:nth-child(2){border-right:0}
  .trust-item:nth-child(n+3){border-bottom:0}
  .quick-grid{grid-template-columns:1fr;gap:20px}
  .page-guide{min-height:0}
  .contact-card{min-height:0}
  .contact-card__content{padding:28px}
  .info-grid,.faq-grid{gap:38px}
  .document-cards{gap:15px}
  .steps{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  html{scroll-padding-top:80px}
  .container{width:calc(100% - 32px)}
  .site-header__inner{min-height:70px}
  .brand{min-width:0;gap:9px}
  .brand__mark{width:43px;height:43px}
  .brand__text strong{font-size:21px}
  .brand__text small{font-size:10px}
  .callback-btn{display:none}
  .site-nav{top:70px}
  .hero__inner{padding-top:20px;min-height:0;padding-bottom:29px}
  .hero__image{width:82%;height:310px;bottom:auto;opacity:.2;right:-80px}
  .breadcrumbs{font-size:12px;gap:7px}
  .hero__body{margin-top:34px}
  .hero h1{font-size:clamp(31px,8vw,42px);line-height:1.09;letter-spacing:-.055em}
  .hero__subtitle{font-size:16px;line-height:1.56}
  .desktop-break{display:none}
  .hero-facts{grid-template-columns:1fr;gap:10px;margin-top:22px}
  .hero-fact{min-height:72px;gap:15px;padding:13px 15px;border-radius:11px}
  .hero-fact .icon{width:35px;height:35px}
  .hero-fact p,.hero-fact strong{font-size:16px}
  .hero-cta{min-width:0;width:100%;margin-top:20px;min-height:61px;padding:13px 16px;font-size:16px;gap:10px;border-radius:11px}
  .hero-cta>.icon{height:26px;width:26px}
  .hero-cta>.icon--arrow{height:24px;width:24px}
  .trust-grid{grid-template-columns:1fr 1fr}
  .trust-item{min-height:85px;padding:12px 6px;align-items:start;gap:7px;flex-direction:column;justify-content:center}
  .trust-item .icon{width:28px;height:28px}
  .trust-item p,.trust-item strong{font-size:12px}
  .quick-section{padding:20px 0 32px}
  .quick-grid{gap:18px}
  .surface-card,.contact-card{border-radius:14px}
  .page-guide{padding:23px 19px}
  .page-guide h2{font-size:24px;margin-bottom:10px}
  .page-guide__list li{min-height:59px;gap:14px}
  .page-guide__list a{font-size:16px}
  .green-check{width:30px;height:30px;border-radius:8px}
  .green-check .icon{width:24px;height:24px}
  .contact-card__content{padding:24px 18px 26px}
  .contact-card h2{font-size:26px}
  .contact-card p{font-size:15px}
  .lead-form__fields{grid-template-columns:1fr;gap:11px}
  .lead-form__bottom{grid-template-columns:1fr;gap:14px}
  .lead-form__privacy label{font-size:12px}
  .submit-btn{font-size:18px}
  .info-section{padding:55px 0}
  .info-grid,.faq-grid{grid-template-columns:1fr;gap:25px}
  .info-section h2,.bottom-cta h2,.legal-page h1{font-size:30px}
  .info-copy>p,.section-heading>p,.faq-lead{font-size:15px}
  .benefit-panel{padding:25px}
  .document-cards,.steps{grid-template-columns:1fr}
  .document-card{min-height:0}
  .faq-list summary{font-size:16px}
  .bottom-cta__inner{flex-direction:column;align-items:start}
  .hero-cta--small{width:100%;font-size:16px}
  .site-footer__inner{grid-template-columns:1fr;gap:20px}
  .footer-links{justify-items:start;text-align:left}
  .footer-copy{margin-top:25px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{transition:none!important;animation:none!important}
}

/* Фон hero страницы ТР ТС / ТР ЕАЭС совпадает с белой секцией контента ниже. */
.db-page--tr-ts-eaes .hero{background:#fff}
.db-page--tr-ts-eaes .hero__image{display:none}

/* Чередование фонов секций содержимого для всех страниц из БД. */
.db-page-content > .db-section:nth-of-type(odd){background:#fff}
.db-page-content > .db-section:nth-of-type(even){background:#f6f9fe}


/* Главная: популярные направления и актуальные услуги. */
.db-page--home{color:#101a33}
.db-page--home .home-popular{padding:48px 0 34px;background:linear-gradient(112deg,#f4f8ff 0%,#eaf2ff 100%)}
.db-page--home .home-container{width:min(1160px,calc(100% - 104px));margin-inline:auto}
.db-page--home .home-heading{display:flex;align-items:center;gap:20px;margin:0 0 34px;color:#10162d;font-size:clamp(32px,4.2vw,58px);font-weight:850;letter-spacing:-.045em;line-height:1.05;text-transform:uppercase}
.db-page--home .home-heading:before{content:"";width:9px;height:68px;flex:none;background:#cc1022}
.db-page--home .popular-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.db-page--home .popular-card{position:relative;display:flex;min-height:310px;flex-direction:column;align-items:flex-start;padding:26px 28px 56px;border:1.5px solid #17213c;border-radius:16px;background:#fff;color:#101a33;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.db-page--home .popular-card:hover,.db-page--home .popular-card:focus-visible{transform:translateY(-3px);border-color:#c81022;box-shadow:0 14px 32px rgba(16,34,70,.11)}
.db-page--home .popular-card:focus-visible,.db-page--home .promo-banner:focus-visible,.db-page--home .all-link:focus-visible,.db-page--home .direction-link:focus-visible{outline:3px solid #1262c2;outline-offset:4px}
.db-page--home .popular-icon{width:84px;height:84px;margin:0 0 20px;color:#17213c}
.db-page--home .popular-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.db-page--home .popular-icon .accent{stroke:#c81022}
.db-page--home .popular-card h2{margin:0 0 10px;color:#101a33;font-size:clamp(22px,2.1vw,32px);font-weight:800;letter-spacing:-.035em;line-height:1.1}
.db-page--home .popular-card p{margin:0;color:#27334e;font-size:clamp(15px,1.45vw,21px);line-height:1.4}
.db-page--home .popular-arrow{position:absolute;right:26px;bottom:17px;color:#17213c;font-size:36px;line-height:1}
.db-page--home .promo-banner{position:relative;display:grid;grid-template-columns:125px 1fr auto;align-items:center;gap:22px;min-height:116px;margin-top:42px;overflow:hidden;border:2px solid #cf1929;border-radius:17px;background:#fff;color:#c81022;text-decoration:none}
.db-page--home .promo-mark{display:grid;place-items:center;align-self:stretch;background:#cf1025;color:#fff;clip-path:polygon(0 0,100% 0,78% 100%,0 100%)}
.db-page--home .promo-mark svg{width:56px;height:56px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.db-page--home .promo-title{margin:0;font-size:clamp(19px,1.8vw,27px);font-weight:850;letter-spacing:-.025em;line-height:1.2}
.db-page--home .promo-action{display:inline-flex;align-items:center;justify-content:center;min-height:66px;margin:0 17px;padding:12px 26px;border-radius:12px;background:#111b38;color:#fff;font-size:20px;font-weight:750;white-space:nowrap}
.db-page--home .all-link{display:inline-flex;align-items:center;gap:12px;margin-top:29px;color:#15213e;font-size:22px;text-decoration:underline;text-underline-offset:7px}
.db-page--home .all-link span{font-size:32px;line-height:1}
.db-page--home .home-directions{padding:60px 0 70px;background:#fff}
.db-page--home .home-directions h2{margin:0 0 24px;color:#10162d;font-size:clamp(27px,3vw,40px);letter-spacing:-.035em}
.db-page--home .direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.db-page--home .direction-link{display:flex;min-height:70px;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border:1px solid #d8e1ef;border-radius:12px;background:#f8faff;color:#132343;font-size:17px;font-weight:700;text-decoration:none;transition:border-color .18s ease,background .18s ease}
.db-page--home .direction-link:hover{border-color:#7ea9e2;background:#eef5ff}
.db-page--home .direction-link span:last-child{color:#c81022;font-size:23px}
@media(max-width:1000px){.db-page--home .popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.db-page--home .popular-card{min-height:280px}.db-page--home .promo-banner{grid-template-columns:100px 1fr auto;gap:14px}.db-page--home .promo-action{min-height:58px;margin-right:12px;padding-inline:18px;font-size:17px}.db-page--home .direction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.db-page--home .home-container{width:calc(100% - 32px)}.db-page--home .home-popular{padding:32px 0 27px}.db-page--home .home-heading{gap:13px;margin-bottom:23px;font-size:31px}.db-page--home .home-heading:before{width:6px;height:46px}.db-page--home .popular-grid{gap:11px}.db-page--home .popular-card{min-height:220px;padding:17px 15px 45px;border-radius:12px}.db-page--home .popular-icon{width:56px;height:56px;margin-bottom:14px}.db-page--home .popular-card h2{font-size:20px}.db-page--home .popular-card p{font-size:14px}.db-page--home .popular-arrow{right:15px;bottom:12px;font-size:29px}.db-page--home .promo-banner{grid-template-columns:62px 1fr;gap:10px;min-height:104px;margin-top:25px;border-radius:13px}.db-page--home .promo-mark svg{width:39px;height:39px}.db-page--home .promo-title{padding:12px 10px 12px 0;font-size:17px}.db-page--home .promo-action{grid-column:1/-1;justify-self:stretch;min-height:48px;margin:0 10px 10px;font-size:15px}.db-page--home .all-link{margin-top:21px;font-size:18px}.db-page--home .all-link span{font-size:26px}.db-page--home .home-directions{padding:42px 0}.db-page--home .direction-grid{grid-template-columns:1fr;gap:10px}.db-page--home .direction-link{min-height:62px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.db-page--home .popular-card,.db-page--home .direction-link{transition:none}}



/* Заголовок главной в стиле hero внутренних страниц. */
.db-page--home .home-heading{display:block;max-width:900px;margin:0 0 13px;color:#081632;font-size:clamp(36px,3.45vw,54px);font-weight:850;letter-spacing:-.046em;line-height:1.1;text-transform:none}
.db-page--home .home-heading:before{display:none}
.db-page--home .home-kicker{display:block;margin:0 0 10px;color:#075ac6;font-size:13px;font-weight:800;letter-spacing:.12em;line-height:1.3}
.db-page--home .home-subtitle{margin:0 0 26px;color:#344865;font-size:clamp(18px,1.5vw,22px);line-height:1.42;letter-spacing:-.024em}
@media(max-width:620px){
 .db-page--home .home-heading{margin-bottom:10px;font-size:clamp(30px,8vw,42px);line-height:1.09}
 .db-page--home .home-kicker{margin-bottom:8px;font-size:11px}
 .db-page--home .home-subtitle{margin:0 0 22px;font-size:16px;line-height:1.5}
}


/* Карточки навигации по направлениям учебного центра. */
.db-page-content .direction-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:26px;
    counter-reset:training-direction;
}
.db-page-content .direction-link{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 22px;
    align-items:center;
    gap:14px;
    min-height:82px;
    padding:16px 18px;
    border:1px solid #dce5f1;
    border-radius:14px;
    background:#fff;
    box-shadow:0 6px 20px rgba(21,57,110,.06);
    color:#132343;
    font-size:16px;
    font-weight:700;
    line-height:1.4;
    text-decoration:none;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
    counter-increment:training-direction;
}
.db-page-content .direction-link::before{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border-radius:12px;
    background:#edf4ff;
    color:#075ac6;
    content:counter(training-direction,decimal-leading-zero);
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
}
.db-page-content .direction-link span:last-child{
    justify-self:end;
    color:#075ac6;
    font-size:23px;
    line-height:1;
    transition:transform .18s ease;
}
.db-page-content .direction-link:hover{
    transform:translateY(-2px);
    border-color:#9bbce8;
    background:#fbfdff;
    box-shadow:0 12px 28px rgba(21,57,110,.11);
}
.db-page-content .direction-link:hover span:last-child{transform:translateX(3px)}
.db-page-content .direction-link:focus-visible{
    outline:3px solid #1262c2;
    outline-offset:3px;
}
@media(max-width:700px){
    .db-page-content .direction-grid{grid-template-columns:1fr;gap:11px}
    .db-page-content .direction-link{min-height:74px;padding:14px 16px}
}
@media(prefers-reduced-motion:reduce){
    .db-page-content .direction-link,.db-page-content .direction-link span:last-child{transition:none}
}


.cookie-notice{position:fixed;z-index:100;left:24px;right:24px;bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:980px;margin-inline:auto;padding:18px 20px;background:#fff;border:1px solid #dbe5f3;border-radius:14px;box-shadow:0 12px 40px rgba(8,22,50,.2)}
.cookie-notice[hidden]{display:none}
.cookie-notice p{margin:0;color:#253957;font-size:14px;line-height:1.55}
.cookie-notice a{color:#075ac6;text-decoration:underline;text-underline-offset:2px}
.cookie-notice__accept{flex:none;padding:11px 22px;border:0;border-radius:9px;background:#075ac6;color:#fff;font-weight:700}
.cookie-notice__accept:hover{background:#04398c}
@media(max-width:600px){.cookie-notice{left:12px;right:12px;bottom:12px;align-items:stretch;flex-direction:column;gap:12px;padding:16px}.cookie-notice__accept{width:100%;min-height:44px}}


/* Модальная форма обратного звонка */
.callback-btn{font:inherit;cursor:pointer;background:#fff}
.callback-modal{width:min(560px,calc(100% - 32px));max-width:none;max-height:min(90vh,760px);padding:0;border:0;border-radius:18px;background:transparent;color:inherit;overflow:visible}
.callback-modal::backdrop{background:rgba(5,18,40,.64);backdrop-filter:blur(3px)}
.callback-modal__content{position:relative;max-height:min(90vh,760px);overflow-y:auto;padding:34px;border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(0,15,40,.3)}
.callback-modal__content h2{margin:0 48px 8px 0;color:#081632;font-size:clamp(25px,5vw,32px);line-height:1.15;letter-spacing:-.03em}
.callback-modal__content>p{margin:0 30px 22px 0;color:#435672;font-size:16px;line-height:1.55}
.callback-modal__content .lead-form__fields{grid-template-columns:1fr;gap:12px}
.callback-modal__content .lead-form__bottom{grid-template-columns:1fr;gap:16px}
.callback-modal__content .lead-form__privacy label{color:#435672}
.callback-modal__content .lead-form__privacy a{color:#075ac6}
.callback-modal__content .lead-form__privacy input{accent-color:#075ac6}
.callback-modal__content .submit-btn{width:100%;justify-content:center}
.callback-modal__close{position:absolute;top:15px;right:15px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:#edf3fb;color:#102544;font-size:27px;line-height:1;cursor:pointer}
.callback-modal__close:hover{background:#dce9f8}
.callback-modal__close:focus-visible,.callback-btn:focus-visible{outline:3px solid #1262c2;outline-offset:3px}
@media(max-width:560px){.callback-modal__content{padding:26px 20px 22px}.callback-modal__content .lead-form__bottom{gap:14px}}


/* Отраслевые направления карточками на странице рабочих удостоверений. */
.db-program-directions{
    margin-top:26px;
    padding:24px;
    border:1px solid #dbe5f3;
    border-radius:16px;
    background:rgba(255,255,255,.82);
}
.db-program-directions__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.db-program-directions__grid article{
    position:relative;
    display:flex;
    align-items:center;
    min-height:72px;
    padding:14px 16px 14px 39px;
    border:1px solid #e3eaf4;
    border-radius:12px;
    background:#fff;
    color:#30435e;
    box-shadow:0 5px 16px rgba(21,57,110,.045);
}
.db-program-directions__grid article::before{
    position:absolute;
    left:17px;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#075ac6;
    content:"";
}
.db-program-directions__grid h3{
    margin:0;
    color:#30435e;
    font-size:15px;
    font-weight:700;
    line-height:1.4;
}
@media(max-width:620px){
    .db-program-directions{padding:18px}
    .db-program-directions__grid{grid-template-columns:1fr;gap:8px}
    .db-program-directions__grid article{min-height:64px;padding:12px 14px 12px 36px}
    .db-program-directions__grid article::before{left:14px}
}

@media(max-width:940px){.db-page--home .home-container{width:calc(100% - 50px)}}




/* Отраслевые карточки: краткое название и группа-описание. */
.db-program-directions{
    margin-top:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
}
.db-program-directions > h3{
    margin:0 0 24px;
    color:#10162d;
    font-size:clamp(28px,3vw,40px);
    font-weight:850;
    letter-spacing:-.035em;
    line-height:1.15;
    text-transform:uppercase;
}
.db-program-directions__grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.db-program-directions__grid article{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:4px;
    min-height:108px;
    padding:16px 54px 16px 20px;
    border:1px solid #d8e1ef;
    border-radius:12px;
    background:#f8faff;
    color:#132343;
    cursor:pointer;
    transition:border-color .18s ease,background .18s ease;
}
.db-program-directions__grid article::before{display:none}
.db-program-directions__grid article::after{
    position:absolute;
    top:50%;
    right:20px;
    color:#c81022;
    content:"→";
    font-size:23px;
    line-height:1;
    transform:translateY(-50%);
}
.db-program-directions__grid h3{
    margin:0;
    color:#132343;
    font-size:17px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:-.02em;
}
.db-program-directions__grid p{
    margin:0;
    color:#5c6c86;
    font-size:15px;
    line-height:1.5;
}
.db-program-directions__grid article:focus-visible{
    outline:3px solid #1262c2;
    outline-offset:3px;
}
.db-program-directions__grid article:hover{
    border-color:#7ea9e2;
    background:#eef5ff;
}
@media(max-width:1000px){
    .db-program-directions__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
    .db-program-directions > h3{margin-bottom:18px;font-size:26px}
    .db-program-directions__grid{grid-template-columns:1fr;gap:10px}
    .db-program-directions__grid article{min-height:92px;padding:14px 48px 14px 17px}
    .db-program-directions__grid article::after{right:17px}
    .db-program-directions__grid h3{font-size:16px}
    .db-program-directions__grid p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
    .db-program-directions__grid article{transition:none}
}


/* Скрыть автоматически сгенерированные порядковые номера карточек и шагов. */
.db-page-content .direction-link::before{display:none!important}
.db-page-content .direction-link{grid-template-columns:minmax(0,1fr) 22px}


/* Секции ровно с четырьмя плитками: две колонки вместо схемы 3+1. */
.db-page-content :is(.db-cards,.db-sources,.document-cards,.steps,.db-program-directions__grid,.trust-grid,.direction-grid):has(> :nth-child(4):last-child),
.home-content :is(.db-cards,.db-sources,.document-cards,.steps,.db-program-directions__grid,.trust-grid,.direction-grid):has(> :nth-child(4):last-child){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media(max-width:620px){
    .db-page-content :is(.db-cards,.db-sources,.document-cards,.steps,.db-program-directions__grid,.trust-grid,.direction-grid):has(> :nth-child(4):last-child),
    .home-content :is(.db-cards,.db-sources,.document-cards,.steps,.db-program-directions__grid,.trust-grid,.direction-grid):has(> :nth-child(4):last-child){
        grid-template-columns:1fr!important;
    }
}


/* Карточки перечня регламентов ТР ТС: эффект наведения как у стандартов ГОСТ Р. */
.db-page-content .db-cards--regulations article{
    min-height:150px;
    border-radius:14px;
    background:#fff;
    box-shadow:0 6px 20px rgba(21,57,110,.06);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.db-page-content .db-cards--regulations article:hover,
.db-page-content .db-cards--regulations article:focus-within{
    transform:translateY(-2px);
    border-color:#9bbce8;
    background:#fbfdff;
    box-shadow:0 12px 28px rgba(21,57,110,.11);
}
@media(prefers-reduced-motion:reduce){
    .db-page-content .db-cards--regulations article{transition:none}
}
