:root {
    --dw-bg: #f6f4ef;
    --dw-bg-2: #fff;
    --dw-ink: #111111;
    --dw-muted: #5c5c5c;
    --dw-line: #e8e4db;
    --dw-yellow: #ffcc00;
    --dw-yellow-2: #ffd633;
    --dw-black: #111111;
    --dw-red: #e11d2e;
    --dw-green: #0f7b3a;
    --dw-radius: 20px;
    --dw-shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
    --dw-nav-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.dw {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    color: var(--dw-ink);
    background: var(--dw-bg);
    padding-top: var(--dw-nav-h);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.dw a {
    color: inherit;
}

.dw-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.dw-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--dw-nav-h);
    background: rgba(246, 244, 239, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dw-line);
}

.dw-nav .container,
.dw-nav.navbar .container {
    display: flex;
    align-items: center;
    height: var(--dw-nav-h);
}

.dw-nav .navbar-brand img {
    height: 36px;
}

.dw-nav .navbar-nav .nav-link {
    font-weight: 650;
    font-size: 14px;
    color: var(--dw-ink) !important;
    padding: 8px 12px !important;
}

.dw-nav .navbar-toggler {
    border: 0;
    width: 32px;
    height: 22px;
    position: relative;
    padding: 0;
}

.dw-nav .navbar-toggler span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--dw-ink);
    left: 0;
}

.dw-nav .navbar-toggler span:nth-child(1) { top: 2px; }
.dw-nav .navbar-toggler span:nth-child(2),
.dw-nav .navbar-toggler span:nth-child(3) { top: 10px; }
.dw-nav .navbar-toggler span:nth-child(4) { top: 18px; }

.dw-nav .navbar-toggler.open span:nth-child(1),
.dw-nav .navbar-toggler.open span:nth-child(4) {
    opacity: 0;
}

.dw-nav .navbar-toggler.open span:nth-child(2) { transform: rotate(45deg); }
.dw-nav .navbar-toggler.open span:nth-child(3) { transform: rotate(-45deg); }

.dw-nav .navbar-collapse.show {
    position: absolute;
    top: var(--dw-nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--dw-line);
    padding: 12px 20px 20px;
}

.btn-accent,
.dw-btn,
body.dw .btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--dw-yellow) !important;
    color: var(--dw-black) !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    padding: 12px 22px !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn-accent:hover,
.dw-btn:hover,
body.dw .btn-accent:hover {
    background: var(--dw-yellow-2) !important;
    color: var(--dw-black) !important;
    transform: translateY(-1px);
}

.dw-btn-lg {
    padding: 16px 28px !important;
    font-size: 17px !important;
}

.dw-btn-ghost,
body.dw .btn-outline-primary {
    background: transparent !important;
    border: 1px solid var(--dw-ink) !important;
    color: var(--dw-ink) !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
}

body.dw .mobile-scroll-button {
    display: none;
}

@media (max-width: 991px) {
    body.dw .mobile-scroll-button {
        display: inline-flex;
        margin-left: auto;
        margin-right: 12px;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
}

.dw-hero {
    padding: 48px 0 24px;
}

.dw-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.dw-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--dw-line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.dw-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin: 0 0 16px;
}

.dw-hero .lead,
.dw-lead {
    font-size: 18px;
    color: var(--dw-muted);
    margin: 0 0 24px;
    max-width: 42ch;
}

.dw-city {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 800;
    border-bottom: 2px dashed var(--dw-ink);
    margin-bottom: 18px;
}

.dw-city i {
    color: var(--dw-red);
}

.dw-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.dw-pills li {
    background: #fff;
    border: 1px solid var(--dw-line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}

.dw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.dw-hero-note {
    font-size: 13px;
    color: var(--dw-muted);
}

.dw-hero-visual {
    position: relative;
}

.dw-hero-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

.dw-float {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--dw-shadow);
    font-weight: 800;
}

.dw-float small {
    display: block;
    font-size: 12px;
    color: var(--dw-muted);
    font-weight: 600;
}

.dw-float-1 { left: -12px; bottom: 28px; }
.dw-float-2 { right: 16px; top: 20px; }

.dw-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 28px 0 8px;
}

.dw-stat {
    background: #fff;
    border-radius: var(--dw-radius);
    padding: 18px;
    border: 1px solid var(--dw-line);
}

.dw-stat b {
    display: block;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.dw-stat span {
    color: var(--dw-muted);
    font-size: 13px;
    font-weight: 600;
}

.dw-section {
    padding: 56px 0;
}

.dw-section > .container > h2,
body.dw section > .container > h2,
body.dw .container > h2:first-child {
    font-size: clamp(26px, 3.4vw, 40px);
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 12px;
}

body.dw h2.accordion-header {
    font-size: 16px;
    letter-spacing: 0;
    font-weight: 800;
    margin: 0;
}

.dw-center { text-align: center; }
.dw-muted { color: var(--dw-muted); }

.dw-grid-3,
.dw-grid-4,
.dw-grid-2 {
    display: grid;
    gap: 16px;
}

.dw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dw-grid-4 { grid-template-columns: repeat(4, 1fr); }
.dw-grid-2 { grid-template-columns: repeat(2, 1fr); }

.dw-card,
body.dw .card {
    background: #fff;
    border: 1px solid var(--dw-line) !important;
    border-radius: var(--dw-radius) !important;
    box-shadow: none !important;
    overflow: hidden;
}

body.dw .card-body {
    padding: 22px;
}

.dw-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--dw-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 14px;
}

.dw-card h2 {
    font-size: 22px;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 12px;
}

.dw-card h3,
body.dw .card-title,
body.dw h3.h4,
body.dw h3.h5 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.dw-steps {
    counter-reset: step;
}

.dw-step {
    position: relative;
    padding-left: 0;
}

.dw-step .dw-icon {
    background: var(--dw-ink);
    color: var(--dw-yellow);
}

.dw-conditions li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--dw-line);
}

.dw-conditions li:last-child { border-bottom: 0; }

.dw-check {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: var(--dw-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.dw-banner {
    background: var(--dw-ink);
    color: #fff;
    border-radius: 28px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.dw-banner h3 {
    font-size: 28px;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
}

.dw-banner p {
    margin: 0;
    color: #cfcfcf;
}

body.dw .cta-panel,
body.dw .cta-strip {
    background: transparent !important;
}

body.dw .cta-panel .container > div,
body.dw .cta-strip .container,
body.dw .cta-panel .row {
    background: var(--dw-ink);
    color: #fff;
    border-radius: 28px;
    padding: 28px 32px;
    margin: 0;
}

body.dw .cta-panel h3,
body.dw .cta-strip h3 {
    color: #fff;
}

body.dw .cta-panel p,
body.dw .cta-strip p,
body.dw .cta-strip .text-muted {
    color: #cfcfcf !important;
}

body.dw .cta-panel .btn-outline-light {
    background: var(--dw-yellow) !important;
    color: var(--dw-ink) !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
}

.dw-calc {
    background: #fff;
    border: 1px solid var(--dw-line);
    border-radius: 28px;
    padding: 28px;
}

.dw-calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.dw-result {
    background: var(--dw-ink);
    color: #fff;
    border-radius: 22px;
    padding: 24px;
    min-height: 100%;
}

.dw-result .amount,
body.dw .kz-calc-result .amount {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

body.dw .form-range {
    accent-color: var(--dw-yellow);
}

body.dw .form-check-input:checked {
    background-color: var(--dw-ink);
    border-color: var(--dw-ink);
}

body.dw .accordion-item {
    background: #fff;
    border: 1px solid var(--dw-line) !important;
    border-radius: 16px !important;
    margin-bottom: 10px;
    overflow: hidden;
}

body.dw .accordion-button {
    font-weight: 800;
    font-size: 16px;
    box-shadow: none !important;
    background: #fff;
    color: var(--dw-ink);
}

body.dw .accordion-button:not(.collapsed) {
    background: var(--dw-yellow);
    color: var(--dw-ink);
}

body.dw #seo-content {
    display: none;
}

body.dw .kz-sticky-cta,
.dw-sticky {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1040;
    display: none;
}

@media (max-width: 991px) {
    body.dw .kz-sticky-cta,
    .dw-sticky {
        display: block;
    }
}

.dw-footer {
    padding: 40px 0 96px;
    color: #9a9a9a;
    font-size: 14px;
}

.dw-footer a { color: #111; font-weight: 700; text-decoration: none; }

body.dw footer.bg-dark {
    background: transparent !important;
    color: var(--dw-muted) !important;
    padding-bottom: 96px !important;
}

body.dw footer.bg-dark a,
body.dw footer.bg-dark .text-light {
    color: var(--dw-ink) !important;
}

body.dw .kz-income-value {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.dw .kz-calc-result {
    background: var(--dw-ink);
    color: #fff;
    border-radius: 22px;
    padding: 24px;
}

body.dw .kz-city-banner {
    background: #fff;
    border: 1px solid var(--dw-line);
    border-radius: 22px;
    padding: 22px 24px;
}

body.dw .kz-lang-btn {
    border: 1px solid var(--dw-line);
    background: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 800;
    font-size: 12px;
}

body.dw .kz-lang-btn.is-active {
    background: var(--dw-ink);
    color: #fff;
    border-color: var(--dw-ink);
}

body.dw .hero-section {
    padding-top: 40px;
}

body.dw .hero-section .card {
    background: transparent;
    border: 0 !important;
}

body.dw .hero-section .card-body {
    padding: 0;
}

body.dw .hero-section img.img-fluid {
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    width: 100%;
}

body.dw .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dw-yellow);
    color: var(--dw-ink);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

body.dw .icon-wrapper {
    display: none;
}

body.dw .kz-req-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--dw-line);
}

body.dw .kz-req-item:last-child { border-bottom: 0; }

body.dw .kz-req-item i {
    width: 28px;
    color: var(--dw-ink);
}

body.dw #cityModal .modal-content {
    border: 0;
    border-radius: 24px;
}

body.dw .dropdown { display: none; }

.dw-news .card-img-top {
    height: 160px;
    object-fit: cover;
}

body.dw .bg-light {
    background: transparent !important;
}

body.dw .city-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 800;
    border-bottom: 2px dashed var(--dw-ink);
    margin-bottom: 18px;
}

body.dw .city-selector .location-icon,
body.dw .text-danger {
    color: var(--dw-red) !important;
}

body.dw .hero-section .list-unstyled {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
}

body.dw .hero-section .list-unstyled li {
    background: #fff;
    border: 1px solid var(--dw-line);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    margin: 0 !important;
}

body.dw .hero-section .list-unstyled i {
    display: none;
}

body.dw #benefits img {
    display: none;
}

body.dw #benefits .col-lg-4:nth-child(n+4) {
    display: none;
}

body.dw #faqAccordion .accordion-item:nth-child(n+6) {
    display: none;
}

body.dw .cta-strip {
    display: none;
}

body.dw #cityModal .city-list a:hover,
body.dw #cityModal .form-control:focus {
    color: var(--dw-ink);
    border-color: var(--dw-ink);
    box-shadow: none;
}

body.dw #cityModal h6.text-primary {
    color: var(--dw-ink) !important;
    font-weight: 800;
}

@media (max-width: 991px) {
    .dw-hero-grid,
    .dw-grid-3,
    .dw-grid-4,
    .dw-grid-2,
    .dw-stats,
    .dw-calc-grid,
    .dw-banner {
        grid-template-columns: 1fr;
    }
    .dw-hero-visual img,
    body.dw .hero-section img.img-fluid {
        height: 260px;
    }
    .dw-float { display: none; }
    .dw-banner { display: block; }
    .dw-banner .dw-btn,
    .dw-banner .btn { width: 100%; margin-top: 16px; }
    body.dw .navbar .kz-lang-switch-mobile {
        position: static !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        margin: 0 8px 0 auto;
    }
}
