/* /assets/css/style.css */
@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/vendor/fonts/geologica/geologica-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/vendor/fonts/geologica/geologica-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/vendor/fonts/geologica/geologica-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Geologica';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/vendor/fonts/geologica/geologica-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* --dh-blue: #0b5ed7; */
    --dh-act: #25a8ff;
    --dh-blue: #182c5c;
    --dh-dark: #071c3c;
    --dh-text: #10233f;
    --dh-muted: #617089;
    --dh-border: #dce6f2;
    --dh-soft: #eef6ff;
    --dh-orange: #ffae18;
    --dh-yellow: yellow;
    --dh-radius: 22px;
    --page-gutter: clamp(24px, 4vw, 60px);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Geologica", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dh-text);
    background: #fff;
}

body.modal-open {
    padding-right: 0 !important;
}

.text-orange {
    color: var(--dh-orange);
}

.navbar {
    background: transparent;
    border-bottom: 0;
    padding: 10px 0 0;
    backdrop-filter: none;
}

.navbar > .container,
.navbar > .container-fluid {
    width: calc(100% - (var(--page-gutter) * 2));
    max-width: none;
    margin: 0 auto;
    background: var(--dh-dark);
    border-radius: 4px;
    padding: 10px 18px;
    /* box-shadow: 0 8px 15px rgba(8, 34, 73, 0.22); */
}

.navbar .brand-mark {
    background: #fff;
    color: var(--dh-blue);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .12);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .22);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dh-dark);
    color: #fff;
    font-weight: 900;
    font-size: 1.35rem;
}


.navbar-logo {
    display: block;
    width: 260px;
    height: auto;
}

@media (max-width: 991.98px) {
    .navbar-logo {
        width: 190px;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo {
        width: 160px;
    }
}


.section-checklist {
    padding-top: 140px;
    padding-bottom: 140px;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .08) 0%,
            rgba(255, 255, 255, .18) 52%,
            rgba(255, 255, 255, .45) 100%
        ),
        url('/assets/img/bg_3.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.checklist-card {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(8px);
}

.checklist-title {
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
}

@media (max-width: 991.98px) {
    .section-checklist {
        padding-top: 90px;
        padding-bottom: 90px;
    }
}

@media (max-width: 767.98px) {
    .section-checklist {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .checklist-title {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
    }
}

/* Кнопки */
.btn,
.btn-primary,
.btn-outline-primary,
.btn-light {
    position: relative;
    isolation: isolate;
    background: #FBD148 !important;
    color: #000 !important;
    box-sizing: border-box;
    border: 0 !important;
    outline: 0;
    padding: 1rem 3rem;
    font-family: inherit;
    font-size: 1em;
    font-weight: 800;
    line-height: 1.2;
    border-radius: 0;
    box-shadow: none !important;
    cursor: pointer;
    text-decoration: none;
    transition: .25s ease;
    z-index: 1;
    transform: translate(-5px, -5px);
}

.btn::before,
.btn-primary::before,
.btn-outline-primary::before,
.btn-light::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #FBD148;
    z-index: -1;
}

.btn::after,
.btn-primary::after,
.btn-outline-primary::after,
.btn-light::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgb(84, 84, 84);
    transform: translate(5px, 5px);
    transition: .25s ease;
    z-index: -2;
}

.btn:hover,
.btn-primary:hover,
.btn-outline-primary:hover,
.btn-light:hover {
    color: #000 !important;
    background: transparent !important;
    transform: translate(0, 0);
}

.btn:hover::after,
.btn-primary:hover::after,
.btn-outline-primary:hover::after,
.btn-light:hover::after {
    transform: translate(-5px, -5px);
}

/* Первая секция */

.hero-section-1 {
    position: relative;
    min-height: 100vh;
    padding-top: 76px;
    padding-bottom: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .76) 0%,
            rgba(255, 255, 255, .64) 26%,
            rgba(255, 255, 255, .32) 42%,
            rgba(255, 255, 255, .08) 56%,
            rgba(255, 255, 255, 0) 68%
        ),
        url('/assets/img/section_1_1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-desktop-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
}

.hero-content {
    max-width: 610px;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--dh-dark);
    font-size: clamp(2.3rem, 4vw, 4.4rem);
    line-height: 1.06;
}

.hero-subtitle {
    max-width: 560px;
    color: var(--dh-muted);
    font-size: 1.1rem;
    line-height: 1.55;
}

.hero-feature-list {
    max-width: 580px;
}

.hero-feature-list li {
    align-items: center;
    color: #173052;
    font-size: 1rem;
    font-weight: 600;
}

.hero-feature-list i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(11, 94, 215, .10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex: 0 0 auto;
}

.hero-quick-info .info-card {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 34px rgba(16, 35, 63, .08);
}

.hero-mobile-image {
    display: none;
}

.hero-mobile-overlay,
.hero-actions-mobile,
.hero-feature-list-mobile {
    display: none;
}

/* Общие секции */

.section-title {
    color: var(--dh-dark);
    line-height: 1.06;
    font-size: clamp(2rem, 3vw, 3.1rem);
}

.section-kicker {
    color: var(--dh-act);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 600;
}

.section-lead {
    color: var(--dh-muted);
    font-size: 1.1rem;
}

.section-padding {
    padding: 86px 0;
}

.feature-list,
.spec-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.feature-list li,
.spec-list li,
.check-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.feature-list i,
.spec-list i,
.check-list i {
    color: var(--dh-blue);
    flex: 0 0 auto;
}

.feature-list i {
    font-size: 1.35rem;
}

.card-soft,
.product-card,
.lead-card,
.info-card {
    border-radius: var(--dh-radius);
    background: #fff;
    box-shadow: 0 14px 42px rgba(16, 35, 63, .07);
}

.card-soft {
    background: linear-gradient(135deg, var(--dh-soft), #f8fbff);
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* height: 270px; */
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-icon {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0;
    z-index: 2;
}

.floating-icon img {
    width: 24px;
    height: 24px;
}

.floating-icon:focus {
    outline: none;
}

.floating-icon:focus-visible {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25);
}

.product-image {
    position: relative;
}

.hero-visual {
    min-height: 500px;
}

.form-control,
.form-select {
    border-radius: 12px;
    border-color: #cfdae8;
    padding: .86rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(11,94,215,.72);
    box-shadow: 0 0 0 .22rem rgba(11,94,215,.12);
}

.lead-card {
    position: sticky;
    top: 92px;
}

.app-card {
    border: 1px solid var(--dh-border);
    border-radius: 18px;
    background: #fff;
    padding: 22px 14px;
    height: 100%;
    text-align: center;
    text-decoration: none;
    color: var(--dh-text);
    display: block;
    transition: transform .2s ease, box-shadow .2s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16,35,63,.1);
}

.app-card i {
    font-size: 3.2rem;
    color: var(--dh-dark);
}

.compare-table th,
.compare-table td {
    padding: 17px;
    vertical-align: middle;
}

.compare-table thead th {
    background: #f4f8fd;
    color: var(--dh-dark);
}

.hidden-honeypot {
    position: absolute;
    left: -5000px;
    opacity: 0;
    pointer-events: none;
}




.floating-callback {
    position: fixed;
    right: 22px;
    bottom: 26px;
    width: 62px;
    height: 62px;
    z-index: 1025;
    isolation: isolate;
    border: 0;
    border-radius: 50%;
    background: #FBD148;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transform: translate(-5px, -5px);
    transition: .25s ease;
}

.floating-callback::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #FBD148;
    z-index: -1;
}

.floating-callback::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgb(84, 84, 84);
    border-radius: 50%;
    transform: translate(5px, 5px);
    transition: .25s ease;
    z-index: -2;
}

.floating-callback:hover {
    color: #000;
    transform: translate(0, 0);
}

.floating-callback:hover::after {
    transform: translate(-5px, -5px);
}

.floating-callback:focus {
    outline: none;
}

.floating-callback:focus-visible {
    outline: 2px solid rgba(251, 209, 72, .75);
    outline-offset: 6px;
}

.floating-callback i {
    position: relative;
    z-index: 2;
}




.sticky-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.95);
    border-top: 1px solid var(--dh-border);
    backdrop-filter: blur(14px);
}

footer {
    background: var(--dh-dark);
    color: rgba(255,255,255,.82);
}

footer a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* Адаптив */

@media (max-width: 1399.98px) {
    .hero-content {
        max-width: 560px;
    }

    .hero-title {
        font-size: clamp(2.3rem, 4vw, 4.2rem);
    }

    .hero-subtitle {
        max-width: 520px;
    }

    .hero-section-1 .btn-lg {
        font-size: 1rem;
        padding: .85rem 1rem;
    }

    .hero-quick-info .info-card {
        padding: .85rem !important;
    }
}

@media (max-width: 1199.98px) {
    .hero-section-1 {
        background-position: 56% center;
    }

    .hero-desktop-wrap {
        padding-left: 42px;
        padding-right: 42px;
    }

    .hero-content {
        max-width: 520px;
    }
}

@media (max-width: 991.98px) {
    .hero-section-1 {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 0;
        display: block;
        background: #fff;
        overflow: hidden;
    }

    .hero-desktop-wrap {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: none;
    }

    .hero-content {
        position: relative;
        width: 100%;
        max-width: none;
        padding: 32px 16px 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.65rem);
        line-height: 1.08;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        max-width: none;
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 1.25rem !important;
    }

    .hero-feature-list {
        max-width: none;
        gap: .75rem;
        margin-bottom: 1.25rem !important;
    }

    .hero-feature-list li {
        font-size: 1rem;
        line-height: 1.35;
        align-items: flex-start;
    }

    .hero-feature-list i {
        width: 28px;
        height: 28px;
        font-size: .95rem;
        margin-top: 1px;
    }

    .hero-actions-desktop,
    .hero-feature-list-desktop {
        display: none !important;
    }
    
    .hero-mobile-image {
        display: block;
        position: relative;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: -18px;
        line-height: 0;
        background: #fff;
        overflow: hidden;
    }
    
    .hero-mobile-image::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 140px;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(
            to bottom,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.96) 18%,
            rgba(255,255,255,.78) 42%,
            rgba(255,255,255,.42) 68%,
            rgba(255,255,255,0) 100%
        );
    }
    
    .hero-mobile-image img {
        display: block;
        width: 100vw;
        max-width: none;
        height: auto;
        position: relative;
        z-index: 1;
    
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.18) 8%,
            rgba(0,0,0,.45) 16%,
            rgba(0,0,0,.75) 24%,
            #000 32%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0,0,0,.18) 8%,
            rgba(0,0,0,.45) 16%,
            rgba(0,0,0,.75) 24%,
            #000 32%
        );
    }
    
    .hero-mobile-overlay {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 16px;
        left: 16px;
        right: 16px;
        z-index: 2;
    }
    
    .hero-feature-list-mobile {
        display: grid;
        gap: .75rem;
        margin: 0;
        padding: 0;
        max-width: none;
    }
    
    .hero-feature-list-mobile li {
        font-size: 1rem;
        line-height: 1.35;
        align-items: flex-start;
        color: #173052;
        font-weight: 600;
    }
    
    .hero-feature-list-mobile i {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .78);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: .95rem;
        flex: 0 0 auto;
        margin-top: 1px;
    }
    
    .hero-actions-mobile {
        display: grid;
        gap: 1rem;
        position: static;
    }
    
    .hero-actions-mobile .btn {
        width: 100%;
    }

    .hero-section-1 .btn-lg {
        font-size: 1rem;
        padding: .85rem 1rem;
    }

    .hero-quick-info {
        display: none;
    }

    .section-padding {
        padding: 64px 0;
    }

    .lead-card {
        position: static;
    }

    .navbar > .container,
    .navbar > .container-fluid {
        width: calc(100% - 24px);
        border-radius: 4px;
        padding: 10px 14px;
    }
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        width: auto;
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        width: 22px;
        height: 16px;
        filter: none;
        background-image: none;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 22px 16px;
        position: relative;
    }
    
    .navbar-toggler-icon::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 22px;
        height: 2px;
        background: #fff;
        box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
        border-radius: 999px;
    }

    .navbar-collapse {
        flex-basis: 100%;
        margin-top: 22px;
    }

    .navbar-nav {
        gap: 6px;
    }

    .navbar .nav-link {
        /* font-size: 1.18rem; */
        line-height: 1.25;
        padding: 12px 0;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 78px;
    }

    .hero-section-1 {
        padding-top: 72px;
    }

    .hero-content {
        padding: 28px 16px 18px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.65rem);
        line-height: 1.08;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 1.25rem !important;
    }

    .hero-feature-list {
        gap: .75rem;
        margin-bottom: 1rem !important;
    }

    .hero-feature-list li {
        font-size: 1rem;
        line-height: 1.35;
    }

    .hero-mobile-overlay {
        top: 12px;
        left: 12px;
        right: 12px;
        gap: .8rem;
    }
    
    .hero-feature-list-mobile {
        gap: .6rem;
    }
    
    .hero-feature-list-mobile li {
        font-size: .95rem;
        line-height: 1.3;
    }
    
    .hero-feature-list-mobile i {
        width: 24px;
        height: 24px;
        font-size: .82rem;
    }
    
    .hero-actions-mobile {
        gap: .8rem;
    }

    .hero-section-1 .btn-lg {
        font-size: 1rem;
        padding: .8rem 1rem;
    }

    /* .product-image {
        height: 220px;
    } */

    .compare-table th,
    .compare-table td {
        padding: 13px;
        font-size: .92rem;
    }
}

/* Section 3 */

.automation-group {
    border-radius: var(--dh-radius);
    overflow: hidden;
}

.automation-drive-top {
    border-radius: 0;
    /* background: linear-gradient(135deg, var(--dh-soft), #f8fbff);
    box-shadow: none; */
}

.automation-drive-img {
    max-height: 260px;
    object-fit: contain;
}

/* Синий блок приложения */
.mydoorhan-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #0055a6;
    color: #fff;
    box-shadow: none;
    padding: 3rem 2rem 0 3rem;
}

/* Убирает отрицательные отступы Bootstrap row, из-за них телефон обрезался справа */
.mydoorhan-card > .row {
    margin-left: 0;
    margin-right: 0;
}

.mydoorhan-info,
.mydoorhan-text {
    padding-bottom: 3rem;
}

.mydoorhan-logo-block {
    color: #fff;
}

.mydoorhan-logo {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 auto;
}

.mydoorhan-title {
    color: #fff;
    line-height: 1.15;
    hyphens: auto;
    overflow-wrap: break-word;
}

.mydoorhan-phone {
    align-self: flex-end;
    line-height: 0;
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

.mydoorhan-phone-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 360px;
    margin: 0;
    transform: none !important;
    object-fit: contain;
}

/* Белый блок преимуществ */
.automation-benefits-card {
    position: relative;
    z-index: 2;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.automation-benefit {
    border: 1px solid var(--dh-border);
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.automation-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16,35,63,.1);
}

.automation-benefit .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--dh-soft);
    color: var(--dh-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

@media (max-width: 991.98px) {
    .mydoorhan-card {
        padding: 2rem 1.5rem 0;
        text-align: center;
    }

    .mydoorhan-info,
    .mydoorhan-text {
        padding-bottom: 1.5rem;
    }

    .mydoorhan-logo-block {
        justify-content: center;
    }

    .mydoorhan-title {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .mydoorhan-phone {
        justify-content: center;
    }

    .mydoorhan-phone-img {
        max-height: 270px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .automation-drive-top {
        text-align: center;
    }

    .automation-drive-img {
        max-height: 220px;
    }

    .mydoorhan-card {
        padding: 1.5rem 1.25rem 0;
    }

    .mydoorhan-phone-img {
        max-height: 230px;
    }

    .automation-benefits-card {
        text-align: center;
    }

    .automation-benefit .icon-circle {
        margin-left: auto;
        margin-right: auto;
    }
}


.wifi-popover {
    max-width: 360px;
    border: none !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

.wifi-popover .popover-header {
    display: none;
}

.wifi-popover .popover-body {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    border: none;
}

.wifi-popover-content {
    display: flex;
    align-items: center;   /* телефон по центру по вертикали */
    gap: 12px;             /* меньше расстояние между телефоном и текстом */
}

.wifi-popover-content .wifi-popover-img {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    flex: 0 0 72px;
    object-fit: contain;
    display: block;
    margin: 0;
}






.models-compare-section {
    position: relative;
    background: #fff;
}

.anchor-point {
    position: absolute;
    top: -90px;
}

.model-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.model-card-image {
    margin: -8px -8px 0;
}

.compare-card {
    height: 100%;
    border-radius: var(--dh-radius);
    background: #fff;
    box-shadow: 0 18px 45px rgba(7, 28, 60, 0.08);
}

.compare-card-accent {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.compare-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.compare-label {
    margin-bottom: 6px;
    color: var(--dh-muted);
    font-size: 16px;
    font-weight: 600;
}

.compare-card h3 {
    margin: 0;
    color: var(--dh-dark);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 800;
    line-height: 1;
}

.compare-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--dh-soft);
    color: var(--dh-blue);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.compare-list {
    display: grid;
    gap: 0;
    margin-bottom: 18px;
}

.compare-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--dh-border);
}

.compare-item span {
    color: var(--dh-muted);
    font-weight: 500;
}

.compare-item strong {
    color: var(--dh-text);
    font-weight: 700;
    text-align: right;
}

.compare-item i {
    color: var(--dh-blue);
    margin-right: 4px;
}


.compare-bottom {
    margin-top: auto;
    padding-top: 18px;
    /* border-top: 1px solid var(--dh-border); */
}

.compare-bottom p {
    min-height: 48px;
    margin-bottom: 18px;
    /* color: var(--dh-muted); */
    font-weight: 500;
}

.wifi-popover {
    max-width: 360px;
    border: none !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

.wifi-popover .popover-header {
    display: none;
}

.wifi-popover .popover-body {
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.5;
    border: none;
}

.wifi-popover-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wifi-popover-content .wifi-popover-img {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    flex: 0 0 72px;
    object-fit: contain;
    display: block;
    margin: 0;
}

@media (max-width: 575.98px) {
    .model-card {
        padding: 18px;
    }

    .model-card-image {
        margin: 0 0 20px;
    }

    .compare-card-head,
    .compare-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .compare-item strong {
        text-align: left;
    }

    .compare-badge {
        white-space: normal;
    }

    .compare-bottom p {
        min-height: auto;
    }
}




.portfolio-clean-section {
    background: #f6faff;
}

.portfolio-clean-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
}

.portfolio-clean-slider {
    min-width: 0;
}

.portfolio-clean-slider .carousel {
    overflow: hidden;
    border-radius: var(--dh-radius);
    background: #e8f1fb;
    box-shadow: 0 18px 45px rgba(7, 28, 60, 0.1);
}

.portfolio-clean-slider .carousel-item {
    height: 460px;
}

.portfolio-clean-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Низ слайдера */
.portfolio-clean-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
}

.portfolio-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.portfolio-thumbs::-webkit-scrollbar {
    display: none;
}

.portfolio-thumb {
    width: 78px;
    height: 58px;
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 14px;
    background: transparent;
    opacity: 0.55;
}

.portfolio-thumb.active,
.portfolio-thumb:hover {
    opacity: 1;
    border-color: var(--dh-blue);
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопки */
.portfolio-clean-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.portfolio-clean-arrows button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--dh-blue);
}

/* Форма */
.portfolio-clean-form {
    align-self: start;
    padding: 28px;
    border-radius: var(--dh-radius);
    background: #fff;
    box-shadow: 0 18px 45px rgba(7, 28, 60, 0.1);
}

.portfolio-clean-form h3 {
    margin: 0 0 20px;
    color: var(--dh-dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.portfolio-clean-form .form-control {
    min-height: 48px;
}

.portfolio-clean-form .form-check-label {
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .portfolio-clean-layout {
        grid-template-columns: 1fr;
    }

    .portfolio-clean-slider .carousel-item {
        height: 420px;
    }

    .portfolio-clean-form {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .portfolio-clean-slider .carousel-item {
        height: 280px;
    }

    .portfolio-clean-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .portfolio-clean-arrows {
        width: 100%;
        justify-content: center;
    }

    .portfolio-clean-form {
        padding: 22px;
    }

    .portfolio-clean-form h3 {
        font-size: 24px;
    }
}


.accordion-button {
    color: var(--dh-dark);
    background: #fff;
    font-weight: 700;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background: var(--dh-dark);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--dh-border);
    box-shadow: 0 0 0 .22rem rgba(24, 44, 92, .14);
}

.accordion-button::after {
    filter: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-item {
    border-color: var(--dh-border);
}

.accordion-body {
    color: var(--dh-text);
    background: #fff;
}



.hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 72px;
    text-align: left;
}

.hero-action-btn i {
    flex: 0 0 auto;
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1;
}

.hero-action-btn span {
    display: block;
    line-height: 1.15;
}

.hero-actions-desktop .hero-action-btn {
    flex: 1 1 0;
}






.discount-sticker {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    width: 116px;
    height: 86px;
    overflow: hidden;
    background: var(--dh-yellow);
    color: #000;
    border: 2px solid #000;
    box-shadow: 0 14px 30px rgba(7, 28, 60, 0.25);
    transform: rotate(-5deg);
    pointer-events: none;
}

.discount-sticker__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 18px;
    overflow: hidden;
    background: #000;
    color: var(--dh-yellow);
    font-size: 10px;
    font-weight: 900;
    line-height: 18px;
    white-space: nowrap;
    text-transform: uppercase;
}

.discount-sticker__line span {
    display: inline-block;
    min-width: 200%;
    animation: discount-line-move 7s linear infinite;
}

.discount-sticker__line--top {
    top: 0;
}

.discount-sticker__line--bottom {
    bottom: 0;
}

.discount-sticker__line--bottom span {
    animation-direction: reverse;
}

.discount-sticker__center {
    position: absolute;
    inset: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.discount-sticker__label {
    margin-bottom: 2px;
    color: #000;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.discount-sticker__center strong {
    position: relative;
    color: var(--dh-blue);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: .9;
}

.discount-sticker__center small {
    position: absolute;
    right: -12px;
    bottom: 4px;
    color: #8a93a5;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
}

@keyframes discount-line-move {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 575.98px) {
    .discount-sticker {
        top: 10px;
        left: 10px;
        width: 98px;
        height: 74px;
    }

    .discount-sticker__line {
        height: 16px;
        font-size: 8px;
        line-height: 16px;
    }

    .discount-sticker__center {
        inset: 16px 0;
    }

    .discount-sticker__label {
        font-size: 8px;
    }

    .discount-sticker__center strong {
        font-size: 32px;
    }

    .discount-sticker__center small {
        right: -10px;
        bottom: 3px;
        font-size: 12px;
    }
}


.sale-ribbon {
    position: absolute;
    top: 30px;
    left: -68px;
    z-index: 4;
    width: 230px;
    padding: 10px 0;
    background: #31f042;
    color: #000;
    font-size: 15px;
    /* font-weight: 900; */
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-45deg);
    transform-origin: center center;
    pointer-events: none;
    /* box-shadow: 0 8px 18px rgba(0, 0, 0, .22); */
}

@media (max-width: 575.98px) {
    .sale-ribbon {
        top: 24px;
        left: -62px;
        width: 210px;
        padding: 8px 0;
        font-size: 13px;
    }
}

/* слайдер */
.dh-gallery-checklist-section {
    padding: 72px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 12%, rgba(11, 94, 215, 0.08), transparent 28%),
        linear-gradient(135deg, #f7fbff 0%, #ffffff 48%, #eef6ff 100%);
}

.dh-gallery-head {
    max-width: 980px;
    margin-bottom: 28px;
}

.dh-gallery-head .section-title {
    max-width: 900px;
}

.dh-gallery-head .section-lead {
    max-width: 760px;
}

.dh-gallery-full {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 24px;
}

.dh-gallery-swiper {
    overflow: visible;
}

.dh-gallery-swiper .swiper-slide {
    height: auto;
}

.dh-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    /* background: #e8f1fb; */
    /* box-shadow: 0 14px 32px rgba(7, 28, 60, 0.12); */
    cursor: zoom-in;
}

.dh-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.dh-gallery-item:hover img {
    transform: scale(1.035);
}

.dh-checklist-overlap {
    position: relative;
    z-index: 5;
    margin-top: -10px;
}

.dh-checklist-panel {
    padding: 28px;
    border-radius: var(--dh-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(7, 28, 60, 0.12);
    backdrop-filter: blur(12px);
}

.dh-checklist-panel .form-label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.dh-checklist-panel .form-control {
    min-height: 44px;
}

.dh-checklist-panel .form-check-label {
    font-size: 13px;
    line-height: 1.35;
}

.glightbox-clean .gslide-image img {
    max-height: 88vh;
    border-radius: 18px;
}

@media (max-width: 991.98px) {
    .dh-gallery-checklist-section {
        padding: 60px 0;
    }

    .dh-gallery-full {
        padding: 0 18px;
    }

}

@media (max-width: 575.98px) {
    .dh-gallery-checklist-section {
        padding: 44px 0;
    }

    .dh-gallery-full {
        padding: 0 14px;
    }

    .dh-gallery-item {
        border-radius: 16px;
    }

    .dh-checklist-panel {
        padding: 22px;
    }

    .dh-checklist-overlap {
        margin-top: 6px;
    }
}


.mydoorhan-app-icon {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
}

.mydoorhan-logo-block {
    display: inline-flex;
}


/* Cookie consent — final */
.dh-cookie {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1080;
	display: none;
	max-width: 500px;
	margin: 0 auto;
	padding: 12px 12px 12px 14px;
	background: #fff;
	color: #343a40;
	border: 1px solid #d6d9dc;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
	font-size: 14px;
	line-height: 1.35;
}

.dh-cookie--visible { display: block; }

.dh-cookie__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dh-cookie__text {
	flex: 1 1 auto;
	min-width: 0;
}

.dh-cookie__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.dh-cookie__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.dh-cookie__close {
	position: relative;
	flex: 0 0 20px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 0;
	cursor: pointer;
}

.dh-cookie__close::before,
.dh-cookie__close::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 1.5px;
	background: #bfc3c7;
	transform-origin: center;
}

.dh-cookie__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.dh-cookie__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.dh-cookie__close:hover::before,
.dh-cookie__close:hover::after {
	background: #9fa4a9;
}

@media (max-width: 767.98px) {
	.dh-cookie {
		left: 8px;
		right: 8px;
		bottom: 8px;
		max-width: none;
		padding: 11px 10px 11px 12px;
		font-size: 13px;
	}

	.dh-cookie__row {
		gap: 8px;
	}

	.dh-cookie__actions .btn {
		white-space: nowrap;
	}
}
