

/* Start:/bitrix/templates/floor/components/bitrix/news/services/bitrix/news.detail/.default/style.css?178084524610558*/
.hd-service-detail {
    --hd-bg: #f7f8fa;
    --hd-card: #fff;
    --hd-text: #1f1f22;
    --hd-muted: #6f7278;
    --hd-line: #e7e9ee;
    --hd-accent: #e6004f;
    --hd-accent-dark: #c90045;
    --hd-accent-soft: #ffedf4;
    --hd-radius-xl: 28px;
    --hd-radius-lg: 18px;
    --hd-radius-md: 12px;
    --hd-shadow: 0 14px 36px rgba(20, 20, 20, .08);

    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 20px 56px;
    color: var(--hd-text);
}

.hd-service-hero {
    position: relative;
    border-radius: var(--hd-radius-xl);
    overflow: hidden;
    box-shadow: var(--hd-shadow);
    margin-bottom: 22px;
    min-height: 360px;
}

.hd-service-hero__media {
    position: absolute;
    inset: 0;
}

.hd-service-hero__media img,
.hd-service-hero__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eceef2;
}

.hd-service-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, .22) 0%, rgba(20, 20, 20, .45) 65%, rgba(20, 20, 20, .6) 100%);
}

.hd-service-hero__content {
    position: relative;
    z-index: 2;
    padding: 28px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
}

.hd-service-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.hd-service-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(4px);
}

.hd-service-state {
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.hd-service-state.is-active { background: rgba(230, 0, 79, .94); }
.hd-service-state.is-finished { background: rgba(90, 92, 97, .88); }

.hd-service-title {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    font-weight: 800;
}

.hd-service-dates {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    opacity: .92;
}

.hd-service-lead {
    margin: 0 0 18px;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.5;
    opacity: .95;
}

.hd-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hd-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
}

.hd-service-btn--primary {
    background: linear-gradient(135deg, var(--hd-accent), var(--hd-accent-dark));
    color: #fff;
}
.hd-service-btn--primary:hover { transform: translateY(-1px); color: #fff; }

.hd-service-btn--secondary {
    background: rgba(255, 255, 255, .94);
    color: #24262b;
}
.hd-service-btn--secondary:hover { background: #fff; color: #111; }

.hd-service-content-wrap {
    background: var(--hd-card);
    border: 1px solid var(--hd-line);
    border-radius: var(--hd-radius-xl);
    box-shadow: var(--hd-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.hd-service-content {
    color: var(--hd-text);
}

.hd-service-content h2,
.hd-service-content h3,
.hd-service-content h4 {
    margin: 20px 0 12px;
    line-height: 1.2;
    font-weight: 800;
    color: #18191d;
}

.hd-service-content h2 {
    font-size: 26px;
    border-left: 4px solid var(--hd-accent);
    padding-left: 12px;
}

.hd-service-content p {
    margin: 0 0 10px;
    line-height: 1.58;
    color: #2e3036;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 12px 14px;
}

.hd-service-content ul,
.hd-service-content ol {
    margin: 0 0 14px 20px;
    color: #34363d;
}

.hd-service-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--hd-line);
}
.hd-service-content table td,
.hd-service-content table th {
    border-bottom: 1px solid var(--hd-line);
    padding: 12px;
    text-align: left;
}

.hd-service-content a {
    color: var(--hd-accent-dark);
    text-decoration: none;
    border-bottom: 1px dashed rgba(201, 0, 69, .35);
}
.hd-service-content a:hover {
    color: var(--hd-accent);
}

/* Прайс-блок внутри текста услуги */
.hd-service-content .service-prices {
    display: grid;
    gap: 18px;
}

.hd-service-content .service-prices__intro,
.hd-service-content .service-prices__note {
    margin: 0;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 12px;
    line-height: 1.6;
}

.hd-service-content .service-prices__group {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 14px;
    padding: 14px;
}

.hd-service-content .service-prices__group h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.hd-service-content .service-prices__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.hd-service-content .service-prices__list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 11px 12px;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    background: #fcfdff;
}

.hd-service-content .service-prices__list li span {
    color: #2c2f35;
    line-height: 1.45;
}

.hd-service-content .service-prices__list li strong {
    white-space: nowrap;
    font-weight: 800;
    color: #1f2228;
}

/* Калькулятор */
.hd-service-calc {
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid var(--hd-line);
    border-radius: var(--hd-radius-xl);
    background: #fff;
    box-shadow: var(--hd-shadow);
}

.hd-service-calc h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 800;
}

.hd-service-calc__lead {
    margin: 0 0 14px;
    color: var(--hd-muted);
}

.hd-service-calc__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.hd-service-calc label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #2b2d33;
}

.hd-service-calc input,
.hd-service-calc select {
    height: 42px;
    border: 1px solid #dde2ea;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
}

.hd-service-calc input:focus,
.hd-service-calc select:focus {
    border-color: rgba(230, 0, 79, .45);
    box-shadow: 0 0 0 3px rgba(230, 0, 79, .08);
}

.hd-service-calc__checks {
    margin: 8px 0 14px;
}
.hd-service-calc__checks label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.hd-service-calc__checks input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.hd-service-calc__result {
    display: grid;
    gap: 8px;
}
.hd-service-calc__result > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #eef1f5;
    border-radius: 10px;
    background: #fcfdff;
}
.hd-service-calc__result > div span {
    color: #444853;
}
.hd-service-calc__result > div strong {
    color: #171a1f;
    font-weight: 800;
}
.hd-service-calc__result .total {
    border-color: rgba(230, 0, 79, .35);
    background: #fff5f9;
}
.hd-service-calc__result .total strong {
    color: var(--hd-accent-dark);
    font-size: 18px;
}

.hd-service-calc__note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--hd-muted);
}

.hd-service-cta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, #fff, #fff7fa);
    border: 1px solid var(--hd-line);
    border-radius: var(--hd-radius-xl);
    padding: 24px;
    box-shadow: var(--hd-shadow);
}

.hd-service-cta h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.12;
}
.hd-service-cta p {
    margin: 0;
    color: var(--hd-muted);
}
.hd-service-cta__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
.hd-service-cta__contacts span {
    font-size: 13px;
    color: var(--hd-muted);
    text-align: right;
}

@media (max-width: 980px) {
    .hd-service-detail { padding: 8px 14px 46px; }
    .hd-service-hero,
    .hd-service-hero__content { min-height: 320px; }

    .hd-service-calc__grid {
        grid-template-columns: 1fr;
    }

    .hd-service-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .hd-service-cta__contacts {
        align-items: flex-start;
    }
    .hd-service-cta__contacts span {
        text-align: left;
    }
}

@media (max-width: 680px) {
    .hd-service-content .service-prices__list li {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .hd-service-hero__content { padding: 20px; }
    .hd-service-title { font-size: 28px; }
    .hd-service-lead { font-size: 14px; }
    .hd-service-content-wrap { padding: 16px; border-radius: 18px; }
    .hd-service-content h2 { font-size: 22px; }
    .hd-service-content p { font-size: 14px; padding: 10px 12px; }

    .hd-service-calc {
        padding: 16px;
        border-radius: 18px;
    }
}
/* бейджи внутри калькулятора */
.hd-service-calc__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.hd-calc-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #4a4f57;
    background: #f3f5f8;
    border: 1px solid #e7eaf0;
}

.hd-calc-badge.is-main {
    color: #c90045;
    background: #ffedf4;
    border-color: rgba(230, 0, 79, .22);
}

/* немного отличаем профили услуг */
.hd-service-detail.floor-laminate .hd-calc-badge.is-main {
    color: #8a5a2d;
    background: #fff4ea;
    border-color: rgba(138, 90, 45, .22);
}
.hd-service-detail.floor-linoleum .hd-calc-badge.is-main {
    color: #2e6c66;
    background: #eaf8f5;
    border-color: rgba(46, 108, 102, .22);
}
.hd-service-detail.door-interior .hd-calc-badge.is-main,
.hd-service-detail.door-entrance .hd-calc-badge.is-main {
    color: #3a3f47;
    background: #f1f3f6;
    border-color: rgba(58, 63, 71, .2);
}
/* End */
/* /bitrix/templates/floor/components/bitrix/news/services/bitrix/news.detail/.default/style.css?178084524610558 */
