﻿.Footer {
    position: relative;
    color: #eaf2ff;
    overflow: hidden;
    background: linear-gradient(200deg,#0ea5e9 0%, #1e3a8a 82%);
    font-family: 'peyda', Tahoma, Arial, sans-serif;
}

.Footer--compact {
    padding: 12px 0
}

.Footer-wrap {
    margin: auto;
    padding: 18px 18px;
    background: darkblue;
    font-family: Peyda;
}

.Footer-rowMain {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 64px;
}

/* برند + منوی درباره ما */
.Footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 240px
}

.Footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#38bdf8,#1e3a8a);
    box-shadow: 0 8px 18px rgba(14,165,233,.35);
    font-weight: 900;
    color: #fff;
    flex: 0 0 36px;
}

.Footer-brandText {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.Footer-title {
    margin: 0;
    font-weight: 900;
    color: #fff;
    line-height: 1
}

.Footer-tagline {
    margin: 0;
    color: #dbeafe;
    font-size: 12px;
    line-height: 1
}

.Footer-aboutNav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

    .Footer-aboutNav a {
        font-size: 12px;
        color: #e5ecff;
        padding: 6px 10px;
        border-radius: 999px;
        line-height: 1;
        background: rgba(255,255,255,.14);
        border: 1px solid rgba(255,255,255,.25);
        transition: transform .15s ease, background .15s ease;
    }

        .Footer-aboutNav a:hover {
            background: rgba(255,255,255,.2);
            transform: translateY(-1px)
        }

/* لینک‌های اصلی + زیرمنوی دسته‌بندی‌ها */
.Footer-linksWrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 340px;
    flex: 1
}

.Footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap
}

    .Footer-links a {
        color: #e5ecff;
        font-size: 14px;
        position: relative;
        padding: 6px 0;
        line-height: 1;
        transition: color .18s ease, transform .18s ease;
    }

        .Footer-links a:hover {
            color: #fff;
            transform: translateY(-1px)
        }

        .Footer-links a::after {
            content: "";
            position: absolute;
            inset-inline: 0;
            bottom: -2px;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg,#93c5fd,#06b6d4);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .18s ease;
        }

        .Footer-links a:hover::after {
            transform: scaleX(1)
        }

/* ردیف دسته‌بندی‌های پویا (چیب‌ها) */
.Footer-subcats {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 36px; /* ثابت می‌ماند تا پرش نداشته باشیم */
}

.Footer-subchip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px dashed rgba(255,255,255,.35);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

    .Footer-subchip:hover {
        background: rgba(255,255,255,.2);
        transform: translateY(-1px);
        border-style: solid
    }

/* تماس/فرم/شبکه‌ها */
.Footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

.Footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    font-size: 12px;
    color: #fff;
}

.Footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(2,6,23,.08);
    color: #0b3aa9;
    font-weight: 800;
}

.Footer-input {
    height: 36px;
    min-width: 200px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .16);
    color: #fff;
    outline: none;
    font-family: 'peyda';
}

    .Footer-input::placeholder {
        color: #eef2ff
    }

.Footer-btn {
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    background: #e0a100;
    color: #fff;
    font-weight: 800;
}

.Footer-social {
    display: flex;
    align-items: center;
    gap: 8px
}

    .Footer-social a {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: #ffffff;
        border: 1px solid rgba(2,6,23,.08);
        transition: transform .15s ease, box-shadow .15s ease;
    }

        .Footer-social a:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(255,255,255,.18)
        }

/* نوار پایین خیلی نازک */
.Footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.22);
}

.Footer-copy {
    color: #e7efff;
    font-size: 12px
}

/* رسپانسیو */
@media (max-width:980px) {
    .Footer-rowMain {
        align-items: stretch
    }

    .Footer-linksWrap {
        order: 3;
        width: 100%
    }

    .Footer-contact {
        order: 2
    }

    .Footer-bottom {
        flex-direction: column;
        gap: 6px
    }
}
