﻿.cu, .cu-hero, .cu-cta {
    --brand: #12132c;
    --accent: #4f6df5;
    --line: #e4e6ee;
    --muted: #6b7280;
    --soft: #f5f6fb;
}

.cu-hero {
    background: linear-gradient(135deg, #12132c 0%, #1f2150 100%);
    color: #fff;
    padding: 70px 0 110px;
}

    .cu-hero h1 {
        font-size: 2.2rem;
        margin: 10px 0 12px;
    }

    .cu-hero p {
        max-width: 640px;
        opacity: .85;
        margin: 0;
        line-height: 2;
    }

.cu-bc {
    font-size: .85rem;
    opacity: .8;
}

    .cu-bc a {
        color: #fff;
        text-decoration: none;
    }

    .cu-bc span {
        margin: 0 6px;
    }

.cu-quick {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.cu-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 10px;
    text-decoration: none;
    color: var(--brand);
    box-shadow: 0 10px 30px rgba(18,19,44,.08);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}

    .cu-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(18,19,44,.14);
        color: var(--brand);
    }

    .cu-card span {
        font-size: .85rem;
        color: var(--muted);
        word-break: break-all;
    }

.cu-ico {
    font-style: normal;
    font-size: 1.5rem;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    border-radius: 50%;
    margin-bottom: 6px;
}

.cu-main, .cu-dept, .cu-mapwrap, .cu-faq {
    padding: 48px 0 0;
}

    .cu-main h2, .cu-side h2 {
        font-size: 1.2rem;
        margin: 0 0 6px;
    }

.cu-h {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--brand);
}

.cu-muted {
    color: var(--muted);
    font-size: .88rem;
}

.cu-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
}

.cu-form label {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--brand);
}

.cu-form input, .cu-form select, .cu-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    font: inherit;
    background: #fff;
}

    .cu-form input:focus, .cu-form select:focus, .cu-form textarea:focus {
        outline: 2px solid var(--accent);
        border-color: var(--accent);
    }

.cu-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.cu-submit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cu-btn {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    border: 2px solid var(--brand);
    border-radius: 10px;
    padding: 12px 32px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s;
}

    .cu-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: #fff;
    }

.cu-btn-light {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
}

    .cu-btn-light:hover {
        background: transparent;
        color: #fff;
        border-color: #fff;
    }

.cu-btn-line {
    background: transparent;
    border-color: #fff;
}

.cu-alert {
    border-radius: 10px;
    padding: 12px 16px;
    margin: 14px 0;
    font-size: .9rem;
}

.cu-ok {
    background: #e7f8ee;
    color: #136c3a;
}

.cu-err {
    background: #fdeaea;
    color: #a12121;
}

.cu-side {
    background: var(--brand);
    color: #fff;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
}

    .cu-side h2 {
        margin-top: 22px;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255,255,255,.18);
    }

        .cu-side h2:first-child {
            margin-top: 0;
        }

.cu-hours {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

    .cu-hours li {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        padding: 7px 0;
        font-size: .9rem;
    }

.cu-addr {
    margin-top: 14px;
}

    .cu-addr p {
        margin: 4px 0 0;
        opacity: .85;
        font-size: .88rem;
        line-height: 1.9;
    }

.cu-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

    .cu-social a {
        color: #fff;
        border: 1px solid rgba(255,255,255,.35);
        border-radius: 999px;
        padding: 5px 14px;
        font-size: .82rem;
        text-decoration: none;
    }

        .cu-social a:hover {
            background: #fff;
            color: var(--brand);
        }

.cu-dcard {
    background: var(--soft);
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .cu-dcard p {
        margin: 0 0 6px;
    }

    .cu-dcard span {
        font-size: .85rem;
        font-weight: 700;
    }

    .cu-dcard a {
        font-size: .85rem;
        color: var(--accent);
        text-decoration: none;
        word-break: break-all;
    }

.cu-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    height: 380px;
}

    .cu-map iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

.cu-faqbox details {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: #fff;
}

.cu-faqbox summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--brand);
}

.cu-faqbox p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 2;
    font-size: .92rem;
}

.cu-cta {
    background: linear-gradient(135deg, #12132c, #2a2d6b);
    color: #fff;
    padding: 40px 0;
    margin-top: 56px;
}

    .cu-cta .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
    }

    .cu-cta h2 {
        font-size: 1.3rem;
        margin: 0 0 4px;
    }

    .cu-cta p {
        margin: 0;
        opacity: .8;
    }

.cu-ctabtn {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .cu-hero {
        padding: 50px 0 90px;
    }

        .cu-hero h1 {
            font-size: 1.6rem;
        }

    .cu-box, .cu-side {
        padding: 20px;
    }

    .cu-map {
        height: 300px;
    }

    .cu-cta .container {
        text-align: center;
        justify-content: center;
    }
}
#saham {
    scroll-margin-top: 110px; /* ارتفاع هدر + کمی فاصله */
}

.cu-dcard {
    transition: box-shadow .3s, border-color .3s;
}

#saham:target .cu-dcard {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(79,109,245,.25);
}

.cu-mapcard {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18,19,44,.06);
}

.cu-mapcard-body {
    flex: 1 1 50%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.cu-mapcard-tag {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(79,109,245,.1);
    padding: 3px 12px;
    border-radius: 999px;
}

.cu-mapcard-body h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--brand);
}

.cu-mapcard-body p {
    margin: 0 0 8px;
    color: var(--muted);
    line-height: 2;
    font-size: .92rem;
}

.cu-mapcard-img {
    flex: 1 1 50%;
    min-height: 260px;
    position: relative;
}

    .cu-mapcard-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s;
    }

.cu-mapcard:hover .cu-mapcard-img img {
    transform: scale(1.04);
}

@media (max-width: 767px) {
    .cu-mapcard {
        flex-direction: column-reverse;
    }

    .cu-mapcard-body {
        padding: 22px;
    }

    .cu-mapcard-img {
        min-height: 200px;
    }
}