/* Shared site navigation and quiet document footer, loaded after page styles. */
body .site-header,body.home-evening .site-header{position:relative;top:auto;height:auto;z-index:20;backdrop-filter:none}
body .site-header .header-inner{width:min(1160px,calc(100% - 64px));margin-inline:auto;position:relative;display:grid;grid-template-columns:1fr auto 1fr;gap:28px;align-items:center;min-height:82px;height:auto}
body .site-header .logo{display:inline-flex;grid-column:1;grid-row:1;width:136px;min-width:0;flex:none}
body .site-header .logo img{display:block;width:100%;height:auto;border-radius:0}
body .site-header .main-nav{position:static;grid-column:2;grid-row:1;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:32px;inset:auto;transform:none;opacity:1;pointer-events:auto;margin:0;padding:0;height:auto;min-height:0;background:none;box-shadow:none;border:0;transition:none;overflow:visible}
body .site-header .main-nav a{display:inline-flex;align-items:center;min-height:46px;padding:9px 0;border:0;font-size:14px;font-weight:700;line-height:1.5;white-space:nowrap}
body .site-header .header-contact{display:inline-flex;align-items:center;justify-content:center;grid-column:3;grid-row:1;justify-self:end;min-height:46px;padding:10px 23px;font-size:14px;font-weight:700;line-height:1.5}
body .site-header .menu-toggle,body .site-header .mobile-contact{display:none!important}
body .site-footer{position:relative;z-index:2;margin-top:0;padding:0;border-top:1px solid #a6856d40}
body .site-footer .footer-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding-block:28px;width:min(1160px,calc(100% - 40px));height:auto}
body .site-footer .footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 28px;width:100%;margin:0;padding:0}
body .site-footer .footer-document-button{display:inline;width:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;opacity:.78;text-align:center;font-family:inherit;font-size:12px;font-weight:400;line-height:1.8;cursor:default;white-space:normal}
body .site-footer .footer-copy{width:100%;margin:0;text-align:center;color:inherit;opacity:.72;font-family:inherit;font-size:12px;line-height:1.8}
body .site-footer{background:#402b21;color:#fff1e1}
body.home-evening .site-footer{background:#210f0c;color:#f3ddc7}
body .container,body .wrap{min-width:0;max-width:100%}
body .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
body .stats .stat{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-items:start;column-gap:15px;row-gap:7px;text-align:left;min-width:0}
body .stats .stat-icon{grid-column:1;grid-row:1/3;width:31px;height:31px;margin:5px 0 0}
body .stats .stat strong{grid-column:2;grid-row:1;font-size:35px;line-height:1.2;letter-spacing:-.04em;white-space:nowrap}
body .stats .stat span:last-child{grid-column:2;grid-row:2;max-width:none;font-size:14px;line-height:1.65}
body .cartoons-hero-inner,body .calculator-application-grid,body .application-card,body .calculator-card,body .calculator-stack,body .tariff-card,body .scene-guide{min-width:0}
body .application-card input,body .application-card select,body .application-card textarea{max-width:100%;min-width:0}
body .application-card fieldset{min-width:0}
@media(max-width:900px){
 body .site-header .header-inner{grid-template-columns:1fr auto;gap:0 20px;min-height:0;padding-top:12px}
 body .site-header .main-nav{grid-column:1/-1;grid-row:2;gap:34px;width:100%;padding:5px 0 9px}
 body .site-header .header-contact{grid-column:2;grid-row:1;min-height:44px}
 body .site-header .logo{width:126px}
 body .stats{gap:24px}
 body .stats .stat strong{font-size:29px}
 body .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .process-grid article::after{display:none!important}
}
@media(max-width:640px){
 body .site-header .header-inner{width:calc(100% - 36px);padding-top:10px}
 body .site-header .logo{width:120px}
 body .site-header .header-contact{min-width:0;padding:10px 20px;font-size:13px}
 body .site-header .main-nav{gap:30px;padding:6px 0 9px}
 body .site-header .main-nav a{font-size:14px;min-height:44px}
 body .hero-home{padding-top:35px}
 body .hero-home h1{max-width:100%;font-size:clamp(28px,7.5vw,36px);line-height:1.2;overflow-wrap:normal}
 body .hero-home p{max-width:100%;font-size:16px;line-height:1.75}
 body .hero-home p br{display:none}
 body .hero-home .choice-grid{grid-template-columns:1fr;gap:17px}
 body .choice-card h2{max-width:100%;font-size:19px;line-height:1.35}
 body .choice-card p{font-size:15px;line-height:1.7}
 body .stats{grid-template-columns:1fr;gap:27px;padding:25px 22px}
 body .stats .stat{grid-template-columns:36px minmax(0,1fr);gap:7px 16px}
 body .stats .stat strong{font-size:33px;line-height:1.2}
 body .stats .stat span:last-child{font-size:14px;line-height:1.75;max-width:100%}
 body .site-footer .footer-inner{gap:18px;padding-block:25px;width:calc(100% - 36px)}
 body .site-footer .footer-links{display:grid;grid-template-columns:1fr;gap:9px;justify-items:center}
 body .site-footer .footer-document-button{width:auto;min-height:0;padding:0;font-size:12px;line-height:1.8;text-align:center;border:0;background:none}
 body .site-footer .footer-copy{font-size:12px;line-height:1.8}
 body .cartoons-hero-inner,body .tariff-grid,body .calculator-application-grid{grid-template-columns:minmax(0,1fr);max-width:100%}
 body .cartoons-hero h1{font-size:clamp(29px,7.8vw,37px);line-height:1.2}
 body .cartoons-hero p{font-size:16px;line-height:1.75}
 body .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:13px}
 body .hero-actions>.button{width:100%;min-height:48px;font-size:15px;white-space:normal}
 body .application-card{height:auto;padding:22px 20px}
 body .application-card .form-field input,body .application-card .form-field select,body .application-card .form-field textarea{width:100%;font-size:16px;box-sizing:border-box}
 body .application-card .form-field>span,body .application-card legend{font-size:14px;line-height:1.6}
 body .application-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
 body .application-summary>span{font-size:13px;line-height:1.6;max-width:155px}
 body .application-summary>strong{font-size:26px;line-height:1.2;white-space:nowrap}
 body .idea-choice,body .messenger-choice{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 body .idea-choice label,body .messenger-choice label{min-width:0;font-size:14px;line-height:1.6}
 body .process-section{padding:24px 20px}
 body .process-heading h3{font-size:27px;line-height:1.25;max-width:100%;margin:0}
 body .process-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:24px}
 body .process-grid article{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:15px;row-gap:8px;min-height:0;padding:20px 17px}
 body .process-grid article>span{grid-column:1;grid-row:1/3;width:36px;height:36px;margin:1px 0 0;font-size:13px;align-self:start}
 body .process-grid article>strong{display:block;grid-column:2;grid-row:1;margin:0;font-size:18px;line-height:1.4}
 body .process-grid article>p{grid-column:2;grid-row:2;margin:0;font-size:15px;line-height:1.75;min-width:0}
 body .scene-duration-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body .scene-duration-list>div{grid-column:auto;min-width:0}
 body .calculator-total,body .modal-currency-grid,body .currency-grid{min-width:0;max-width:100%}
 body .faq-question{min-width:0}
 body .faq-question>span{min-width:0;overflow-wrap:anywhere}
 body .modal-panel{max-width:100%;max-height:calc(100dvh - 40px);overflow-y:auto}
 body .contact-actions{grid-template-columns:minmax(0,1fr);gap:12px}
 body .contact-button{font-size:14px;min-height:48px;white-space:normal}
}
@media(max-width:359px){body .site-header .main-nav{gap:24px}body .site-header .main-nav a{font-size:13px}body .site-header .header-contact{padding-inline:16px}body .stats .stat strong{font-size:29px}body .application-card{padding-inline:17px}body .process-grid article{padding-inline:15px;column-gap:12px}}

body .site-header .main-nav a.active{color:var(--accent,#ff7a5c)}
