.door-service-hero__actions { margin-top: 20px; }
#calculator-vskrytie-dverej { scroll-margin-top: 90px; }

.door-page-section { padding: 78px 0; }
.door-page-section__head { max-width: 860px; margin: 0 auto 36px; text-align: center; }
.door-page-section__head h2 { margin: 0 0 14px; color: #171717; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.12; text-transform: none; }
.door-page-section__head p { margin: 0; color: #606060; font-size: 16px; line-height: 1.65; }

.door-types-section { background: #f6f6f4; }
.door-types-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.door-type-card { overflow: hidden; min-height: 395px; border: 1px solid #dededb; border-radius: 20px; background: #fff; box-shadow: 0 13px 34px rgba(19, 19, 19, .055); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.door-type-card:hover { transform: translateY(-5px); border-color: #e5b600; box-shadow: 0 20px 44px rgba(19, 19, 19, .1); }
.door-type-card__visual { position: relative; display: flex; height: 150px; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #e5e5e2; background: linear-gradient(145deg, #ededeb, #fafaf9); }
.door-type-card__visual::before { position: absolute; width: 78px; height: 114px; border: 5px solid #2a2a2a; border-bottom-width: 8px; border-radius: 4px 4px 2px 2px; background: #fff; box-shadow: inset -14px 0 0 #efefed; content: ""; }
.door-type-card__visual::after { position: absolute; left: calc(50% + 19px); width: 8px; height: 8px; border-radius: 50%; background: #f5b900; content: ""; }
.door-type-card__visual i { position: absolute; z-index: 1; right: calc(50% - 68px); bottom: 20px; display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: #171717; color: #f5b900; font-size: 21px; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.door-type-card__body { display: flex; min-height: 244px; flex-direction: column; padding: 24px 25px 22px; }
.door-type-card h3 { margin: 0 0 10px; color: #171717; font-size: 21px; line-height: 1.25; }
.door-type-card p { margin: 0; color: #5c5c5c; font-size: 14px; line-height: 1.6; }
.door-type-card__meta { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 18px; color: #242424; font-size: 12px; font-weight: 700; line-height: 1.45; }
.door-type-card__meta::before { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #f5b900; content: ""; }
.door-page-inline-note { display: flex; align-items: center; gap: 12px; margin: 30px 0 0; padding: 18px 22px; border: 1px solid #dededb; border-radius: 15px; background: #fff; color: #333; font-size: 14px; line-height: 1.55; }
.door-page-inline-note i { flex: 0 0 auto; color: #f5b900; font-size: 23px; }
.door-page-inline-note strong { color: #171717; }
.door-page-inline-note a { color: #171717; font-weight: 700; text-decoration: underline; text-decoration-color: #f5b900; text-underline-offset: 3px; }

.door-reasons-section { background: #fff; }
.door-reasons-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.door-reason-item { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 23px 24px; border: 1px solid #e2e2df; border-radius: 16px; background: #fafaf9; }
.door-reason-item__icon { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 50%; background: #171717; color: #f5b900; font-size: 21px; }
.door-reason-item h3 { margin: 1px 0 7px; color: #171717; font-size: 19px; line-height: 1.3; }
.door-reason-item p { margin: 0; color: #5b5b5b; font-size: 13px; line-height: 1.55; }
.door-reason-item small { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid #e2e2df; color: #252525; font-size: 11px; font-weight: 700; line-height: 1.45; }
.door-expert-note { margin-top: 28px; padding: 24px 27px; border-left: 4px solid #f5b900; border-radius: 0 14px 14px 0; background: #242424; color: rgba(255, 255, 255, .78); }
.door-expert-note strong { display: block; margin-bottom: 7px; color: #fff; font-size: 15px; }
.door-expert-note p { margin: 0; font-size: 13px; line-height: 1.6; }
.door-expert-note__result { margin-top: 10px !important; color: #fff; font-weight: 600; }

.door-prices-section { background: #f6f6f4; }
.door-prices-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 24px; align-items: stretch; }
.door-price-card,
.door-price-factors { border: 1px solid #dededb; border-radius: 20px; box-shadow: 0 15px 38px rgba(19, 19, 19, .065); }
.door-price-card { padding: 8px 30px 27px; background: #fff; }
.door-price-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid #e7e7e4; color: #2c2c2c; font-size: 15px; }
.door-price-row strong { flex: 0 0 auto; color: #171717; font-size: 17px; text-align: right; }
.door-price-row strong.is-diagnostic { max-width: 170px; color: #686868; font-size: 13px; line-height: 1.35; }
.door-price-card__note { margin: 20px 0 17px; color: #666; font-size: 12px; line-height: 1.55; }
.door-price-card__action { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 19px; border: 2px solid #f5b900; border-radius: 4px; background: #f5b900; color: #111; font-weight: 700; }
.door-price-card__action:hover,
.door-price-card__action:focus { background: #ffd23f; color: #111; text-decoration: none; }
.door-price-factors { padding: 27px 26px; background: #202020; color: #fff; }
.door-price-factors h3 { margin: 0 0 18px; color: #fff; font-size: 23px; }
.door-price-factor { display: grid; grid-template-columns: 10px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.door-price-factor::before { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: #f5b900; content: ""; }
.door-price-factor strong { display: block; margin-bottom: 4px; color: #fff; font-size: 14px; }
.door-price-factor p { margin: 0; color: rgba(255, 255, 255, .65); font-size: 12px; line-height: 1.5; }

.door-calculator-position { background: #fff; }
.door-calculator-position .home-opening-calculator { margin-bottom: 0; }
.door-opening-calculator__hint { margin: 12px 0 0; color: #6a6a6a; font-size: 11px; line-height: 1.5; }
.door-opening-calculator__hint i { margin-right: 5px; color: #c19000; }
.door-opening-calculator__actions { align-items: stretch; flex-direction: column; }
.door-opening-calculator__photo { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 11px 15px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.door-opening-calculator__photo:hover,
.door-opening-calculator__photo:focus { border-color: #fff; background: #fff; color: #171717; text-decoration: none; }

.door-preservation-section { background: #f6f6f4; }
.door-preservation-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr); gap: 28px; align-items: stretch; }
.door-preservation-situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.door-preservation-situation { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 23px 21px; border: 1px solid #dededb; border-radius: 16px; background: #fff; }
.door-preservation-situation > span { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: #f5b900; color: #171717; font-size: 12px; font-weight: 800; }
.door-preservation-situation h3 { margin: 1px 0 8px; color: #171717; font-size: 18px; line-height: 1.3; }
.door-preservation-situation p { margin: 0; color: #5e5e5e; font-size: 13px; line-height: 1.58; }
.door-preservation-card { padding: 28px 27px; border-radius: 20px; background: #222; box-shadow: 0 18px 40px rgba(15, 15, 15, .12); color: #fff; }
.door-preservation-card > h3 { margin: 0 0 19px; color: #fff; font-size: 24px; line-height: 1.25; }
.door-preservation-item { display: grid; grid-template-columns: 40px 1fr; gap: 13px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.door-preservation-item > i { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(245, 185, 0, .12); color: #f5b900; font-size: 16px; }
.door-preservation-item strong { display: block; margin-bottom: 4px; color: #fff; font-size: 14px; }
.door-preservation-item p { margin: 0; color: rgba(255, 255, 255, .67); font-size: 12px; line-height: 1.55; }
.door-preservation-important { display: flex; align-items: flex-start; gap: 18px; margin-top: 24px; padding: 20px 23px; border: 1px solid #dededb; border-left: 4px solid #f5b900; border-radius: 0 14px 14px 0; background: #fff; }
.door-preservation-important strong { flex: 0 0 auto; color: #171717; font-size: 15px; }
.door-preservation-important p { margin: 0; color: #555; font-size: 13px; line-height: 1.6; }

.door-diagnostics-section { overflow: hidden; background: #fff; }
.door-diagnostics-timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.door-diagnostics-timeline::before { position: absolute; z-index: 0; top: 34px; right: 8%; left: 8%; height: 2px; background: #f5b900; content: ""; }
.door-diagnostics-step { position: relative; z-index: 1; min-width: 0; }
.door-diagnostics-step__marker { display: flex; width: 68px; height: 68px; align-items: center; justify-content: center; margin-bottom: 22px; border: 2px solid #f5b900; border-radius: 50%; background: #fff; color: #171717; box-shadow: 0 8px 22px rgba(19, 19, 19, .08); }
.door-diagnostics-step__marker span { font-size: 17px; font-weight: 800; line-height: 1; }
.door-diagnostics-step__marker i { margin-left: 6px; color: #c18f00; font-size: 13px; }
.door-diagnostics-step h3 { min-height: 52px; margin: 0 0 10px; color: #171717; font-size: 18px; line-height: 1.38; }
.door-diagnostics-step p { margin: 0 0 13px; color: #5c5c5c; font-size: 13px; line-height: 1.6; }
.door-diagnostics-step small { display: block; padding-top: 12px; border-top: 1px solid #e4e4e1; color: #282828; font-size: 11px; font-weight: 700; line-height: 1.5; }

@media (max-width: 991px) {
    .door-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .door-prices-layout { grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr); }
    .door-preservation-layout { grid-template-columns: 1fr; }
    .door-diagnostics-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
    .door-diagnostics-timeline::before { display: none; }
}

@media (max-width: 767px) {
    .door-page-section { padding: 54px 0; }
    .door-page-section__head { margin-bottom: 27px; text-align: left; }
    .door-page-section__head h2 { font-size: 31px; }
    .door-page-section__head p { font-size: 14px; }
    .door-types-grid,
    .door-reasons-grid,
    .door-prices-layout,
    .door-preservation-situations { grid-template-columns: 1fr; }
    .door-type-card { min-height: 0; }
    .door-type-card__body { min-height: 228px; }
    .door-page-inline-note { align-items: flex-start; }
    .door-reason-item { grid-template-columns: 46px 1fr; padding: 19px 17px; }
    .door-reason-item__icon { width: 46px; height: 46px; font-size: 18px; }
    .door-price-card { padding: 4px 18px 23px; }
    .door-price-row { align-items: flex-start; padding: 17px 0; font-size: 13px; }
    .door-price-row strong { font-size: 14px; }
    .door-price-row strong.is-diagnostic { max-width: 125px; font-size: 11px; }
    .door-price-card__action { width: 100%; }
    .door-calculator-position { padding-top: 55px; padding-bottom: 55px; }
    .door-calculator-position .home-opening-calculator { padding: 24px 16px; }
    .door-preservation-important { flex-direction: column; gap: 7px; }
    .door-diagnostics-timeline { display: block; }
    .door-diagnostics-timeline::before { display: block; top: 34px; bottom: 34px; left: 33px; width: 2px; height: auto; }
    .door-diagnostics-step { min-height: 0; padding: 0 0 32px 94px; }
    .door-diagnostics-step:last-child { padding-bottom: 0; }
    .door-diagnostics-step__marker { position: absolute; top: 0; left: 0; margin: 0; }
    .door-diagnostics-step h3 { min-height: 0; padding-top: 5px; font-size: 19px; }
}
