/* KROFI · замена кровли · локальная страница, ширина содержимого до 1200 px. */
.replacement-page .replacement-hero .hero-photo{background-image:url('../images/replace-hero.webp');background-position:63% center}
.replacement-page .hero-copy{max-width:780px}.replacement-page .hero-lead{font-size:clamp(22px,2.1vw,29px);line-height:1.4}
.replacement-page .hero-description{max-width:620px}
.replacement-page .replacement-help{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:7px;margin:24px 0 16px}
.replacement-help>p{display:flex;align-items:center;gap:16px;font-size:20px;font-weight:600}.replacement-help>p .i{width:34px;height:34px;color:var(--accent);flex-shrink:0}
.replacement-pair{display:grid;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);align-items:center;gap:18px;margin:30px 0}
.replacement-pair-card{padding:24px;min-width:0;overflow:hidden}.replacement-pair-card .eyebrow{font-size:14px}.replacement-pair-card h3{font-size:27px;line-height:1.25;margin:8px 0 20px;min-height:34px;overflow-wrap:anywhere}
.pair-picture{width:100%;aspect-ratio:1.8;overflow:hidden;background:#eae3d9;margin-bottom:20px;border-radius:4px}.pair-picture img{height:100%;width:100%;object-fit:cover;transition:transform .25s}
.replacement-pair-card:hover .pair-picture img{transform:scale(1.02)}.replacement-pair-card>.btn{width:100%;font-size:16px;padding:12px}
.pair-arrow{display:flex;justify-content:center;color:var(--accent)}.pair-arrow .i{width:36px;height:36px}
.replacement-page .new-material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.replacement-page .new-material-grid .card-photo{height:120px}.replacement-page .new-material-grid .choice-label{font-size:17px;min-height:56px}
.material-texture{display:block;width:100%;height:100%;background-color:#68544b;background-size:60px 45px;background-image:radial-gradient(ellipse at 50% 0%,#a4623c 35%,#503e31 40%,#c78e62 48%,#715244 53%,#755342 70%)}
.material-texture.texture-composite{background-color:#54453e;background-image:radial-gradient(ellipse at 50% 0%,#6c594d 35%,#332d28 40%,#b69e7f 48%,#655146 53%,#51453c 70%)}
.replacement-pair-cta{display:flex;gap:28px;justify-content:space-between;align-items:center;margin-top:22px}.replacement-pair-cta>p{font-size:16px;max-width:620px;color:var(--muted)}.replacement-pair-cta>.btn{flex-shrink:0;font-size:17px}
.replacement-page .point-base{left:46%;top:31%}.replacement-page .point-frame{left:63%;top:58%}.replacement-page .point-insulation{left:48%;top:66%}.replacement-page .point-junctions{left:75%;top:26%}
.replacement-checks{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:28px;margin-top:28px;border-top:1px solid var(--line);font-size:17px}.replacement-checks>b{font-size:24px;color:var(--accent)}
.replacement-cost-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.replacement-cost-notes>p{display:flex;align-items:center;gap:16px;background:var(--surface);padding:18px;border:1px solid var(--line);border-radius:5px;font-size:17px}.replacement-cost-notes .i{width:30px;height:30px;flex-shrink:0;color:var(--accent)}.replacement-cost-notes b{display:block}
.replacement-page .catalog-photo{width:52px;height:52px;object-fit:cover;border-radius:4px;flex-shrink:0}.replacement-page .catalog-actions{display:flex;gap:14px;justify-content:space-between;padding-top:18px;margin-top:18px;border-top:1px solid var(--line);background:var(--surface);position:sticky;bottom:-1px}.replacement-page .catalog-actions .btn{font-size:16px;padding:12px 18px}.replacement-page .catalog-choice[aria-pressed=true]{border-color:var(--accent);background:#f9eee7}.replacement-page .catalog-choice .i{flex-shrink:0}
.replacement-page .calc-progress li:first-child button{white-space:nowrap}.replacement-page .calc-footer #calc-submit{min-width:190px}
@media(max-width:1000px){.replacement-pair{grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:12px}.replacement-pair-card{padding:18px}.replacement-pair-card h3{font-size:23px}.replacement-pair-cta{align-items:flex-start;flex-direction:column;gap:16px}.replacement-checks{gap:10px;flex-wrap:wrap;justify-content:flex-start}.replacement-help>.btn{font-size:16px;flex-shrink:0}}
@media(max-width:700px){
 .replacement-page .hero-lead{font-size:22px}.replacement-page .hero-copy h1{font-size:38px}
 .replacement-page .calc-progress{padding:10px 12px;min-height:48px}.replacement-page .calc-progress li{font-size:14px}.replacement-page .calc-progress li:first-child button{font-size:14px;gap:6px}.replacement-page .calc-progress li>span,.replacement-page .calc-progress li button>span{width:26px;height:26px;font-size:14px}.replacement-page .calc-progress li:first-child{gap:6px}
 .replacement-page .calc-scroll{padding:10px 12px 14px}.replacement-page .question-heading h3{font-size:22px}.replacement-page .question-heading p{font-size:14px}
 .replacement-page .problem-choice .choice-label{font-size:16px;overflow-wrap:normal;hyphens:auto;padding:8px 6px}.replacement-page .problem-choice .card-photo{height:60px}
 .replacement-page .calc-footer{padding:9px 12px}.replacement-page .calc-footer #calc-submit{min-width:0;padding:10px;font-size:16px}.replacement-page .calc-local-note{font-size:14px}.replacement-page .calc-footer .back-button{min-width:48px;font-size:14px}
 .replacement-page.calc-active.short-viewport .section-nav{display:none}.replacement-page.calc-active.short-viewport .calc-panel{height:calc(var(--viewport-height) - var(--header-height) - 24px);max-height:none}.replacement-page.calc-active.short-viewport .calc-progress{padding-block:7px;min-height:42px}.replacement-page.calc-active.short-viewport .question-heading p{display:none}
 .replacement-page .replacement-help{flex-direction:column;align-items:stretch;padding:20px;gap:16px}.replacement-help>p{font-size:18px}.replacement-help .btn{font-size:16px}
 .replacement-pair{grid-template-columns:1fr;gap:12px;margin:22px 0}.pair-arrow{transform:rotate(90deg);height:28px}.pair-arrow .i{width:28px;height:28px}.replacement-pair-card h3{font-size:24px;min-height:0}.pair-picture{aspect-ratio:2.3}.replacement-pair-card{padding:18px}
 .replacement-page .new-material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.replacement-page .new-material-grid .card-photo{height:88px}.replacement-page .new-material-grid .choice-label{font-size:16px;padding:9px;min-height:62px}.replacement-page .new-material-grid .choice-status{display:none}
 .replacement-page .replacement-pair-cta>.btn{font-size:16px;width:100%;padding:12px}.replacement-pair-cta>p{font-size:16px}.replacement-cost-notes{grid-template-columns:1fr;gap:10px}.replacement-cost-notes>p{font-size:16px;padding:16px}
 .replacement-checks{font-size:16px;justify-content:flex-start;row-gap:12px}.replacement-checks>span{max-width:120px}.replacement-checks>b{font-size:20px}
 .replacement-page .catalog-actions{flex-direction:column-reverse;gap:8px;padding-top:12px}.replacement-page .catalog-actions .btn{width:100%}.replacement-page .catalog-photo{width:42px;height:42px}
}
@media(max-width:360px){.replacement-page .hero-copy h1{font-size:34px}.replacement-page .calc-progress{padding-inline:8px}.replacement-page .calc-progress li:first-child button{font-size:14px}.replacement-page .calc-progress li>b{font-size:14px}.replacement-page .calc-progress li button>span,.replacement-page .calc-progress li>span{width:23px;height:23px}.replacement-page .question-heading h3{font-size:20px}}
@media(prefers-reduced-motion:reduce){.replacement-page .replacement-pair-card:hover .pair-picture img{transform:none}.replacement-page *{scroll-behavior:auto!important}}

.progress-label-short{display:none}
@media(max-width:700px){.replacement-page .progress-label-long{display:none}.replacement-page .progress-label-short{display:inline}.replacement-page .request-context{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;max-width:100%;padding-bottom:4px}.replacement-page .context-chip{display:flex;flex:0 0 auto;max-width:220px;min-width:0;white-space:nowrap}.context-chip-text{overflow:hidden;text-overflow:ellipsis}.replacement-page.calc-active.short-viewport #calc-contact-step>.question-heading{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.replacement-page.calc-active.short-viewport #calc-contact-step .request-context{margin-bottom:6px}.replacement-page.calc-active.short-viewport #calc-contact-step .channels{margin-bottom:10px;gap:6px}.replacement-page.calc-active.short-viewport #calc-contact-step .channel{min-height:42px;padding:6px}.replacement-page.calc-active.short-viewport #calc-contact-step .field>span{margin-bottom:4px}}

@media(max-width:380px){.replacement-page .calc-footer #calc-submit{white-space:nowrap;padding:10px 5px}.replacement-page .calc-footer .back-button{min-width:42px}.replacement-page .calc-footer{gap:6px}.replacement-page.calc-active.short-viewport .calc-scroll{padding-top:8px}.replacement-page.calc-active.short-viewport #calc-contact-step .request-context{margin-bottom:2px}.replacement-page.calc-active.short-viewport #calc-contact-step .channels{margin-bottom:4px}}
