/* Главное меню: строка с выпадающими списками на широких экранах, кнопка «Меню» на узких. Подключается последним. */
.navrow>a{flex:none}
.nav a{white-space:nowrap}
.nav-group{position:relative}
.nav-sub{display:none}
@media(min-width:1400px){
 .header .wrap{width:min(1600px,94%)}
 .navrow{gap:20px}
 .navrow .menu{display:none!important}
 .navrow .nav{display:flex!important;position:static;flex-direction:row;align-items:center;gap:22px;padding:0;border:0;background:none;max-height:none;overflow:visible}
 .navrow .nav a{font-size:15px}
 .nav-group{padding:24px 0}
 .nav-group>a:after{content:"";display:inline-block;margin-left:7px;border:4px solid transparent;border-top-color:currentColor;border-bottom-width:0;vertical-align:2px}
 .nav-sub{position:absolute;top:100%;left:-18px;min-width:250px;background:#fff;border:1px solid #dce4e4;box-shadow:0 14px 30px #06253824;padding:8px 0;z-index:30}
 .nav-group:hover .nav-sub,.nav-group:focus-within .nav-sub{display:block}
 .nav-sub a{display:block;padding:10px 18px}
 .nav-sub a:hover{background:#f2f6f5;color:#137449}
 .language-switch{margin-left:0}
}
@media(max-width:1399px){
 .navrow .menu{display:block!important}
 .navrow .nav{display:none;position:absolute;left:0;right:0;background:#fff;padding:25px 5%;border-bottom:1px solid #cdd9dc;flex-direction:column;align-items:stretch;gap:18px;max-height:calc(100vh - 82px);overflow:auto}
 .navrow .nav.open{display:flex}
 .navrow .nav a{font-size:17px}
 .language-switch{margin-left:auto}
 .nav-sub{display:flex;flex-direction:column;gap:12px;margin:12px 0 0 18px}
 .navrow .nav .nav-sub a{font-size:15px;color:#516775}
 .nav-sub a:first-child:not(:only-child)[href$="/about/"]{display:none}
}
@media(min-width:1400px) and (max-width:1599px){
 .header .wrap{width:96%}
 .navrow{gap:14px}
 .navrow .nav{gap:14px}
 .navrow .nav a{font-size:14px}
 .navrow .nav .contact{padding:8px 12px}
 .navrow .logo{width:90px;height:66px}
 .nav-group>a:after{margin-left:5px}
}
/* Подвал */
.footer .footer-logo{width:150px;height:auto;display:block}
.footer .brand-name{font-size:22px;letter-spacing:.01em;text-transform:none;font-weight:500;margin-top:16px}
/* Переход по якорям: заголовок раздела не прячется под шапкой */
[id^="product-section"]{scroll-margin-top:70px}
.footer .footer-logo+p{margin-top:16px}

/* Блок «Вопросы и ответы» */
.faq-ai{background:#fff}.faq-ai .faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;margin-top:28px}.faq-ai .faq-item{padding:22px 0;border-top:1px solid #dce4e4}.faq-ai .faq-item h3{font-size:19px;line-height:1.35;margin:0 0 8px}.faq-ai .faq-item p{margin:0;font-size:16px;line-height:1.6;color:#3d5563}@media(max-width:900px){.faq-ai .faq-list{grid-template-columns:1fr}}
