/* ═══════════════════════════════════════════════════════
   DMHouse Footer — WoodMart-style dark footer
   uses CSS vars: --dm-primary, --dm-secondary,
   --dm-footer-bg, --dm-footer-text, --dm-radius
   ═══════════════════════════════════════════════════════ */

/* ── Contact Bar ── */
.dmh-footer__contact-bar {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 22px 0;
    position: relative;
    z-index: 2;
}

.dmh-footer__contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.dmh-footer__contact-text {
    position: relative;
    padding-right: 18px;
}

.dmh-footer__contact-text::before {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    width: 4px;
    height: 44px;
    background: var(--dm-primary);
    border-radius: 4px;
}

.dmh-footer__contact-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    color: #222;
    line-height: 1.6;
}

.dmh-footer__contact-title span {
    color: var(--dm-primary);
    font-weight: 800;
}

.dmh-footer__contact-desc {
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.dmh-footer__contact-form-wrap {
    flex-shrink: 0;
    min-width: 280px;
}

.dmh-footer__form {
    position: relative;
    direction: rtl;
}

.dmh-footer__input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--dm-border, #eee);
    border-radius: var(--dm-radius, 10px);
    overflow: hidden;
    background: #f8f9fb;
    transition: border-color 0.25s;
}

.dmh-footer__input-group:focus-within {
    border-color: var(--dm-primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--dm-primary-10);
}

.dmh-footer__input-group input[type="tel"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 14px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    text-align: right;
    color: #222;
}

.dmh-footer__input-group button {
    border: none;
    background: var(--dm-primary);
    color: #fff;
    padding: 11px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
}

.dmh-footer__input-group button:hover {
    background: var(--dm-secondary);
}

.dmh-footer__input-group button svg {
    fill: #fff;
    transform: scaleX(-1);
    flex-shrink: 0;
}

.dmh-footer__form-status {
    font-size: 12px;
    min-height: 18px;
    margin-top: 6px;
    padding-right: 4px;
}

/* ── Footer Body ── */
.dmh-footer {
    direction: rtl;
    background: var(--dm-footer-bg, #1b1b2f);
    color: var(--dm-footer-text, #a0a0b8);
}

.dmh-footer .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dmh-footer__body {
    padding: 56px 0 40px;
}

.dmh-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 40px;
    align-items: start;
}

/* ── Column Shared ── */
.dmh-footer__col-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    padding-bottom: 12px;
    position: relative;
}

.dmh-footer__col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 3px;
    background: var(--dm-primary);
    border-radius: 2px;
}

/* ── Col 1: About ── */
.dmh-footer__col--about {}

.dmh-footer__logo {
    display: inline-block;
    margin-bottom: 18px;
}

.dmh-footer__logo img {
    height: 52px;
    width: auto;
    /*filter: brightness(0) invert(1);*/
    opacity: 0.9;
}

.dmh-footer__site-name {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    margin-bottom: 18px;
}

.dmh-footer__about-text {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--dm-footer-text, #a0a0b8);
    margin: 0 0 20px;
}

/* ── Social Icons ── */
.dmh-footer__socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.dmh-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.22s, transform 0.22s, border-color 0.22s;
    text-decoration: none;
}

.dmh-footer__social-link svg {
    fill: var(--dm-footer-text, #a0a0b8);
    transition: fill 0.22s;
}

.dmh-footer__social-link:hover {
    background: var(--dm-primary);
    border-color: var(--dm-primary);
    transform: translateY(-3px);
}

.dmh-footer__social-link:hover svg {
    fill: #fff;
}

/* ── Namads ── */
.dmh-footer__namads {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.dmh-footer__namad-item {
    display: inline-flex;
}

.dmh-footer__namad-item img {
    height: 64px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s;
}

.dmh-footer__namad-item:hover img {
    transform: scale(1.05);
}

/* ── Nav Menus ── */
.dmh-footer__menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dmh-footer__menu-list li {
    margin-bottom: 11px;
}

.dmh-footer__menu-list a {
    text-decoration: none;
    color: var(--dm-footer-text, #a0a0b8);
    font-size: 13.5px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, padding-right 0.2s;
}

.dmh-footer__menu-list a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--dm-primary);
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.dmh-footer__menu-list a:hover {
    color: #fff;
    padding-right: 4px;
}

.dmh-footer__menu-list a:hover::before {
    opacity: 1;
}

/* ── Contact List ── */
.dmh-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dmh-footer__contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--dm-footer-text, #a0a0b8);
}

.dmh-footer__contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.dmh-footer__contact-icon svg {
    fill: var(--dm-primary);
    display: block;
}

.dmh-footer__contact-item a {
    color: inherit;
    text-decoration: none;
    direction: ltr;
    display: inline-block;
    transition: color 0.2s;
}

.dmh-footer__contact-item a:hover {
    color: var(--dm-primary);
}

/* ── Bottom Bar ── */
.dmh-footer__bottom {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
}

.dmh-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.dmh-footer__copyright,
.dmh-footer__bottom-year {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255,255,255,0.38);
    line-height: 1.6;
}

/* ══════════════════════════════
   Responsive
══════════════════════════════ */
@media (max-width: 1100px) {
    .dmh-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .dmh-footer__col--about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .dmh-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dmh-footer__col--about {
        grid-column: auto;
    }
    .dmh-footer__contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .dmh-footer__contact-form-wrap {
        width: 100%;
        min-width: unset;
    }
    .dmh-footer__contact-text {
        padding-right: 14px;
    }
    .dmh-footer__bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .dmh-footer__body {
        padding: 36px 0 24px;
    }
    .dmh-footer__socials {
        justify-content: flex-start;
    }
}