/*
Theme Name: DolgDiscount 2025
Theme URI: https://example.com/
Author: Ivan Mosalev
Description: ÃÂ¡ÃÂ²ÃÂµÃ‘â€šÃÂ»ÃÂ°Ã‘Â ÃÂ¼ÃÂ¸ÃÂ½ÃÂ¸ÃÂ¼ÃÂ°ÃÂ»ÃÂ¸Ã‘ÂÃ‘â€šÃÂ¸Ã‘â€¡ÃÂ½ÃÂ°Ã‘Â Ã‘â€šÃÂµÃÂ¼ÃÂ° ÃÂ¿ÃÂ¾ÃÂ´ Elementor ÃÂ´ÃÂ»Ã‘Â ÃÂºÃÂ¾ÃÂ¼ÃÂ¿ÃÂ°ÃÂ½ÃÂ¸ÃÂ¸, Ã‘â‚¬ÃÂ°ÃÂ±ÃÂ¾Ã‘â€šÃÂ°Ã‘Å½Ã‘â€°ÃÂµÃÂ¹ Ã‘Â ÃÂ´ÃÂ¾ÃÂ»ÃÂ³ÃÂ°ÃÂ¼ÃÂ¸.
Version: 1.0
Text Domain: dolgdiscount-2025
*/

:root {
    --dd-primary: #2563EB;
    --dd-primary-hover: #1D4ED8;
    --dd-text-main: #111827;
    --dd-text-muted: #6B7280;
    --dd-bg: #FFFFFF;
    --dd-bg-soft: #F3F4F6;
    --dd-border: #E5E7F1;
    --dd-success: #22C55E;
    --dd-warning: #F97316;
    --dd-danger: #EF4444;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    background-color: var(--dd-bg);
    color: var(--dd-text-main);
}
body, 
body * {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif !important;
}

a {
    color: var(--dd-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.dd-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.dd-main {
    /* padding-bottom: 80px; */
}

/* HEADER */
.dd-topbar {
    background: #ffffff;
    color: #000000;
    font-size: 14px;
}

.dd-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    gap: 8px;
}

.dd-topbar__right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.dd-main-header {
    background: #FFFFFF;
    /* border-bottom: 1px solid var(--dd-border); */
}

.dd-main-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}
.dd-cit {
    font-size: 14px;
    color: #2563eb;
}
.dd-logo a {
    font-weight: 700;
    font-size: 20px;
    color: #111827;
    text-decoration: none;
}

.dd-logo__img {
    height: 70px;
    width: auto;
    display: block;
}

.dd-nav {
    flex: 1;
}

.dd-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.dd-menu a {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    text-decoration: underline;
}

.dd-menu a:hover {
    color: #111827;
}

.dd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.dd-btn--primary {
    background: var(--dd-primary);
    color: #FFFFFF;
}

.dd-btn--primary:hover {
    background: var(--dd-primary-hover);
}

.dd-burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 4px;
}

.dd-burger span {
    width: 20px;
    height: 2px;
    background: #111827;
    display: block;
}

/* HERO VARIANT A */
.dd-hero {
    padding: 40px 0 30px 0;
    background: radial-gradient(circle at top left, #EFF6FF 0, #F9FAFB 40%);
}

.dd-hero__inner {
    text-align: center;
}

.dd-hero__title {
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 16px 0;
    color: #111827;
}

.dd-hero__subtitle {
    font-size: 18px;
    color: #4B5563;
    margin-bottom: 24px;
}

.dd-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.dd-hero__ghost-link {
    font-size: 14px;
    color: #111827;
    text-decoration: underline;
}

.dd-hero__bullets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.dd-hero__bullet {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
}

.dd-hero__bullet-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

.dd-hero__bullet-text {
    font-size: 13px;
    color: #6B7280;
}

/* BLOCKS */
.dd-section {
    padding: 64px 0;
}

.dd-section--soft {
    background: var(--dd-bg-soft);
}

.dd-section__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 12px;
}

.dd-section__subtitle {
    font-size: 15px;
    text-align: center;
    color: var(--dd-text-muted);
    max-width: 640px;
    margin: 0 auto 32px auto;
}

.dd-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dd-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 20px 18px;
    border: 1px solid var(--dd-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.dd-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.dd-card__text {
    font-size: 14px;
    color: var(--dd-text-muted);
}

/* FOOTER */
.dd-footer {
    background: #0F172A;
    color: #9CA3AF;
    padding: 32px 0 16px 0;
    margin-top: -48px;
}

.dd-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.dd-footer__title {
    font-size: 16px;
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 8px;
}

.dd-footer__bottom {
    border-top: 1px solid #1E293B;
    padding-top: 12px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .dd-hero__title {
        font-size: 32px;
    }
    .dd-hero__bullets {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .dd-dolg-list {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .dd-dolg-filters {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .dd-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .dd-topbar__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .dd-main-header__inner {
        gap: 12px;
    }
    .dd-nav {
        display: none;
    }
    .dd-burger {
        display: flex;
    }
    .dd-hero {
        padding: 56px 0 40px 0;
    }
    .dd-hero__bullets {
        grid-template-columns: 1fr;
    }
    .dd-grid-3 {
        grid-template-columns: 1fr;
    }
    .dd-dolg-list {
        grid-template-columns: 1fr;
    }
    .dd-dolg-filters {
        grid-template-columns: 1fr;
    }
    .dd-footer__top {
        grid-template-columns: 1fr;
    }
}

/* ===== ÃÅ“ÃÅ¾Ãâ€˜ÃËœÃâ€ºÃÂ¬ÃÂÃÂÃÂ¯ Ãâ€™Ãâ€¢ÃÂ ÃÂ¡ÃËœÃÂ¯ HEADER ===== */
@media (max-width: 768px) {

    /* ÃÅ¾ÃÂ±Ã‘â€°ÃÂ¸ÃÂ¹ ÃÂºÃÂ¾ÃÂ½Ã‘â€šÃÂµÃÂ¹ÃÂ½ÃÂµÃ‘â‚¬ Ã‘Ë†ÃÂ°ÃÂ¿ÃÂºÃÂ¸ */
    .dd-main-header__inner {
        flex-direction: column;      /* Ã‘ÂÃÂ»ÃÂµÃÂ¼ÃÂµÃÂ½Ã‘â€šÃ‘â€¹ ÃÂ²ÃÂ½ÃÂ¸ÃÂ· */
        align-items: center;         /* Ã‘â€ ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬ÃÂ¸Ã‘â‚¬Ã‘Æ’ÃÂµÃÂ¼ */
        text-align: center;
        padding: 14px 10px;          /* ÃÂ¾Ã‘â€šÃ‘ÂÃ‘â€šÃ‘Æ’ÃÂ¿Ã‘â€¹ 10px */
        gap: 14px;                   /* Ã‘â‚¬ÃÂ°Ã‘ÂÃ‘ÂÃ‘â€šÃÂ¾Ã‘ÂÃÂ½ÃÂ¸ÃÂµ ÃÂ¼ÃÂµÃÂ¶ÃÂ´Ã‘Æ’ ÃÂ±ÃÂ»ÃÂ¾ÃÂºÃÂ°ÃÂ¼ÃÂ¸ */
    }

    /* Ãâ€ºÃÂ¾ÃÂ³ÃÂ¾Ã‘â€šÃÂ¸ÃÂ¿ ÃÂ¿ÃÂ¾ Ã‘â€ ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬Ã‘Æ’ */
    .dd-logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dd-logo__img {
        height: 100px;                /* ÃÂ½ÃÂ° ÃÂ¼ÃÂ¾ÃÂ±ÃÂ¸ÃÂ»ÃÂµ Ã‘â€¡Ã‘Æ’Ã‘â€šÃ‘Å’ ÃÂ¼ÃÂµÃÂ½Ã‘Å’Ã‘Ë†ÃÂµ */
    }

    /* Ãâ€˜Ã‘Æ’Ã‘â‚¬ÃÂ³ÃÂµÃ‘â‚¬ Ã‘â€šÃÂ¾ÃÂ¶ÃÂµ ÃÂ¿ÃÂ¾ Ã‘â€ ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬Ã‘Æ’ */
    .dd-burger {
        display: none;
        justify-content: center;
    }

    /* ÃÅ¡ÃÂ½ÃÂ¾ÃÂ¿ÃÂºÃÂ° "ÃÅ¸Ã‘â‚¬ÃÂ¾ÃÂ´ÃÂ°Ã‘â€šÃ‘Å’ ÃÂ´ÃÂ¾ÃÂ»ÃÂ³" Ã¢â‚¬â€ ÃÂ¿ÃÂ¾ Ã‘â€ ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬Ã‘Æ’ ÃÂ¸ 100% Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½Ã‘â€¹ */
    .dd-header-cta {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dd-header-cta .dd-btn {
        width: 100%;
        max-width: 260px;            /* Ã‘â€¡Ã‘â€šÃÂ¾ÃÂ±Ã‘â€¹ ÃÂºÃ‘â‚¬ÃÂ°Ã‘ÂÃÂ¸ÃÂ²ÃÂ¾ Ã‘ÂÃÂ¼ÃÂ¾Ã‘â€šÃ‘â‚¬ÃÂµÃÂ»ÃÂ°Ã‘ÂÃ‘Å’ */
    }

    /* ÃÅ“ÃÂµÃÂ½Ã‘Å½ Ã‘ÂÃÂºÃ‘â‚¬Ã‘â€¹ÃÂ²ÃÂ°ÃÂµÃÂ¼ (ÃÂºÃÂ°ÃÂº Ã‘Æ’ Ã‘â€šÃÂµÃÂ±Ã‘Â ÃÂ±Ã‘â€¹ÃÂ»ÃÂ¾) */
    .dd-nav {
        display: none !important;
    }

    /* ÃÂ¢ÃÂ¾ÃÂ¿ÃÂ±ÃÂ°Ã‘â‚¬ Ã¢â‚¬â€ ÃÂ²Ã‘ÂÃÂµ ÃÂ¿ÃÂ¾ Ã‘â€ ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬Ã‘Æ’ */
    .dd-topbar__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 6px 10px;
        gap: 6px;
    }

    .dd-topbar__right {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}
/* ================================
   ÃÂÃâ€ÃÂÃÅ¸ÃÂ¢ÃËœÃâ€™ÃÂÃÅ¾Ãâ€¢ ÃÅ“Ãâ€¢ÃÂÃÂ® Ãâ€™ HEADER
=================================== */

/* ---- ÃÅ¸ÃÂ»ÃÂ°ÃÂ½Ã‘Ë†ÃÂµÃ‘â€šÃ‘â€¹ (768px Ã¢â‚¬â€ 1024px) ---- */
@media (max-width: 1024px) and (min-width: 769px) {

    /* ÃÅ¾ÃÂ±Ã‘â€°ÃÂ¸ÃÂ¹ ÃÂºÃÂ¾ÃÂ½Ã‘â€šÃÂµÃÂ¹ÃÂ½ÃÂµÃ‘â‚¬ */
    .dd-main-header__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 14px 16px;
    }

    /* ÃÅ“ÃÂµÃÂ½Ã‘Å½ ÃÂ¿ÃÂ¾ÃÂ´ Ã‘Ë†ÃÂ°ÃÂ¿ÃÂºÃÂ¾ÃÂ¹ */
    .dd-nav {
        width: 100%;
        display: flex !important;
        justify-content: center;
    }

    .dd-menu {
        width: 100%;
        display: flex;
        flex-wrap: wrap; /* Ã‘â€¡Ã‘â€šÃÂ¾ÃÂ±Ã‘â€¹ ÃÂ¿ÃÂµÃ‘â‚¬ÃÂµÃÂ½ÃÂ¾Ã‘ÂÃÂ¸ÃÂ»ÃÂ¾Ã‘ÂÃ‘Å’ */
        justify-content: center;
        gap: 30px;
        padding-top: 8px;
    }
}

/* ---- ÃÅ“ÃÂ¾ÃÂ±ÃÂ¸ÃÂ»Ã‘Å’ÃÂ½Ã‘â€¹ÃÂµ (< 768px) ---- */
@media (max-width: 768px) {

    /* ÃÂ£ÃÂ±ÃÂ¸Ã‘â‚¬ÃÂ°ÃÂµÃÂ¼ Ã‘ÂÃÂºÃ‘â‚¬Ã‘â€¹Ã‘â€šÃÂ¸ÃÂµ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (ÃÂ¾Ã‘â€šÃÂ¼ÃÂµÃÂ½Ã‘ÂÃÂµÃÂ¼ Ã‘ÂÃ‘â€šÃÂ°Ã‘â‚¬ÃÂ¾ÃÂµ) */
    .dd-nav {
        display: flex !important;
        width: 100%;
        justify-content: center;
    }

    /* Vertical menu */
    .dd-menu {
        flex-direction: column;   /* Ãâ€™ ÃÂ¡ÃÂ¢ÃÅ¾Ãâ€ºÃâ€˜ÃËœÃÅ¡ */
        align-items: center;      /* ÃÅ¸ÃÅ¾ ÃÂ¦Ãâ€¢ÃÂÃÂ¢ÃÂ ÃÂ£ */
        gap: 12px;
        width: 100%;
        padding: 10px 0;
        /* display: none; */
    }

    .dd-menu a {
        font-size: 16px;
        text-decoration: underline;
    }

    /* ÃÅ¡ÃÂ¾ÃÂ½Ã‘â€šÃÂµÃÂ¹ÃÂ½ÃÂµÃ‘â‚¬ header */
    .dd-main-header__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
        gap: 10px;
        padding-bottom: 30px;
        padding-top: 20px;
    }

    .dd-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .dd-header-cta {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dd-header-cta .dd-btn {
        width: 100%;
        max-width: 260px;
    }
}

/* =========================
   Popup / CF7 adaptive layout
   ========================= */
.dd-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(17, 24, 39, 0.62);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.dd-popup-overlay.is-active {
    display: flex;
}

body.dd-popup-open {
    overflow: hidden;
}

.dd-popup,
.dd-popup * {
    box-sizing: border-box;
}

.dd-popup {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
    padding: 22px 24px 18px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.dd-popup-close {
    position: sticky;
    top: 0;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: -8px -8px 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    background: #FFFFFF;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 0;
}

.dd-popup-head {
    margin: 0 0 14px;
    padding-right: 44px;
}

.dd-popup-head h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.15;
    color: #111827;
}

.dd-popup-head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #6B7280;
}

.dd-cf7-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    clear: both;
}

.dd-cf7-popup-form p,
.dd-cf7-popup-form br {
    margin: 0;
}

.dd-form-row {
    width: 100%;
}

.dd-form-row label {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
}

.dd-cf7-popup-form .wpcf7-form-control-wrap {
    display: block;
}

.dd-cf7-popup-form input[type="text"],
.dd-cf7-popup-form input[type="tel"],
.dd-cf7-popup-form input[type="email"],
.dd-cf7-popup-form textarea,
.dd-cf7-popup-form select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    background: #FFFFFF;
    font-size: 15px;
    line-height: 1.35;
    color: #111827;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dd-cf7-popup-form textarea {
    min-height: 96px;
    resize: vertical;
}

.dd-cf7-popup-form input[type="text"]::placeholder,
.dd-cf7-popup-form input[type="tel"]::placeholder,
.dd-cf7-popup-form input[type="email"]::placeholder,
.dd-cf7-popup-form textarea::placeholder {
    color: #9CA3AF;
}

.dd-cf7-popup-form input:focus,
.dd-cf7-popup-form textarea:focus,
.dd-cf7-popup-form select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dd-debt-preview {
    margin-top: 0;
    padding: 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.45;
    color: #374151;
    display: grid;
    gap: 6px;
    overflow-wrap: anywhere;
}

.dd-debt-preview strong {
    color: #111827;
}

.dd-form-submit {
    margin-top: 2px;
}

.dd-form-submit p {
    margin: 0;
}

.dd-form-submit .wpcf7-submit,
.dd-form-submit .dd-btn {
    width: 100%;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 15px;
    border: none;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    margin: 0;
}

.dd-form-submit .wpcf7-submit:hover,
.dd-form-submit .dd-btn:hover {
    background: #1D4ED8;
}

.dd-popup-agreement {
    clear: both;
    margin: 12px 0 0 !important;
    font-size: 12px;
    line-height: 1.45;
    color: #6B7280;
}

.dd-popup-agreement a {
    color: #2563EB;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dd-cf7-popup-form .wpcf7-spinner {
    margin: 8px auto 0;
    display: block;
}

.dd-cf7-popup-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
}

.dd-cf7-popup-form .wpcf7-response-output {
    margin: 10px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .dd-popup-overlay {
        align-items: flex-end;
        padding: 10px;
    }

    .dd-popup {
        width: 100%;
        max-height: calc(100dvh - 20px);
        border-radius: 22px;
        padding: 16px 14px 14px;
    }

    .dd-popup-close {
        width: 36px;
        height: 36px;
        margin: -4px -4px 0 10px;
        border-radius: 12px;
        font-size: 22px;
    }

    .dd-popup-head {
        margin-bottom: 12px;
        padding-right: 40px;
    }

    .dd-popup-head h3 {
        font-size: 21px;
        margin-bottom: 5px;
    }

    .dd-popup-head p {
        font-size: 13px;
        line-height: 1.4;
    }

    .dd-cf7-popup-form {
        gap: 10px;
    }

    .dd-form-row label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .dd-cf7-popup-form input[type="text"],
    .dd-cf7-popup-form input[type="tel"],
    .dd-cf7-popup-form input[type="email"],
    .dd-cf7-popup-form textarea,
    .dd-cf7-popup-form select {
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 13px;
        font-size: 14px;
    }

    .dd-debt-preview {
        padding: 12px;
        font-size: 12px;
        gap: 5px;
    }

    .dd-form-submit .wpcf7-submit,
    .dd-form-submit .dd-btn {
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 14px;
        font-size: 15px;
    }

    .dd-popup-agreement {
        margin-top: 10px !important;
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (max-width: 380px) {
    .dd-popup-overlay {
        padding: 6px;
    }

    .dd-popup {
        max-height: calc(100dvh - 12px);
        padding: 12px 10px;
        border-radius: 18px;
    }

    .dd-popup-head h3 {
        font-size: 19px;
    }

    .dd-popup-head p {
        display: none;
    }

    .dd-cf7-popup-form {
        gap: 8px;
    }

    .dd-cf7-popup-form input[type="text"],
    .dd-cf7-popup-form input[type="tel"],
    .dd-cf7-popup-form input[type="email"],
    .dd-cf7-popup-form textarea,
    .dd-cf7-popup-form select {
        min-height: 42px;
        padding: 9px 11px;
    }
}
.dd-request {
    margin-top: 28px;
    padding: 28px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    box-sizing: border-box;
}

.dd-request.is-hidden {
    display: none;
}

.dd-request-msg {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
    color: #111827;
}

.dd-request-form,
.dd-request-form * {
    box-sizing: border-box;
}

.dd-request-form p {
    margin: 0;
}

.dd-request-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dd-request-form__col {
    min-width: 0;
}

.dd-request-form__col--full {
    grid-column: 1 / -1;
}

.dd-request-form label {
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
}

.dd-request-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}

.dd-request-form input[type="text"],
.dd-request-form input[type="tel"],
.dd-request-form input[type="email"],
.dd-request-form textarea,
.dd-request-form select,
.dd-request-form .dd-input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 14px;
    background: #FFFFFF;
    font-size: 15px;
    line-height: 1.4;
    color: #111827;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dd-request-form input[type="text"]::placeholder,
.dd-request-form input[type="tel"]::placeholder,
.dd-request-form input[type="email"]::placeholder,
.dd-request-form textarea::placeholder {
    color: #9CA3AF;
}

.dd-request-form input[type="text"]:focus,
.dd-request-form input[type="tel"]:focus,
.dd-request-form input[type="email"]:focus,
.dd-request-form textarea:focus,
.dd-request-form select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dd-request-form__agree {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.45;
    color: #6B7280;
}

.dd-request-form__submit {
    margin-top: 18px;
}

.dd-request-form__submit .wpcf7-submit,
.dd-request-form__submit .dd-btn {
    width: 100%;
    min-height: 54px;
    padding: 14px 20px;
    border: none;
    border-radius: 15px;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
    box-sizing: border-box;
    margin: 0;
}

.dd-request-form__submit .wpcf7-submit:hover,
.dd-request-form__submit .dd-btn:hover {
    background: #1D4ED8;
}

.dd-request-form .wpcf7-spinner {
    margin: 12px auto 0;
    display: block;
}

.dd-request-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.dd-request-form .wpcf7-response-output {
    margin: 14px 0 0 !important;
    padding: 12px 14px !important;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .dd-request {
        margin-top: 22px;
        padding: 18px 14px;
        border-radius: 18px;
    }

    .dd-request-msg {
        margin-bottom: 14px;
        font-size: 16px;
    }

    .dd-request-form__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dd-request-form__col,
    .dd-request-form__col--full {
        grid-column: auto;
    }

    .dd-request-form input[type="text"],
    .dd-request-form input[type="tel"],
    .dd-request-form input[type="email"],
    .dd-request-form textarea,
    .dd-request-form select,
    .dd-request-form .dd-input {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .dd-request-form__submit {
        margin-top: 16px;
    }

    .dd-request-form__submit .wpcf7-submit,
    .dd-request-form__submit .dd-btn {
        min-height: 50px;
        font-size: 15px;
    }

    .dd-request-form__agree {
        margin-top: 14px;
        font-size: 11px;
    }
}
.dd-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dd-footer-menu li {
    display: block;
}

.dd-footer-menu a {
    display: inline-block;
    text-decoration: underline;
    color: #3b82f6;
    padding: 3px 0;
}
.dd-map-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 48px 0;
    overflow: hidden;
    background: #fff;
}

.dd-geo-map-section {
    padding: 48px 0;
}

.dd-geo-map-section__inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.dd-geo-map-head {
    margin-bottom: 24px;
}

.dd-geo-map-head h2 {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.15;
    color: #111827;
}

.dd-geo-map-head p {
    margin: 0;
    max-width: 860px;
    font-size: 17px;
    line-height: 1.6;
    color: #6b7280;
}

.dd-geo-map-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.dd-geo-map-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 760;
    min-height: 380px;
    background: #f8fafc;
    overflow: hidden;
}

.dd-geo-map-yandex,
.dd-geo-map-yandex iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dd-geo-map-yandex iframe {
    display: block;
    border: 0;
    filter: saturate(0.95) contrast(1.02);
    pointer-events: none;
}

/* Слой с точками */
.dd-geo-map-pins {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.dd-geo-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: #2563eb;
    box-shadow:
        0 0 0 6px rgba(37, 99, 235, 0.14),
        0 10px 22px rgba(37, 99, 235, 0.20);
}

.dd-geo-pin--xl {
    width: 18px;
    height: 18px;
}

.dd-geo-pin--lg {
    width: 14px;
    height: 14px;
}

.dd-geo-pin--md {
    width: 10px;
    height: 10px;
}

.dd-geo-pin span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    white-space: nowrap;
    background: rgba(255,255,255,0.96);
    border: 1px solid #dbe3f0;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: #111827;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.dd-geo-map-note {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

/* Координаты */
.is-kaliningrad  { left: 8.8%;  top: 33.5%; }
.is-spb          { left: 16.6%; top: 25.2%; }
.is-moscow       { left: 18.6%; top: 31.2%; }
.is-voronezh     { left: 22.2%; top: 38.8%; }
.is-nn           { left: 24.0%; top: 32.3%; }
.is-kazan        { left: 28.2%; top: 33.0%; }
.is-rostov       { left: 25.1%; top: 47.8%; }
.is-krasnodar    { left: 23.8%; top: 51.2%; }
.is-volgograd    { left: 29.2%; top: 45.2%; }
.is-samara       { left: 31.0%; top: 36.5%; }
.is-ufa          { left: 35.2%; top: 36.2%; }
.is-perm         { left: 37.2%; top: 29.7%; }
.is-ekb          { left: 39.6%; top: 34.5%; }
.is-chelyabinsk  { left: 40.8%; top: 38.6%; }
.is-omsk         { left: 49.8%; top: 36.4%; }
.is-novosibirsk  { left: 56.6%; top: 39.0%; }
.is-krasnoyarsk  { left: 64.8%; top: 35.0%; }
.is-irkutsk      { left: 73.6%; top: 40.2%; }
.is-khabarovsk   { left: 88.5%; top: 36.0%; }
.is-vladivostok  { left: 92.8%; top: 48.8%; }

@media (max-width: 1200px) {
    .dd-geo-map-head h2 {
        font-size: 32px;
    }
}

@media (max-width: 900px) {
    .dd-geo-map-section {
        padding: 32px 0;
    }

    .dd-geo-map-section__inner {
        width: calc(100% - 24px);
    }

    .dd-geo-map-head h2 {
        font-size: 26px;
    }

    .dd-geo-map-head p,
    .dd-geo-map-note {
        font-size: 15px;
    }

    .dd-geo-map-box {
        min-height: 280px;
    }

    .dd-geo-pin--xl {
        width: 14px;
        height: 14px;
    }

    .dd-geo-pin--lg {
        width: 11px;
        height: 11px;
    }

    .dd-geo-pin span {
        font-size: 11px;
        padding: 6px 8px;
    }
}

@media (max-width: 680px) {
    .dd-geo-map-box {
        aspect-ratio: 16 / 10;
        min-height: 220px;
    }

    .dd-geo-pin span {
        display: none;
    }

    .dd-geo-map-note {
        margin-top: 14px;
    }
}

@media (max-width: 480px) {
    .dd-geo-map-head h2 {
        font-size: 22px;
    }

    .dd-geo-map-head p,
    .dd-geo-map-note {
        font-size: 14px;
    }

    .dd-geo-map-box {
        min-height: 190px;
    }
}
.dd-request-form .dd-required-star {
    color: #EF4444;
    font-weight: 700;
}

.dd-request-form .dd-required-note {
    color: #6B7280;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
}
/* ===== Два больших блока: Продажа долгов / Покупка долгов ===== */
.dd-debt-actions {
    padding: 10px 0 28px;
    background: #FFFFFF;
}

.dd-debt-actions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dd-debt-action-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 52px 34px 84px;
    box-sizing: border-box;
    isolation: isolate;
    /* box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16); */
    background-size: cover;
    background-position: center;
}

.dd-debt-action-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgba(13, 23, 36, 0.38) 0%, rgba(13, 23, 36, 0.72) 54%, rgba(8, 12, 18, 0.96) 100%);
}

.dd-debt-action-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.dd-debt-action-card:hover::after {
    transform: scale(1.08);
}

.dd-debt-action-card--sell::after {
    background-image:
        linear-gradient(135deg, rgba(37, 99, 235, 0.58), rgba(34, 197, 94, 0.28)),
        url('/wp-content/uploads/2026/05/prodazha-dolgov.jpg');
}

.dd-debt-action-card--buy::after {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.52), rgba(34, 197, 94, 0.32)),
        url('/wp-content/uploads/2026/05/pokupka-dolgov.jpg');
}

.dd-debt-action-card__content {
    max-width: 520px;
}

.dd-debt-action-card__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    backdrop-filter: blur(8px);
}

.dd-debt-action-card__title {
    margin: 0 0 14px;
    color: #FFFFFF;
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.dd-debt-action-card__text {
    margin: 0 auto;
    max-width: 450px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.45;
}

.dd-debt-action-card__button-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(78%, 360px);
    height: 68px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14px;
    background: #FFFFFF;
    border-radius: 34px 34px 0 0;
}

.dd-debt-action-card__button-wrap::before,
.dd-debt-action-card__button-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 48px;
    height: 48px;
    background: transparent;
    pointer-events: none;
}

.dd-debt-action-card__button-wrap::before {
    left: -48px;
    border-bottom-right-radius: 34px;
    box-shadow: 18px 18px 0 #FFFFFF;
}

.dd-debt-action-card__button-wrap::after {
    right: -48px;
    border-bottom-left-radius: 34px;
    box-shadow: -18px 18px 0 #FFFFFF;
}

.dd-debt-action-card__button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: #52BE2F;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    /* box-shadow: 0 12px 24px rgba(82, 190, 47, 0.28); */
}

.dd-debt-action-card__button:hover {
    transform: translateY(-2px);
    background: #43AA24;
    color: #FFFFFF;
    box-shadow: 0 16px 30px rgba(82, 190, 47, 0.34);
}

@media (max-width: 1024px) {
    .dd-debt-actions__grid {
        gap: 18px;
    }

    .dd-debt-action-card {
        min-height: 330px;
        border-radius: 26px;
        padding: 44px 24px 80px;
    }

    .dd-debt-action-card__text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .dd-debt-actions {
        padding: 36px 0 18px;
    }

    .dd-debt-actions__grid {
        grid-template-columns: 1fr;
    }

    .dd-debt-action-card {
        min-height: 320px;
    }

    .dd-debt-action-card__button-wrap {
        width: min(82%, 330px);
    }
}

@media (max-width: 420px) {
    .dd-debt-action-card {
        min-height: 300px;
        padding: 38px 18px 76px;
        border-radius: 22px;
    }

    .dd-debt-action-card__button {
        min-width: 190px;
        font-size: 13px;
        padding: 0 22px;
    }
}


/* =========================
   Fixed quick navigation tabs
   ========================= */
.dd-side-nav,
.dd-side-nav * {
    box-sizing: border-box;
}

.dd-side-nav {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 880;
    width: 118px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #edf5ff;
    border-radius: 0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-50%);
}

.dd-side-nav__item {
    display: flex;
    min-height: 112px;
    width: 100%;
    padding: 18px 8px 16px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    color: #111827;
    text-align: center;
    text-decoration: none !important;
    border-bottom: 1px solid #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.dd-side-nav__item:last-child {
    border-bottom: 0;
}

.dd-side-nav__item:hover,
.dd-side-nav__item:focus-visible {
    background: #dfeeff;
    color: #0f172a;
    outline: none;
}

.dd-side-nav__icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.10);
}

.dd-side-nav__icon svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dd-side-nav__text {
    display: block;
    max-width: 96px;
    font-size: 13px;
    line-height: 1.18;
    font-weight: 500;
}

@media (max-width: 1280px) and (min-width: 769px) {
    .dd-side-nav {
        width: 104px;
    }

    .dd-side-nav__item {
        min-height: 102px;
        padding: 15px 7px 14px;
    }

    .dd-side-nav__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .dd-side-nav__icon svg {
        width: 25px;
        height: 25px;
    }

    .dd-side-nav__text {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 94px;
    }

    .dd-side-nav {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        transform: none;
        flex-direction: row;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .dd-side-nav__item {
        flex: 1 1 0;
        min-width: 0;
        min-height: 86px;
        padding: 12px 6px 10px;
        gap: 7px;
        border-bottom: 0;
        border-right: 1px solid #ffffff;
    }

    .dd-side-nav__item:last-child {
        border-right: 0;
    }

    .dd-side-nav__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .dd-side-nav__icon svg {
        width: 24px;
        height: 24px;
    }

    .dd-side-nav__text {
        max-width: 108px;
        font-size: 12px;
        line-height: 1.15;
    }
}

@media (max-width: 380px) {
    body {
        padding-bottom: 88px;
    }

    .dd-side-nav__item {
        min-height: 80px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .dd-side-nav__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .dd-side-nav__icon svg {
        width: 22px;
        height: 22px;
    }

    .dd-side-nav__text {
        font-size: 11px;
    }
}


/* =========================
   Mobile collapsible header menu
   ========================= */

.dd-mobile-menu-toggle {
    display: none;
}

@media (min-width: 769px) {
    .dd-mobile-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .dd-main-header__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 10px 30px;
        gap: 14px;
    }

    .dd-logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dd-logo__img {
        height: 100px;
        width: auto;
    }

    .dd-mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 0 auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: #111827;
        font-size: 18px;
        line-height: 1.2;
        /* font-weight: 500; */
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .dd-mobile-menu-toggle__text {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .dd-mobile-menu-toggle__icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #2563EB;
        color: #FFFFFF;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
        transition: transform 0.25s ease, background-color 0.25s ease;
    }

    .dd-mobile-menu-toggle__icon svg {
        display: block;
    }

    .dd-mobile-menu-toggle.is-open .dd-mobile-menu-toggle__icon {
        transform: rotate(180deg);
        background: #1D4ED8;
    }

    .dd-nav {
        display: none !important;
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .dd-nav.is-open {
        display: flex !important;
        animation: ddMobileMenuFade 0.2s ease;
    }

    .dd-nav .dd-menu {
        width: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin: 0;
        padding: 4px 0 2px;
        list-style: none;
    }

    .dd-nav .dd-menu a {
        display: inline-flex;
        color: #111827;
        font-size: 17px;
        line-height: 1.2;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .dd-header-cta {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .dd-header-cta .dd-btn {
        /* width: 100%; */
        /* max-width: 320px; */
        /* min-height: 58px; */
        /* border-radius: 16px; */
        /* font-size: 20px; */
        /* font-weight: 700; */
    }

    .dd-burger {
        display: none !important;
    }
}

@keyframes ddMobileMenuFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 380px) {
    .dd-mobile-menu-toggle {
        font-size: 16px;
    }

    .dd-mobile-menu-toggle__icon {
        width: 26px;
        height: 26px;
    }

    .dd-header-cta .dd-btn {
        /* max-width: 300px; */
        /* min-height: 30px; */
        /* font-size: 18px; */
    }
}
