*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#0b203d;background:#fff;line-height:1.6;font-size:17px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}button,input{font:inherit}.site-header{height:82px;padding:0 clamp(20px,4.5vw,76px);display:flex;align-items:center;gap:26px;background:#fff;position:relative;z-index:10;border-bottom:1px solid #e6edf4}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-logo{width:48px;height:48px;object-fit:contain;display:block;flex-shrink:0;background:transparent;border:0;outline:0;border-radius:6px}.brand strong{display:block;font-size:16px;letter-spacing:.03em;font-weight:900}.brand small{display:block;font-size:10px;line-height:1.2;color:#52647a}.desktop-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.8vw,28px);flex:1}.desktop-nav a{font-size:15px;font-weight:600;white-space:nowrap}.desktop-nav a:hover,.footer-links a:hover{color:#df1e2b}.header-phone{display:flex;align-items:center;gap:9px;white-space:nowrap}.phone-icon{font-size:24px;color:#0b203d}.header-phone b,.request-phone b{display:block;font-size:19px;line-height:1.3}.header-phone small,.request-phone small{display:block;color:#61728a;font-size:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:7px;font-weight:700;font-size:16px;border:1px solid transparent;cursor:pointer;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.button-red{background:#ed1d2b;color:white;box-shadow:0 5px 12px #ed1d2b22}.button-red:hover{background:#cc1422}.button-outline{border-color:#0b203d;background:#fff;color:#0b203d}.button-light{background:#fff;color:#0b203d}.header-cta{min-height:46px;padding:0 18px;font-size:14px;white-space:nowrap}.menu-toggle{display:none;background:none;border:0;padding:8px}.menu-toggle span{display:block;width:24px;height:2px;background:#0b203d;margin:5px}.hero{min-height:520px;display:flex;align-items:center;padding:55px clamp(24px,5vw,84px);background-color:#c6d9e7;background-image:linear-gradient(110deg,rgba(234,242,248,.88) 0%,rgba(198,217,231,.68) 48%,rgba(32,57,75,.35) 100%),url("/images/hero.jpg");background-position:center;background-size:cover;background-repeat:no-repeat;position:relative}.hero-content{max-width:660px}.eyebrow{display:none}.hero h1{font-size:clamp(40px,4.4vw,66px);line-height:1.04;letter-spacing:-.04em;max-width:650px;margin:0 0 18px;font-weight:900}.hero-lead{font-size:clamp(16px,1.5vw,20px);line-height:1.45;max-width:520px;margin:0 0 26px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-actions .button{min-width:200px}.independent-note{font-size:13px;line-height:1.5;color:#213951;max-width:550px;margin:20px 0 0}.section{padding:52px clamp(22px,4.8vw,78px)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section h2,.request-copy h2{font-size:clamp(28px,3vw,42px);line-height:1.1;letter-spacing:-.03em;margin:0;font-weight:900}.text-link{color:#1766ad;font-size:13px;font-weight:700;white-space:nowrap}.text-link span{font-size:20px;margin-left:7px}.topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.topic-card{min-height:250px;border-radius:10px;overflow:hidden;position:relative;display:flex;align-items:flex-end;justify-content:space-between;padding:20px;color:#fff;background-color:#152b3c;background-image:linear-gradient(0deg,rgba(4,18,32,.94),rgba(4,18,32,.02) 85%),url("images/topic-default.jpg");background-size:cover;background-position:center;transition:transform .2s}.topic-card:hover{transform:translateY(-3px)}.topic-card span{font-size:clamp(23px,2vw,30px);font-weight:800;line-height:1.16;max-width:80%}.topic-card b{border:1px solid #fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:20px;flex-shrink:0}.topic-paper{background-image:linear-gradient(0deg,rgba(4,18,32,.9),rgba(4,18,32,.06)),url("images/kak-postupit.jpg");background-position:center;background-color:#526779}.topic-soldier{background-image:linear-gradient(0deg,rgba(4,18,32,.9),rgba(4,18,32,.06)),url("images/usloviya-sluzhby.jpg");background-position:center;background-color:#526779}.topic-vehicle{background-image:linear-gradient(0deg,rgba(4,18,32,.9),rgba(4,18,32,.06)),url("images/voennye-professii.jpg");background-position:center;background-color:#526779}.topic-team{background-image:linear-gradient(0deg,rgba(4,18,32,.9),rgba(4,18,32,.06)),url("images/vakansii.jpg");background-position:center;background-color:#526779}.steps-section{background:linear-gradient(110deg,#eef5fb,#fff 70%);border-top:1px solid #e5edf4;border-bottom:1px solid #e5edf4}.inner{padding-top:52px;padding-bottom:46px}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:34px}.step{position:relative;padding-top:2px}.step-number{display:grid;place-items:center;width:48px;height:48px;background:#2677bd;color:#fff;border-radius:50%;font-weight:800;font-size:20px;box-shadow:0 0 0 7px #dcecf9}.step h3{font-size:19px;line-height:1.3;margin:18px 0 8px}.step p,.condition-card p,.profession-grid p{font-size:16px;color:#34485f;margin:0;line-height:1.55}.section-footnote{font-size:13px;color:#455a70;margin:24px 0 0}.conditions{padding-top:48px;padding-bottom:48px}.condition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.condition-card{background:#f2f7fc;border:1px solid #e2edf7;border-radius:9px;padding:22px 18px;min-height:170px}.line-icon{font-size:28px;font-weight:700;color:#1766ad;display:block;margin-bottom:13px}.condition-card h3{font-size:19px;line-height:1.3;margin:0 0 8px}.professions{padding-top:20px}.profession-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.profession-grid article{border:1px solid #e1e9f1;border-radius:10px;overflow:hidden;background:#fff;padding-bottom:17px}.profession-visual{height:150px;background:linear-gradient(135deg,#c8d7e1,#6e8494);display:flex;align-items:flex-end;padding:12px 15px;color:#fff;font-size:30px;font-weight:900;position:relative;overflow:hidden;background-size:cover;background-position:center}.profession-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,24,42,.22),rgba(5,24,42,0) 70%);pointer-events:none}.visual-driver{background-image:linear-gradient(135deg,rgba(217,213,197,.18),rgba(88,108,112,.38)),url("images/prof-voditel.jpg")}.visual-mechanic{background-image:linear-gradient(135deg,rgba(216,199,170,.18),rgba(65,83,92,.38)),url("images/prof-mekhanik-voditel.jpg")}.visual-radio{background-image:linear-gradient(135deg,rgba(169,193,208,.18),rgba(41,62,80,.38)),url("images/prof-radiotelefonist.jpg")}.visual-engineer{background-image:linear-gradient(135deg,rgba(215,185,145,.18),rgba(52,74,75,.38)),url("images/prof-tehnicheskie-specialnosti.jpg")}.profession-grid h3{font-size:19px;margin:14px 15px 7px}.profession-grid p{margin:0 15px}.cis-section{padding-top:10px;padding-bottom:48px}.cis-panel{border-radius:12px;overflow:hidden;min-height:230px;padding:36px 42px;color:#fff;display:flex;align-items:center;background:linear-gradient(90deg,#071c32 0%,#102f49eF 45%,#102f4944 100%),url("images/grazhdane-sng.jpg") center/cover}.cis-panel>div{max-width:560px}.cis-panel h2{margin:0 0 10px;font-size:clamp(26px,3vw,38px)}.cis-panel p:not(.eyebrow){font-size:15px;margin:0 0 20px;color:#e6eef5}.faq-contact{padding-top:0;display:grid;grid-template-columns:1fr 1.15fr;gap:32px}.faq .section-heading{margin-bottom:14px}.faq details{border-bottom:1px solid #dfe7ef;padding:15px 0}.faq summary{font-weight:700;font-size:14px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";color:#1b6caf;font-size:20px;line-height:1}.faq details[open] summary:after{content:"−"}.faq details p{font-size:13px;color:#56687c;margin:10px 0 0}.request-panel{background:#eef5fb;border-radius:12px;padding:28px;display:grid;grid-template-columns:1fr;gap:18px}.request-copy h2{font-size:30px;margin-bottom:8px}.request-copy p:not(.eyebrow){margin:0;color:#53657a;font-size:14px}.request-form{display:flex;flex-direction:column;gap:10px}.request-form input:not([type=checkbox]){width:100%;min-height:46px;padding:0 14px;border:1px solid #cbd8e5;border-radius:6px;background:#fff;color:#0b203d}.request-form input:focus{outline:2px solid #74b4e8;outline-offset:1px}.consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#53657a}.consent input{margin-top:3px;flex-shrink:0}.consent a{text-decoration:underline}.form-submit{width:100%;min-height:48px}.form-note{font-size:11px;color:#65768a;margin:0}.request-phone{display:flex;align-items:center;gap:12px;border-top:1px solid #d5e0eb;padding-top:16px}.request-phone .phone-icon{font-size:30px;color:#1d6fb4}.request-phone a{display:inline-block;margin-top:6px;font-size:12px;color:#1766ad;text-decoration:underline}.site-footer{background:#061a2c;color:#e9f0f7;padding:38px clamp(22px,4.8vw,78px) 0}.footer-main{display:grid;grid-template-columns:1.25fr .8fr 1fr;gap:50px;padding-bottom:30px}.brand-footer strong{font-size:17px}.brand-footer small{color:#b8c9d9}.footer-brand p,.footer-contacts p{font-size:12px;color:#b8c9d9;line-height:1.6}.footer-brand p{max-width:340px;margin-top:18px}.footer-links h3,.footer-contacts h3{font-size:13px;margin:5px 0 14px}.footer-links a{display:block;font-size:12px;color:#c6d4e1;margin:7px 0}.footer-contacts>a{font-size:13px}.footer-contacts p{margin:8px 0}.footer-bottom{border-top:1px solid #294052;padding:16px 0;display:flex;justify-content:space-between;gap:18px;color:#aebfce;font-size:10px}.mobile-sticky,.mobile-menu{display:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.site-header{gap:14px}.desktop-nav{gap:12px}.desktop-nav a{font-size:14px}.header-phone small{display:none}.header-cta{padding:0 12px}.topic-card{min-height:210px}.hero{min-height:480px}.footer-main{gap:28px}}
@media(max-width:850px){.eyebrow{display:none}.site-header{height:72px;padding:0 20px;gap:12px}.desktop-nav,.header-cta{display:none}.brand{margin-right:auto}.brand-logo{width:42px;height:42px}.brand strong{font-size:14px}.brand small{font-size:9px}.header-phone{margin-left:auto}.header-phone b{font-size:18px;line-height:1.25}.header-phone small{display:none}.menu-toggle{display:block}.hero{min-height:610px;padding:42px 25px 30px;align-items:flex-start;background-position:62% center}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(238,246,251,.96) 0%,rgba(238,246,251,.88) 36%,rgba(5,24,42,.08) 72%,rgba(5,24,42,.4) 100%)}.hero-content{position:relative;z-index:1;max-width:570px}.hero h1{font-size:clamp(38px,7vw,56px);max-width:560px}.hero-lead{font-size:17px;max-width:460px}.independent-note{font-size:10px;color:#0b203d;max-width:450px}.section{padding:38px 22px}.section-heading{align-items:flex-end}.section h2{font-size:30px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topic-card{min-height:190px}.steps-grid{grid-template-columns:repeat(2,1fr);gap:28px 18px}.condition-grid{grid-template-columns:repeat(2,1fr)}.profession-grid{grid-template-columns:repeat(2,1fr)}.profession-visual{height:125px}.cis-section{padding-top:0}.cis-panel{padding:28px;min-height:230px}.faq-contact{grid-template-columns:1fr;gap:26px}.request-panel{grid-template-columns:1fr 1fr;align-items:start}.request-copy{grid-column:1/-1}.request-form{grid-column:1}.request-phone{grid-column:2;align-self:end;border-top:0;border-left:1px solid #d5e0eb;padding:12px 0 12px 18px}.footer-main{grid-template-columns:1fr 1fr;gap:30px}.footer-brand{grid-column:1/-1}.footer-brand p{max-width:560px}.mobile-menu{position:absolute;z-index:20;top:72px;left:0;right:0;background:#fff;padding:12px 22px 22px;box-shadow:0 12px 24px #061a2c22}.mobile-menu:not([hidden]){display:flex;flex-direction:column}.mobile-menu a{padding:13px 0;border-bottom:1px solid #e5edf4;font-weight:700}.mobile-sticky{display:none}}
@media(max-width:560px){.eyebrow{display:none}html{scroll-padding-top:78px}body{padding-bottom:68px}.site-header{padding:0 14px;height:66px}.brand{gap:7px}.brand-logo{width:36px;height:36px}.brand strong{font-size:12px}.brand small{font-size:8px}.header-phone{gap:5px;min-width:0}.header-phone .phone-icon{font-size:20px}.header-phone b{font-size:15px;line-height:1.25}.header-phone small{display:none}.menu-toggle{padding:5px}.hero{min-height:620px;padding:32px 18px 24px;background-position:64% center}.hero:before{background:linear-gradient(180deg,rgba(242,248,252,.98) 0%,rgba(242,248,252,.9) 38%,rgba(5,24,42,.12) 68%,rgba(5,24,42,.58) 100%)}.eyebrow{display:none;font-size:9px}.hero h1{font-size:clamp(35px,10vw,47px);line-height:1.03;margin-bottom:14px;letter-spacing:-.045em}.hero-lead{font-size:15px;max-width:350px;margin-bottom:20px}.hero-actions{display:grid;grid-template-columns:1fr;gap:9px;max-width:360px}.hero-actions .button{width:100%;min-height:48px}.independent-note{font-size:12px;color:#f5f8fb;text-shadow:0 1px 4px #061a2c;max-width:360px;margin-top:18px}.section{padding:32px 16px}.section-heading{margin-bottom:16px;gap:10px}.section h2{font-size:27px}.text-link{font-size:11px}.text-link span{margin-left:2px}.topic-grid{grid-template-columns:1fr;gap:10px}.topic-card{min-height:145px;padding:16px 18px;background-position:center 42%}.topic-card span{font-size:22px}.topic-card b{width:34px;height:34px}.steps-grid{grid-template-columns:1fr;gap:20px;margin-top:24px}.step{display:grid;grid-template-columns:46px 1fr;column-gap:15px;align-items:start}.step-number{grid-row:span 2;width:42px;height:42px;font-size:18px;box-shadow:0 0 0 5px #dcecf9}.step h3{font-size:16px;margin:0 0 5px}.step p{font-size:12px;grid-column:2}.section-footnote{font-size:12px}.condition-grid{grid-template-columns:1fr 1fr;gap:8px}.condition-card{padding:15px 12px;min-height:155px}.line-icon{font-size:23px;margin-bottom:9px}.condition-card h3{font-size:15px}.condition-card p{font-size:13px;color:#34485f}.professions{padding-top:4px}.profession-grid{gap:9px}.profession-grid article{padding-bottom:12px}.profession-visual{height:125px;font-size:24px}.profession-grid h3{font-size:15px;margin:11px 10px 6px}.profession-grid p{font-size:13px;color:#34485f;margin:0 10px}.cis-section{padding:0 16px 32px}.cis-panel{padding:23px 20px;min-height:245px;background-position:60% center}.cis-panel h2{font-size:27px}.cis-panel p:not(.eyebrow){font-size:13px}.faq-contact{padding-top:0}.faq summary{font-size:13px}.faq details{padding:13px 0}.request-panel{display:block;padding:20px 16px}.request-copy{margin-bottom:16px}.request-copy h2{font-size:28px}.request-copy p:not(.eyebrow){font-size:13px}.request-form{gap:9px}.request-form input:not([type=checkbox]){min-height:46px}.request-phone{border-top:1px solid #d5e0eb;border-left:0;padding:15px 0 0;margin-top:15px}.footer-main{grid-template-columns:1fr;gap:20px;padding-bottom:22px}.footer-brand{grid-column:auto}.footer-brand p{font-size:11px}.footer-links h3,.footer-contacts h3{margin-bottom:9px}.footer-contacts p{font-size:11px}.footer-bottom{flex-direction:column;gap:8px;font-size:9px}.mobile-sticky{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:10px;position:fixed;z-index:50;bottom:0;left:0;right:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:transparent;border:0;box-shadow:none;pointer-events:none}.mobile-sticky a{min-width:0;min-height:50px;height:50px;padding:0 8px;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:0;font-size:15px;line-height:1.2;font-weight:800;white-space:nowrap;pointer-events:auto;box-shadow:0 3px 10px rgba(7,28,50,.14);box-sizing:border-box}.sticky-call{border:1px solid #0b203d;color:#0b203d;background:#fff}.sticky-apply{background:#ed1d2b;color:#fff}.mobile-sticky span{display:none}.request-panel{scroll-margin-bottom:90px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}


/* Responsive fixes and latest mobile contact requirements */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
img, svg, video, iframe {
  max-width: 100%;
}
.site-header, main, section, footer, .section, .hero, .faq-contact,
.topic-grid, .steps-grid, .condition-grid, .profession-grid, .footer-main {
  min-width: 0;
  max-width: 100%;
}
.topic-grid > *, .steps-grid > *, .condition-grid > *, .profession-grid > *,
.faq-contact > *, .footer-main > * {
  min-width: 0;
}
.header-phone {
  flex-shrink: 0;
}
.header-phone b, .request-phone b {
  font-size: 19px;
  overflow-wrap: anywhere;
}
.mobile-sticky {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 10px !important;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
}
.mobile-sticky a {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 8px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  font-size: 15px !important;
  border-radius: 7px !important;
  pointer-events: auto !important;
}
.mobile-sticky .sticky-call {
  background: #0b203d !important;
  color: #fff !important;
  border: 1px solid #0b203d !important;
}
.mobile-sticky .sticky-apply {
  background: #ed1d2b !important;
  color: #fff !important;
  border: 1px solid #ed1d2b !important;
}
@media (max-width: 560px) {
  body { padding-bottom: 78px !important; }
  .site-header {
    width: 100%;
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 8px !important;
  }
  .header-phone b {
    font-size: 14px !important;
    white-space: nowrap;
  }
  .brand-logo {
    width: 32px !important;
    height: 32px !important;
  }
  .brand strong { font-size: 11px !important; }
  .brand small { font-size: 8px !important; }
  .menu-toggle { flex-shrink: 0; }
  .hero, .section, .cis-section, .faq-contact {
    max-width: 100vw !important;
  }
  .mobile-sticky a {
    height: 50px !important;
    min-height: 50px !important;
    font-size: 14px !important;
  }
}

.phone-number-link{display:inline-block;text-decoration:none;color:inherit}.phone-number-link:hover{text-decoration:underline}

/* Final layout fixes */
@media (min-width: 561px) {
  .mobile-sticky {
    display: none !important;
  }
}
@media (max-width: 560px) {
  .header-phone b {
    font-size: 16px !important;
    font-weight: 800 !important;
  }
  .header-phone {
    flex-shrink: 0;
  }
}

/* Mobile fixed action buttons: larger, readable labels */
@media (max-width: 560px) {
  .mobile-sticky a,
  .mobile-sticky .sticky-call,
  .mobile-sticky .sticky-apply {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 6px !important;
  }
}


@media (max-width: 560px) {
  html, body {
    background: #fff !important;
  }
  .mobile-sticky {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}


/* Stable mobile layout: light content area, original dark footer, no extra page strip */
@media (max-width: 560px) {
  html,
  body {
    background: #ffffff !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 100%;
  }

  .faq-contact {
    background: #ffffff !important;
  }

  .site-footer {
    background: #061a2c !important;
    margin-bottom: 0 !important;
    padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-sticky {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    bottom: 0 !important;
    margin: 0 !important;
  }
}

/* Mobile call button: white with navy border for contrast on both light content and dark footer */
@media (max-width: 560px) {
  .mobile-sticky .sticky-call {
    background: #ffffff !important;
    color: #0b203d !important;
    border: 2px solid #0b203d !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18) !important;
  }
}

/* Center the two primary actions in the mobile hero */
@media (max-width: 560px) {
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .hero-actions .button {
    width: 100% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Final mobile hero CTA alignment: center against the full hero, not its text column */
@media (max-width: 560px) {
  .hero {
    position: relative;
  }
  .hero .hero-content {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  .hero .hero-actions {
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(340px, calc(100% - 24px)) !important;
    max-width: none !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }
  .hero .hero-actions .button {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* Mobile FAQ readability only */
@media (max-width: 560px) {
  .faq details summary {
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
  }
  .faq details p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
}


/* UX corrections: readable text, clear future-page links, and no content hidden by mobile actions */
.condition-card,
.profession-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.condition-card {
  transition: border-color .15s, transform .15s;
}
.condition-card:hover,
.profession-card:hover .profession-visual {
  border-color: #a8c8e4;
}
.profession-card {
  border: 1px solid #e1e9f1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding-bottom: 12px;
}
.profession-card .profession-visual {
  border-radius: 0;
}
.profession-card h3 {
  margin: 12px 14px 0;
}

@media (max-width: 560px) {
  /* Improve the low-contrast independent-status text on the hero. */
  .independent-note {
    color: #0b203d !important;
    text-shadow: none !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }

  /* Make FAQ comfortable to read on a phone. */
  .faq summary,
  .faq details summary {
    font-size: 17px !important;
    line-height: 1.45 !important;
    color: #0b203d !important;
  }
  .faq details p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #34485f !important;
  }

  /* Readable legal/contact text and consent. */
  .consent {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  .form-note {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  .footer-brand p,
  .footer-contacts p,
  .footer-contacts > a,
  .footer-links a {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  .footer-links h3,
  .footer-contacts h3 {
    font-size: 15px !important;
  }
  .footer-bottom {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* Fixed action buttons remain transparent, while the page reserves space so they don't cover content. */
  body {
    padding-bottom: 0 !important;
    overflow-x: clip !important;
  }
  .faq-contact {
    padding-bottom: 92px !important;
  }
  .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
  .mobile-sticky {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 999 !important;
  }
  .mobile-sticky a {
    min-width: 0 !important;
    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 6px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
}

/* Never show the mobile action bar on desktop. */
@media (min-width: 561px) {
  .mobile-sticky { display: none !important; }
}

/* Keyboard accessibility for navigation and clickable cards */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #2677bd;
  outline-offset: 3px;
}


/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 0 rgba(11, 32, 61, .08);
}
html {
  scroll-padding-top: 100px;
}
#about, #steps, #conditions, #professions, #faq, #contacts, #request {
  scroll-margin-top: 100px;
}
.form-submit:disabled {
  opacity: .72;
  cursor: wait;
}
.form-error {
  color: #b42332;
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 0;
}
.document-page {
  min-height: 55vh;
  padding-top: 48px;
  padding-bottom: 64px;
}
.document-page h1 {
  max-width: 1000px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin: 0 0 28px;
}
.document-page h2 {
  font-size: clamp(21px, 2.2vw, 28px);
  margin: 32px 0 12px;
}
.document-page p,
.document-page li {
  font-size: 17px;
  line-height: 1.7;
  max-width: 1000px;
}
.document-page ul {
  padding-left: 24px;
}
.success-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  background: #eef5fc;
  border: 1px solid #d8e7f5;
  border-radius: 18px;
  text-align: center;
}
.success-mark {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d9ecfb;
  color: #1769a8;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
}
.success-panel p {
  margin-left: auto;
  margin-right: auto;
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
@media (max-width: 560px) {
  .document-page {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .document-page p,
  .document-page li {
    font-size: 16px;
    line-height: 1.65;
  }
  .success-actions {
    flex-direction: column;
  }
  .success-actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* Consent checkbox and validation feedback - larger and easier to read */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.55;
}
.consent .consent-checkbox,
.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: #1769a8;
  cursor: pointer;
}
.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.request-form input:invalid:focus {
  outline: 2px solid #b42332;
  outline-offset: 2px;
}
.form-error {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  margin-top: 12px;
}
@media (max-width: 560px) {
  .consent {
    font-size: 16px !important;
    line-height: 1.55 !important;
    gap: 11px;
  }
  .consent .consent-checkbox,
  .consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
  }
  .form-error {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
}


/* Mobile navigation fix: keep the opened menu attached to the viewport/header */
@media (max-width: 850px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 3000;
  }
  .menu-toggle {
    position: relative;
    z-index: 3002;
    display: block;
    flex: 0 0 auto;
    cursor: pointer;
    min-width: 42px;
    min-height: 42px;
    touch-action: manipulation;
  }
  .mobile-menu {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    max-height: calc(100dvh - 72px) !important;
    overflow-y: auto !important;
    z-index: 3001 !important;
    background: #fff !important;
    padding: 12px 22px 22px !important;
    box-shadow: 0 12px 24px rgba(6, 26, 44, .18) !important;
  }
  .mobile-menu[hidden] {
    display: none !important;
  }
  .mobile-menu:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
  }
}
@media (max-width: 560px) {
  .mobile-menu {
    top: 66px !important;
    max-height: calc(100dvh - 66px) !important;
  }
}


/* Consistent, larger, bold button typography across the site */
.button,
.hero-actions .button,
.header-cta,
.mobile-sticky a,
.success-actions .button,
.request-form button,
button[type="submit"],
.sticky-call,
.sticky-apply {
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.button,
.hero-actions .button,
.header-cta,
.success-actions .button,
.request-form button,
button[type="submit"] {
  min-height: 52px;
}

@media (max-width: 850px) {
  .button,
  .hero-actions .button,
  .request-form button,
  button[type="submit"] {
    min-height: 52px;
    font-size: 18px !important;
  }
  .mobile-sticky a,
  .sticky-call,
  .sticky-apply {
    min-height: 54px !important;
    height: 54px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
  }
}

@media (max-width: 560px) {
  .button,
  .hero-actions .button,
  .request-form button,
  button[type="submit"],
  .mobile-sticky a {
    font-size: 18px !important;
    font-weight: 800 !important;
  }
}


/* Согласованные изменения: заголовки карточек, вакансий и FAQ */
.condition-card h3 {
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}
.profession-card h3 {
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}
.faq details summary {
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}
.faq details p {
  font-size: 18px !important;
  line-height: 1.5 !important;
}
@media (max-width: 850px) {
  .condition-card h3, .profession-card h3 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }
  .faq details summary {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }
  .faq details p {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
}


/* Точечные исправления по отображению карточек и блока записи */
@media (max-width: 560px) {
  .step { align-items: center !important; grid-template-columns: 46px minmax(0, 1fr); }
  .step-number { grid-row: 1; align-self: center; }
  .step h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .profession-grid h3 { font-size: 14px !important; line-height: 1.25 !important; overflow-wrap: normal !important; word-break: normal !important; hyphens: none !important; }
  .cis-panel h2 { margin-bottom: 18px; }
}

/* Ensure the homepage hero image remains connected as a separate background layer. */
.hero { background-image: linear-gradient(110deg,rgba(234,242,248,.88) 0%,rgba(198,217,231,.68) 48%,rgba(32,57,75,.35) 100%), url("/images/hero.jpg"); background-position: center; background-size: cover; background-repeat: no-repeat; }


/* Remove decorative dashed frame around the logo in header and footer. */
.brand-logo, .brand-logo:focus, .brand-logo:focus-visible { border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; }

/* Universal application modal */
.request-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:18px;}
.request-modal.is-open{display:flex;}
.request-modal__backdrop{position:absolute;inset:0;background:rgba(4,18,32,.68);backdrop-filter:blur(3px);}
.request-modal__dialog{position:relative;z-index:1;width:min(100%,500px);max-height:min(90vh,760px);overflow-y:auto;background:#fff;border-radius:14px;padding:38px;box-shadow:0 24px 80px rgba(0,0,0,.28);}
.request-modal__close{position:absolute;right:14px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:#eef5fb;color:#0b203d;font-size:30px;line-height:1;cursor:pointer;}
.request-modal__eyebrow{margin:0 42px 6px 0;color:#1766ad;font-size:11px;font-weight:800;letter-spacing:.08em;}
.request-modal__dialog h2{margin:0 42px 24px 0;color:#0b203d;font-size:clamp(26px,5vw,34px);line-height:1.15;}
.request-modal__intro{margin:0 0 20px;color:#53657a;font-size:14px;line-height:1.55;}
.request-modal__form{gap:18px;}
.request-modal__form input:not([type=checkbox]){min-height:50px;}
.request-modal__form .consent{font-size:12px;line-height:1.45;}
.request-modal__form .form-submit{margin-top:6px;}
.request-modal__form input:not([type=checkbox]):focus,
.request-modal__form input:not([type=checkbox]):invalid:focus{outline:2px solid #74b4e8!important;outline-offset:2px;border-color:#74b4e8!important;box-shadow:0 0 0 1px #74b4e8!important;}
.request-modal__message{margin:0;padding:12px 14px;border-radius:7px;background:#eaf7ef;color:#17653a;font-size:14px;}
.request-modal__message.is-error{background:#fff0f0;color:#a71925;}
.request-modal__disclaimer{margin:16px 0 0;color:#738196;font-size:11px;line-height:1.45;}
body.request-modal-open{overflow:hidden;}
@media(max-width:560px){.request-modal{padding:12px;align-items:center}.request-modal__dialog{padding:30px 22px 26px;border-radius:12px;max-height:calc(100dvh - 24px)}.request-modal__dialog h2{margin-bottom:24px}.request-modal__form input:not([type=checkbox]){min-height:50px}}

/* Telegram-like country code + national telephone field; used in every form. */
.request-form .dc-phone-wrap {
  position: relative; display: flex; align-items: center; width: 100%; min-width: 0;
  min-height: 50px; border: 1px solid #c6d5e4; border-radius: 6px;
  background: #fff; box-sizing: border-box; transition: border-color .18s, box-shadow .18s;
}
.request-form .dc-phone-wrap:focus-within {border-color:#74b4e8;box-shadow:0 0 0 2px #74b4e833;}
.request-form .dc-phone-wrap .dc-country-button {
  flex: 0 0 auto; display: inline-flex; justify-content: center; align-items: center;
  gap: 6px; padding: 0 10px 0 13px; min-width: 105px; max-width: 122px;
  align-self: stretch; color: #15243b; background: none; border: 0; border-right: 1px solid #e2e9f1;
  border-radius: 6px 0 0 6px; cursor: pointer; box-shadow: none; font-size: 14px;
  font-family: inherit; font-weight: 600; line-height: 1.2;
}
.request-form .dc-phone-wrap .dc-country-button:focus-visible {outline:2px solid #74b4e8;outline-offset:-2px;}
.dc-country-flag {display:block;flex:0 0 auto;width:28px;height:21px;object-fit:contain;}
.dc-country-code {white-space:nowrap;}
.dc-country-arrow {font-size:13px;color:#63788d;}
.request-form .dc-phone-wrap .dc-national-phone,
.request-modal__form .dc-phone-wrap .dc-national-phone,
.request-form .dc-phone-wrap .dc-national-phone:focus,
.request-modal__form .dc-phone-wrap .dc-national-phone:focus {
  border: 0!important; outline: 0!important; outline-offset:0!important;
  box-shadow: none!important; border-radius:0 6px 6px 0!important;
  background: transparent!important; margin:0!important; height:48px; min-height:48px!important;
  width:100%; min-width:0; flex:1 1 auto; padding:0 12px!important;
  font:inherit; font-size:15px; color:#15243b;
}
.request-form .dc-phone-wrap .dc-national-phone::placeholder {color:#8190a0;opacity:1;}
.dc-country-popover {
  position:fixed; z-index:1500; display:flex;flex-direction:column;box-sizing:border-box;
  background:#fff; border:1px solid #d6e0eb;border-radius:12px;
  box-shadow:0 16px 44px rgba(13,32,52,.25);overflow:hidden;
}
.dc-country-search {display:block;box-sizing:border-box;flex:0 0 auto;width:calc(100% - 24px);
  margin:12px!important;padding:10px 12px!important;min-height:40px!important;
  border-radius:8px;border:1px solid #cbd9e6;background:#f8fbfe;
  font-family:inherit;font-size:14px;line-height:1.2;color:#14263d;
}
.dc-country-options {overflow:auto;overscroll-behavior:contain;min-height:0;max-height:100%;}
.dc-country-option {display:flex;align-items:center;width:100%;gap:12px;
  border:0;background:#fff;padding:9px 14px;min-height:41px;
  font:inherit;color:#1a2c42;text-align:left;cursor:pointer;
}
.dc-country-option:hover,.dc-country-option:focus-visible {background:#f0f5fa;}
.dc-country-option[aria-selected="true"]{background:#eaf3fc;}
.dc-country-name {font-size:14px;flex:1;min-width:0;}
.dc-country-dial {font-size:13px;color:#63768c;white-space:nowrap;}
.dc-country-empty {margin:0;padding:18px;text-align:center;color:#63768c;font-size:14px;}
@media(max-width:560px) {
  .request-form .dc-phone-wrap .dc-country-button {padding:0 7px;min-width:95px;gap:4px;}
  .request-form .dc-phone-wrap .dc-national-phone {padding:0 9px!important;font-size:14px;}
}
