.site-header{position:relative;z-index:5}
.segmented{flex-wrap:wrap}
.segmented button{flex:1 1 130px;overflow-wrap:anywhere}
.faq-list p{white-space:pre-line;overflow-wrap:anywhere}
.catalog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.catalog-actions .button{flex:1 1 auto;margin-top:0}
.button-danger{color:#9d3026;border-color:#e9cbc7}
.button-danger:hover{background:#fff0ed}
.catalog-item .catalog-answer{white-space:pre-line}
.hero{grid-template-columns:minmax(0,1.07fr) minmax(0,1fr)}
.calculator-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.hero>*,.calculator-layout>*,.section-heading>*,.service-card,.catalog-item,.form-grid>*,.extra-row label,.extra-row label>span{min-width:0}
.brand [data-brand],#admin-brand{white-space:normal;overflow-wrap:anywhere;line-height:1.15}
.brand [data-brand]{max-width:240px}
.menu-toggle{display:none;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink)}
.menu-toggle span{position:relative;display:block;width:18px;height:12px;border-block:1.5px solid currentColor}
.menu-toggle[aria-expanded=true] span{height:0;border:0}
.menu-toggle[aria-expanded=true] span:before,.menu-toggle[aria-expanded=true] span:after{content:'';position:absolute;inset:0;height:1.5px;background:currentColor;transform:rotate(45deg)}
.menu-toggle[aria-expanded=true] span:after{transform:rotate(-45deg)}
.mobile-nav{display:none}
.service-card h3,.catalog-item h2,.admin-title h1,.order-name,.contacts,.quote-line span:first-child{overflow-wrap:anywhere}
.circle-button{flex-shrink:0;min-width:44px;min-height:44px}
.quote-total{overflow-wrap:anywhere}
.quote-line span:first-child{min-width:0}
.quote-line span:last-child{flex-shrink:0}
.extra-row label{min-height:44px}
.admin-title,.admin-toolbar{flex-wrap:wrap}
.admin-sidebar .brand{white-space:normal}
.admin-sidebar .brand-mark{flex-shrink:0}
.admin-sidebar #admin-brand{max-width:170px}
.order-head>div{min-width:0}
.order-detail dl{grid-template-columns:130px minmax(0,1fr)}
.catalog-prices>div{flex-wrap:wrap}
.catalog-prices strong{overflow-wrap:anywhere}
.order-dialog{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:calc(100dvh - 32px)}
.dialog-close{width:44px;height:44px;right:10px;top:8px}
@media(max-width:1100px){
  .desktop-nav{gap:18px;font-size:11px}
  .site-header{gap:18px}
  .brand{font-size:21px}
  .brand [data-brand]{max-width:190px}
}
@media(min-width:601px) and (max-width:1000px){
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-card:last-child:nth-child(odd){grid-column:1/-1;min-height:0}
}
@media(max-width:900px){
  .wrap{width:calc(100% - 48px)}
  .site-header{height:88px;gap:16px}
  .site-header>.brand{margin-right:auto}
  .desktop-nav{display:none}
  .menu-toggle{display:flex}
  .mobile-nav{position:absolute;top:calc(100% + 10px);inset-inline:0;display:flex;flex-direction:column;padding:10px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 15px 35px #24242112}
  .mobile-nav a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px 15px;border-radius:10px;font-size:14px}
  .mobile-nav a:hover{background:var(--soft)}
  .mobile-nav a:last-child{background:var(--accent);margin-top:4px}
  .hero{grid-template-columns:minmax(0,1fr);gap:32px;padding-top:36px;padding-bottom:36px}
  .hero-copy{padding-top:8px}
  .hero h1{font-size:clamp(42px,7vw,60px);letter-spacing:-2px;line-height:1.1}
  .hero-description{max-width:500px;font-size:16px}
  .hero-bottom{display:none}
  .hero-art{width:100%;max-width:680px;min-height:0;aspect-ratio:1.6;justify-self:center;border-radius:140px 140px 24px 24px;padding:0}
  .room-art{object-position:50% 60%}
  .promise-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;font-size:12px}
  .section{padding-block:65px}
  .calculator-layout{grid-template-columns:minmax(0,1fr);gap:30px}
  .calculator-section{padding-block:65px}
  .quote-panel{position:static;width:100%;padding:30px}
  .quote-total{font-size:56px}
  .control-block h3{font-size:16px}
  .extras-list{margin-top:18px}
  .extra-row label{font-size:14px}
  .extra-row label span span{font-size:12px;line-height:1.6}
  .extra-price{font-size:13px}
  .quantity button{width:44px;height:44px;min-width:44px}
  .quantity output{font-size:14px;min-width:22px}
  .faq-section{grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:65px}
  .section-heading{gap:24px}
  .section-intro{font-size:13px}
  .steps-grid{gap:24px}
  .steps-grid h3{font-size:17px}
  .steps-grid p{font-size:13px}
  .footer-top{flex-wrap:wrap}
  .contacts{font-size:14px}
  .contacts .contact-meta{font-size:12px}
}
@media(max-width:760px){
  .admin-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:6px;padding-bottom:14px}
  .admin-sidebar nav button{white-space:normal;min-height:48px;font-size:12px;padding:10px;line-height:1.45}
  .admin-sidebar nav button:last-child{grid-column:1/-1}
  .admin-sidebar nav button span{width:18px;font-size:17px;flex-shrink:0}
  .sidebar-bottom{align-items:center;padding-bottom:8px}
  .sidebar-bottom a,.sidebar-bottom button{min-height:44px;display:flex;align-items:center;font-size:12px}
  .admin-sidebar #admin-brand{max-width:250px}
  .admin-header .eyebrow{font-size:8px}
  .admin-header .quiet{font-size:12px}
  .admin-title h1{font-size:30px}
  .admin-title p,.admin-count{font-size:12px}
  .admin-title .button,.pagination .button,.inline-actions .button{min-height:44px;font-size:12px}
  .admin-toolbar select{max-width:none;flex:1 1 180px}
  .admin-form input,.admin-form select,.admin-form textarea,.login-card input{font-size:16px}
  .admin-form label,.login-card label{font-size:13px}
  .admin-form .check-label{align-items:flex-start;font-size:13px}
  .admin-form .check-label input{margin-top:3px}
  .admin-info{font-size:13px}
  .catalog-item h2{font-size:23px}
  .catalog-item p,.catalog-prices{font-size:13px}
  .catalog-item .button{min-height:44px;font-size:13px}
  .order-head{flex-wrap:wrap}
  .order-head-right{margin-left:auto}
  .order-name{font-size:17px}
  .order-summary{font-size:12px}
  .order-date{font-size:11px}
  .order-toggle{min-height:48px;font-size:12px}
  .order-detail dl{grid-template-columns:85px minmax(0,1fr);font-size:12px}
  .telegram-status{font-size:12px}
  .form-grid{grid-template-columns:minmax(0,1fr)}
  .login-card .quiet{font-size:13px}
}
@media(max-width:600px){
  :root{scroll-padding-top:20px}
  .wrap{width:calc(100% - 36px)}
  .site-header{height:78px;gap:12px}
  .site-header>.button{display:none}
  .brand{font-size:21px;gap:8px}
  .brand-mark{font-size:33px;flex-shrink:0}
  .brand [data-brand]{max-width:calc(100vw - 150px)}
  .hero{padding-top:30px;padding-bottom:30px;gap:28px}
  .hero .eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:20px}
  .hero h1{font-size:clamp(32px,10vw,46px);letter-spacing:-1.5px;margin-bottom:22px}
  .hero-description{font-size:15px;line-height:1.75;margin-bottom:25px}
  .hero-copy>.button{width:100%;min-height:54px;font-size:14px;justify-content:space-between}
  .hero-note{font-size:11px;line-height:1.7;margin-top:13px}
  .hero-art{aspect-ratio:1.02;max-width:480px;max-height:460px;border-radius:110px 110px 20px 20px}
  .hero-art .art-label{left:12px;right:12px;bottom:12px;padding:13px;gap:10px;font-size:12px}
  .art-label span:not(.label-icon){font-size:10px;line-height:1.6}
  .label-icon{font-size:26px;flex-shrink:0}
  .promise-strip{gap:16px 12px;padding-block:22px;font-size:11px;line-height:1.6}
  .promise-strip>span{align-items:flex-start;gap:8px}
  .promise-strip b{font-size:18px;line-height:1.3;flex-shrink:0}
  .section{padding-block:50px}
  .section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:28px}
  h2{font-size:clamp(28px,8.6vw,36px);letter-spacing:-1px;line-height:1.16}
  .section-intro{max-width:none;font-size:14px;line-height:1.75}
  .service-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .service-card{padding:24px;min-height:0}
  .service-card h3{font-size:23px}
  .service-card p{font-size:14px}
  .service-card ul{font-size:13px}
  .service-price{font-size:20px}
  .service-price small{font-size:12px}
  .calculator-section{padding-block:50px}
  .calculator-controls,.control-block,.quote-panel{min-width:0}
  .control-block h3{gap:12px;line-height:1.5;font-size:15px}
  .control-block h3>span{flex-shrink:0}
  .segmented button{min-height:48px;font-size:14px}
  .field-label{font-size:13px}
  select,input:not([type=checkbox]):not([type=range]),textarea{font-size:16px;min-width:0}
  .area-field input{font-size:25px!important}
  .area-field>span{font-size:14px}
  input[type=range]{height:32px;margin-block:0}
  .range-labels{font-size:11px}
  .control-block>.quiet{font-size:13px}
  .extra-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding-block:16px}
  .extra-row label{grid-column:1;gap:10px;font-size:14px;line-height:1.5}
  .extra-row input[type=checkbox]{width:20px;height:20px}
  .extra-row label span span{font-size:12px;margin-top:4px}
  .extra-price{grid-column:2;grid-row:1;font-size:12px;align-self:center}
  .quantity{grid-column:2;grid-row:2;justify-self:end;gap:4px}
  .extra-row:has(.quantity) label{grid-row:1 / span 2}
  .quantity button{width:44px;height:44px;font-size:18px}
  .quote-panel{padding:24px;border-radius:20px}
  .quote-total{font-size:clamp(36px,13vw,54px);letter-spacing:-2px}
  .quote-line{font-size:13px;gap:12px}
  .quote-disclaimer{font-size:12px}
  .quote-footnote{font-size:11px}
  .quote-panel .button{min-height:54px;font-size:14px;gap:16px}
  .minimum-note{font-size:11px}
  .demo-badge{font-size:11px}
  .steps-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .steps-grid p{font-size:14px;line-height:1.8}
  .steps-grid h3{font-size:18px}
  .faq-section{padding-bottom:50px}
  summary{font-size:14px;min-height:60px;padding-block:20px}
  .faq-list p{font-size:14px}
  .closing{padding:38px 20px}
  .closing h2{font-size:clamp(28px,8.6vw,37px)}
  .closing .button{width:100%;min-height:52px;font-size:13px;gap:15px}
  .footer-top{align-items:flex-start;gap:23px;padding-bottom:25px}
  .footer-bottom{align-items:flex-start;flex-wrap:wrap;gap:12px;font-size:11px}
  .footer-bottom .text-link{font-size:11px;min-height:32px}
  .contacts a{min-height:32px;display:flex;align-items:center;overflow-wrap:anywhere}
  .order-dialog{width:calc(100% - 20px);padding:30px 20px 24px;max-height:calc(100dvh - 20px);border-radius:20px;scroll-padding-block:16px}
  .order-dialog h2{font-size:32px;padding-right:15px}
  .order-dialog label{font-size:13px}
  .order-dialog .check-label{font-size:12px;line-height:1.7;gap:10px}
  .check-label input{width:20px;height:20px}
  .check-label .text-link{font-size:12px}
  .field-hint{font-size:11px}
  .order-dialog form>.button{min-height:54px;font-size:14px;gap:12px}
  .message{font-size:13px}
}
@media(max-width:380px){
  .wrap{width:calc(100% - 32px)}
  .hero h1{font-size:32px;letter-spacing:-1.4px}
  .hero-description{font-size:14px}
  .hero .eyebrow{font-size:8px;letter-spacing:1.1px}
  .hero-note{font-size:10px}
  .hero-art .art-label{padding:11px;gap:8px}
  .art-label span:not(.label-icon){font-size:9px}
  .extra-row{grid-template-columns:minmax(0,1fr);gap:8px}
  .extra-row label,.extra-row:has(.quantity) label{grid-column:1;grid-row:1}
  .extra-price{grid-column:1;grid-row:2;justify-self:start;padding-left:30px}
  .quantity{grid-column:1;grid-row:2;justify-self:end}
  .quantity button{width:40px;min-width:40px}
  .admin-main{padding-inline:14px}
  .admin-sidebar{padding-inline:14px}
  .admin-sidebar nav button{font-size:11px}
  .order-head-right{width:100%;margin:8px 0 0;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:10px}
  .order-amount{margin:0}
  .order-detail dl{grid-template-columns:minmax(0,1fr);gap:5px}
  .order-detail dd{margin-bottom:10px}
  .admin-card{padding:18px}
}
@media(max-height:500px) and (orientation:landscape){
  .order-dialog{max-height:calc(100dvh - 16px);margin-block:8px}
  .login-screen{justify-content:flex-start;padding-block:24px}
}

.brand-logo{display:block;width:44px;height:44px;object-fit:contain}.brand-mark{flex-shrink:0}.brand{min-width:0}.integration-indicator{flex-wrap:wrap}.integration-indicator a{overflow-wrap:anywhere}.inline-actions{flex-wrap:wrap}
.brand-logo-frame{display:block;position:relative;width:52px;height:52px;overflow:hidden;line-height:0;flex:none}
.brand-logo-frame .brand-logo{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain}
.brand-logo-frame[data-logo=svoi]{width:70px;height:40px}
.brand-logo-frame[data-logo=cleaning-kazan-rt]{width:64px;height:64px;border-radius:50%}
.brand-logo-frame[data-logo=cleaning-kazan-rt] .brand-logo{inset:auto;left:-60.6897%;top:-40.3448%;width:220.6897%;height:auto}
.brand-logo-frame[data-logo=dobryi-klining],.brand-logo-frame[data-logo=ecohome]{border-radius:50%}
.brand-logo-frame[data-logo=new-cleaning]{width:84px;height:28.21px;clip-path:ellipse(50% 50%)}
.brand-logo-frame[data-logo=new-cleaning] .brand-logo{inset:auto;left:-11.0687%;top:-70.4545%;width:122.1374%;height:auto}
.brand-logo-frame[data-logo=ecoclean116]{width:44.4px;height:48px}
.brand-logo-frame[data-logo=ecoclean116] .brand-logo{inset:auto;left:-37.8378%;top:-40%;width:172.973%;height:auto}
.brand-logo-frame[data-logo=bauer]{width:61.82px;height:48px;clip-path:polygon(0 0,100% 0,100% 72%,91.5% 72%,91.5% 82%,86% 82%,73% 100%,0 100%)}
.brand-logo-frame[data-logo=bauer] .brand-logo{inset:auto;left:-14.7059%;top:-9.0909%;width:188.2353%;height:auto}
.brand-logo-frame[data-logo=ab-cleaning-kaluga]{width:76px;height:48px}
.brand-logo-frame[data-logo=pureza]{width:76px;height:52px}

body:has(dialog[open]){overflow:hidden}
.skip-link{top:12px;transform:translateY(calc(-100% - 24px));opacity:0;pointer-events:none}
.skip-link:focus{transform:none;opacity:1;pointer-events:auto}
.service-card-bottom{flex-wrap:wrap}
.service-card-bottom .circle-button{margin-left:auto}
.order-dialog{max-width:480px}
@media(min-width:701px) and (max-width:1100px){
  .hero{grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:28px;align-items:center;padding-block:36px}
  .hero-copy{padding-top:0}
  .hero h1{font-size:clamp(36px,4.8vw,52px);letter-spacing:-2px}
  .hero-description{font-size:15px}
  .hero-bottom{display:none}
  .hero-art{min-height:0;max-width:none;aspect-ratio:.92;border-radius:120px 120px 22px 22px}
  .hero-art .art-label{inset:auto 12px 12px;padding:13px;gap:10px;font-size:12px}
  .art-label span:not(.label-icon){font-size:10px}
  .section-heading{align-items:flex-start}
}
@media(max-width:600px){
  .site-header{height:auto;min-height:76px;padding-block:12px}
  .site-header>.brand{flex:1;gap:10px}
  .site-header [data-brand]{flex:1;min-width:0;max-width:none;font-size:clamp(16px,4.6vw,20px);letter-spacing:-.5px;line-height:1.2;overflow-wrap:normal;text-wrap:balance}
  .site-header .brand-logo-frame,.footer .brand-logo-frame{width:44px;height:44px}
  .site-header [data-logo=cleaning-kazan-rt],.footer [data-logo=cleaning-kazan-rt]{width:48px;height:48px}
  .site-header [data-logo=svoi],.footer [data-logo=svoi]{width:58px;height:33.14px}
  .site-header [data-logo=new-cleaning],.footer [data-logo=new-cleaning]{width:70px;height:23.51px}
  .site-header [data-logo=ecoclean116],.footer [data-logo=ecoclean116]{width:37px;height:40px}
  .site-header [data-logo=bauer],.footer [data-logo=bauer]{width:51.52px;height:40px}
  .site-header [data-logo=ab-cleaning-kaluga],.footer [data-logo=ab-cleaning-kaluga]{width:66px;height:42px}
  .site-header [data-logo=pureza],.footer [data-logo=pureza]{width:64px;height:44px}
  .menu-toggle{width:44px;height:44px}
  .mobile-nav{top:calc(100% + 6px);max-height:calc(100dvh - 100px);overflow:auto}
  .hero{gap:24px;padding-top:26px}
  .hero h1{font-size:clamp(36px,10vw,46px);text-wrap:balance}
  .hero-description{line-height:1.65}
  .hero-art{aspect-ratio:1.25;max-height:360px;border-radius:100px 100px 20px 20px}
  .hero-art .room-art{object-position:50% 58%}
  .service-card{padding:22px}
  .service-card h3{font-size:22px}
  .segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .extra-row:has(.quantity){grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
  .extra-row:has(.quantity) label{grid-column:1/-1;grid-row:1}
  .extra-row:has(.quantity) .extra-price{grid-column:1;grid-row:2;justify-self:start;padding-left:30px}
  .extra-row .quantity{grid-column:2;grid-row:2}
  .quantity button{width:44px;min-width:44px;height:44px}
  .quote-total{line-height:1.2}
  .footer .brand{width:100%;gap:10px;font-size:18px;letter-spacing:-.5px}
  .footer .brand [data-brand]{max-width:none;flex:1;text-wrap:balance}
  .order-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:24px 20px;scroll-padding-block:20px}
  .order-dialog .dialog-close{position:sticky;top:0;display:flex;align-items:center;justify-content:center;margin:-12px -8px -32px auto;z-index:2;background:#fff;border:1px solid var(--line);border-radius:50%;line-height:1}
  .order-dialog>.eyebrow,.order-dialog #order-content>.eyebrow{padding-right:40px}
  .order-dialog h2{font-size:clamp(28px,8vw,34px);letter-spacing:-1px;line-height:1.15;padding-right:28px}
  .order-dialog input,.order-dialog select,.order-dialog textarea{max-width:100%;font-size:16px}
  .order-dialog input[type=date]{display:block;min-height:50px}
  .order-dialog .check-label{align-items:flex-start}
  .order-dialog .check-label input{flex:none;margin-top:3px}
  .order-dialog form>.button{padding-inline:20px}
}
