/* Адаптивная система для главной и всех внутренних страниц. */
.feature-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;flex-shrink:0;border-radius:16px;background:#fff0e5;color:#d85b09;margin-bottom:22px}
.feature-icon .subject__icon{display:block;width:30px;height:30px;margin:0;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:767px){.feature-icon{width:48px;height:48px;border-radius:14px;margin-bottom:18px}.feature-icon .subject__icon{width:27px;height:27px}}
:where(.section-heading>*,.page-hero__layout>*,.application-layout>*,.form-grid>*,.footer__grid>*,.detail-split>*,.article-layout>*,.contact-layout>*){min-width:0}
:where(h1,h2,h3,.eyebrow,.subject__name,.subject-spotlight>strong,.breadcrumbs,.contact-card dd){overflow-wrap:anywhere}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.field{min-width:0}
.custom-select__value{flex:1;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
.custom-select__trigger{height:auto;min-height:52px}
.custom-select__popup{scrollbar-width:thin}
.calc-summary div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px}
.calc-summary dt{max-width:none}
.calc-summary dd{white-space:normal;overflow-wrap:anywhere;line-height:1.6;font-variant-numeric:tabular-nums}
.mobile-menu{max-height:calc(100dvh - 76px);overflow:auto;overscroll-behavior:contain;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
.dialog{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.dialog__close{width:44px;height:44px;min-width:44px;min-height:44px}
.footer__grid a,.footer__link{min-height:44px;display:flex;align-items:center}
.footer__grid>div>a:not(.brand){display:flex;margin:2px 0}
.footer__bottom a{padding:10px 0;min-height:44px}
.schedule-scroll{overscroll-behavior:contain;scrollbar-gutter:stable}
.schedule-table thead th{position:sticky;top:0;background:var(--brand-navy);z-index:1}
@media(min-width:1600px){.page-hero h1{font-size:60px}}
@media(min-width:768px) and (max-width:1199px){
 .content-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .advantages-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .advantages-grid .advantage:last-child{grid-column:1/-1}
 .steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
 .footer__grid{grid-template-columns:1.3fr 1fr 1fr;gap:28px}
 .section-heading{gap:28px;align-items:start}
 .section-heading>p{max-width:300px;font-size:15px}
}
@media(max-width:1023px){
 .application-layout{grid-template-columns:1fr;gap:32px}
 .application-copy{padding-top:0;max-width:720px}
 .form-panel{padding:28px}
 .page-hero__layout{grid-template-columns:1fr;gap:32px}
 .subject-spotlight{display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:24px;align-items:start;padding:28px}
 .subject-spotlight__icon{grid-row:1/5;width:88px;height:88px;margin:0}
 .subject-spotlight__icon .subject__icon{width:58px;height:58px}
 .subject-spotlight>.eyebrow{margin-bottom:0}
 .subject-spotlight>strong{font-size:26px;margin:8px 0 12px}
 .subject-spotlight>.spotlight-meta{grid-column:2;margin-top:16px}
 .calculator-layout{grid-template-columns:1fr}
 .calc-result{position:static}
 .calc-payment strong{font-size:40px}
 .article-layout{grid-template-columns:1fr;gap:32px}
 .article-nav{position:static;display:flex;flex-wrap:wrap;gap:8px 24px}
 .article-nav>.eyebrow{width:100%;margin-bottom:4px}
 .article-nav a{min-height:44px;display:flex;align-items:center}
 .contact-layout{grid-template-columns:1fr 1fr;gap:24px}
}
@media(max-width:767px){
 html{scroll-padding-top:16px}
 .container{width:calc(100% - 32px)}
 .section,.application-section{padding:48px 0}
 h2{font-size:clamp(28px,6.8vw,34px);line-height:1.2}
 .section-heading{margin-bottom:28px}
 .content-grid,.partners-grid,.advantages-grid{grid-template-columns:1fr;gap:16px}
 .partner,.directory-card,.advantage,.content-card{padding:24px;border-radius:16px}
 .partner__logo{font-size:28px;margin-bottom:16px;min-height:44px}
 .partner h3,.directory-card h3,.content-card h3{font-size:21px}
 .partner dl,.directory-card dl{font-size:14px;margin:20px 0}
 .partner dl>div{display:flex;justify-content:space-between}
 .directory-card .inline-link,.partner__pending{font-size:13px}
 .partner p,.advantage p,.content-card p{font-size:15px;line-height:1.7}
 .form-grid{grid-template-columns:1fr;gap:18px}
 .calculator-controls .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .form-panel{padding:24px 20px}
 .form-panel h3{font-size:24px}
 .form-note,.consent{font-size:13px;line-height:1.6}
 .consent input{width:20px;height:20px;flex-shrink:0}
 .form-status{font-size:14px;overflow-wrap:anywhere}
 .field input,.field textarea,.custom-select__trigger{font-size:16px}
 .page-hero{padding:20px 0 40px}
 .page-hero h1{font-size:clamp(30px,7.8vw,40px);line-height:1.14}
 .page-hero__intro{font-size:16px;line-height:1.7}
 .breadcrumbs{font-size:12px;gap:6px 10px;margin-bottom:26px}
 .breadcrumbs a,.breadcrumbs>span{padding:4px 0}
 .subject-spotlight{padding:24px;gap:0 18px;grid-template-columns:64px minmax(0,1fr)}
 .subject-spotlight__icon{width:64px;height:64px;border-radius:16px}
 .subject-spotlight__icon .subject__icon{width:44px;height:44px}
 .subject-spotlight>strong{font-size:23px}
 .subject-spotlight>p:not(.eyebrow){grid-column:1/-1;margin-top:12px;font-size:15px}
 .subject-spotlight>.spotlight-meta{grid-column:1/-1}
 .detail-split{grid-template-columns:1fr;gap:24px}
 .spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .spec-grid>div{padding:20px}
 .spec-grid dd{font-size:18px}
 .contact-layout{grid-template-columns:1fr}
 .map-placeholder{min-height:260px;padding:24px}
 .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
 .footer__grid>div:first-child{grid-column:1/-1}
 .footer__bottom{gap:10px;align-items:start}
 .footer__bottom a{padding:4px 0}
 .dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);margin-block:auto}
 .dialog__body{padding:42px 20px 24px}
 .calc-details__heading{flex-direction:column;align-items:start;gap:20px}
 .calc-details__heading .button{width:100%}
 .calc-details__heading p{overflow-wrap:anywhere}
 .calc-tax dl{flex-direction:column;gap:16px}
 .calc-tax dd{font-size:24px}
 .calc-summary div{font-size:14px;gap:16px}
 .calc-result-note,.calc-assumptions p,.calc-tax p{font-size:13px;line-height:1.7}
 .calc-status{font-size:14px;min-height:0}
 .calc-payment small{font-size:13px}
 .calc-assumptions summary,.calc-tax summary{font-size:14px;line-height:1.6;padding-bottom:8px}
 .schedule-table{font-size:14px}
 .schedule-table th,.schedule-table td{padding:14px}
}
@media(max-width:479px){
 .hero__actions{flex-direction:column}
 .hero__actions .button{flex:auto;width:100%;min-height:52px;font-size:16px}
 .hero__benefits{gap:10px 16px;font-size:12px}
 .hero__note{margin-top:24px;font-size:12px}
 .subjects-grid{gap:12px}
 .subject{padding:18px 14px;min-height:156px}
 .subject__name{font-size:15px;max-width:none;overflow-wrap:anywhere}
 .calculator-controls,.calc-result,.calc-details{padding:24px 20px;border-radius:18px}
 .calculator-controls .form-grid{grid-template-columns:1fr}
 .calc-payment strong{font-size:clamp(28px,8vw,36px);letter-spacing:-.04em}
 .calc-summary div{grid-template-columns:1fr;gap:4px;padding-bottom:12px;border-bottom:1px solid #476083}
 .calc-summary dd{text-align:left;font-size:16px;line-height:1.5}
 .range-limits{font-size:13px}
 .spec-grid{grid-template-columns:1fr}
 .share-bar .button,.page-back-actions .button{width:100%}
 .article-body .article-lead{font-size:19px}
 .article-body h2{font-size:26px;line-height:1.25}
 .article-nav{gap:4px}
 .article-nav a{width:100%}
 .intro-band strong{font-size:23px}
 .intro-band span{font-size:13px;line-height:1.5}
}
@media(max-width:359px){
 .brand{font-size:18px}
 .hero h1{font-size:32px}
 .subject__name{font-size:14px}
 .content-card,.partner,.directory-card,.advantage{padding:20px}
 .footer__grid{gap:24px 16px}
 .footer__grid h3{font-size:17px}
 .footer__grid>div>a:not(.brand),.footer__link{font-size:13px}
}
@media(max-height:500px) and (max-width:1023px){
 .dialog{max-height:calc(100dvh - 16px);width:min(580px,calc(100% - 24px))}
 .dialog__body{padding-top:38px}
 .mobile-menu{max-height:calc(100dvh - 68px)}
}
@media(prefers-reduced-motion:reduce){.custom-select__indicator:after{transition:none}}
