/* ======================================================
   ISFAHANWEB SHELL
   Header + Footer
====================================================== */

.iw-site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: rgba(255,253,249,.96);
    border-bottom: 1px solid #e8e1d5;
    backdrop-filter: blur(14px);
}

.iw-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.iw-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #2D3748 !important;
    text-decoration: none;
    white-space: nowrap;
}

.iw-brand strong {
    font-size: 1.08rem;
    font-weight: 900;
}

.iw-brand-mark {
    position: relative;
    width: 35px;
    height: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 5px;
    border-radius: 11px;
    background: #e5f3f0;
    transform: rotate(45deg);
}

.iw-brand-mark i {
    display: block;
    border-radius: 2px;
    background: #2EB3F0;
}

.iw-brand-mark i:nth-child(2),
.iw-brand-mark i:nth-child(3) {
    background: #FF8A00;
}

.iw-brand-logo-img {
    display: block;
    width: auto;
    max-width: 160px;
    max-height: 52px;
}

.iw-desktop-nav {
    margin-inline-start: auto;
}

.iw-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.iw-menu a {
    display: block;
    padding: 10px 13px;
    border-radius: 10px;
    color: #44565a !important;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 700;
}

.iw-menu a:hover {
    background: #eef6f4;
    color: #2497C8 !important;
}

.iw-header-cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 17px;
    border-radius: 11px;
    background: #2497C8;
    color: #fff !important;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 800;
}


/* MOBILE MENU */

.iw-mobile-nav {
    display: none;
    margin-inline-start: auto;
    position: relative;
}

.iw-mobile-nav summary {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 4px;
    cursor: pointer;
    border-radius: 10px;
    background: #eef6f4;
    list-style: none;
}

.iw-mobile-nav summary::-webkit-details-marker {
    display: none;
}

.iw-mobile-nav summary span {
    width: 19px;
    height: 2px;
    display: block;
    background: #2D3748;
    border-radius: 4px;
}

.iw-mobile-nav nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: min(300px, calc(100vw - 28px));
    padding: 12px;
    display: grid;
    gap: 4px;
    border: 1px solid #e5ded0;
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: 0 20px 60px rgba(33,52,58,.14);
}

.iw-mobile-nav nav a {
    padding: 11px 13px;
    border-radius: 10px;
    color: #2D3748;
    text-decoration: none;
    font-weight: 700;
}

.iw-mobile-nav nav a:hover {
    background: #eef6f4;
}

.iw-mobile-nav .iw-mobile-cta {
    margin-top: 5px;
    text-align: center;
    background: #2497C8;
    color: #fff;
}


/* FOOTER */

.iw-site-footer {
    padding: 76px 0 24px;
    background:
        linear-gradient(
            180deg,
            #eef6f4 0%,
            #f8f3e9 100%
        );
    color: #2D3748;
    border-top: 1px solid #dce8e3;
}

.iw-footer-grid {
    display: grid;
    grid-template-columns: 1.45fr .8fr 1fr 1fr;
    gap: 58px;
}

.iw-footer-brand-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.iw-footer-brand-title strong {
    font-size: 1.18rem;
}

.iw-footer-brand p {
    max-width: 380px;
    margin: 20px 0 18px;
    color: #657579;
    line-height: 2;
}

.iw-footer-local {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(22,139,137,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    color: #2497C8;
    font-size: .8rem;
    font-weight: 800;
}

.iw-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.iw-footer-column > strong {
    margin-bottom: 8px;
    color: #2D3748;
}

.iw-footer-column nav {
    display: grid;
    gap: 8px;
}

.iw-footer-column a {
    color: #657579 !important;
    text-decoration: none;
    line-height: 1.7;
}

.iw-footer-column a:hover {
    color: #2497C8 !important;
}

.iw-footer-contact-btn {
    margin-top: 9px;
    padding: 9px 15px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #d9e3de;
    font-weight: 800;
}

.iw-footer-bottom {
    margin-top: 54px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #d9e3de;
    color: #819093;
    font-size: .78rem;
}


/* RESPONSIVE */

@media (max-width: 980px) {

    .iw-desktop-nav,
    .iw-header-cta {
        display: none;
    }

    .iw-mobile-nav {
        display: block;
    }

    .iw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 620px) {

    .iw-header-inner {
        min-height: 66px;
    }

    .iw-brand strong {
        font-size: .95rem;
    }

    .iw-brand-mark {
        width: 31px;
        height: 31px;
    }

    .iw-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .iw-site-footer {
        padding-top: 54px;
    }

    .iw-footer-bottom {
        flex-direction: column;
    }

}

/* ======================================================
   ISFAHANWEB FINAL LOGO
====================================================== */

.iw-brand-icon-only {
    width: 70px;
    height: 54px;
    justify-content: center;
}

.iw-header-logo-mark {
    display: block;
    width: 68px;
    height: 50px;
    object-fit: contain;
}

.iw-footer-lockup {
    display: flex;
    align-items: center;
    gap: 18px;
}

.iw-footer-logo-mark {
    display: block;
    width: 92px;
    height: auto;
    flex: 0 0 auto;
}

.iw-lockup-copy {
    display: grid;
    gap: 7px;
}

.iw-lockup-fa,
.iw-lockup-en {
    display: grid;
    grid-template-columns: auto 3px auto;
    align-items: center;
    gap: 10px;
}

.iw-lockup-fa > i,
.iw-lockup-en > i {
    display: block;
    width: 3px;
    height: 42px;
    border-radius: 3px;
    background: #FF8A00;
}

.iw-lockup-fa .iw-lockup-isfahan {
    color: #2D3748;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
}

.iw-lockup-stack {
    display: grid;
    gap: 0;
    line-height: .95;
}

.iw-lockup-fa .iw-lockup-stack b {
    color: #2EB3F0;
    font-size: .98rem;
}

.iw-lockup-en strong {
    color: #3f555a;
    font: 800 1.05rem/1 sans-serif;
    letter-spacing: .04em;
}

.iw-lockup-en .iw-lockup-stack b {
    color: #2EB3F0;
    font: 800 .78rem/.95 sans-serif;
}

@media (max-width: 620px) {

    .iw-brand-icon-only {
        width: 58px;
        height: 46px;
    }

    .iw-header-logo-mark {
        width: 56px;
        height: 42px;
    }

    .iw-footer-logo-mark {
        width: 78px;
    }

    .iw-lockup-fa .iw-lockup-isfahan {
        font-size: 1.4rem;
    }

}

/* ======================================================
   ISFAHANWEB APPROVED BRAND — FROZEN
====================================================== */

.iw-header-logo-mark {
    display:block;
    width:64px;
    height:52px;
    object-fit:contain;
    object-position:center;
}

.iw-footer-approved-brand {
    display:block;
    margin:0 0 20px;
}

.iw-footer-approved-lockup {
    display:block;
    width:min(100%, 290px);
    max-height:175px;
    object-fit:contain;
    object-position:right center;
}

@media (max-width:700px) {

    .iw-header-logo-mark {
        width:56px;
        height:46px;
    }

    .iw-footer-approved-lockup {
        width:min(100%, 250px);
        max-height:155px;
    }

}
