/* ============================================================
   contact-us.css
   صفحه تماس با ما — دندانپزشکی تخصصی حضرت زهرا | dentoral.org
   ------------------------------------------------------------
   همه کلاس‌ها با پیشوند "cu-" ایزوله شده‌اند تا با Bootstrap 5
   و به‌ویژه کلاس .section در stdr.css تداخل نکنند.
   هیچ کلاس عمومی (section / panel / container / card / label / row)
   در این فایل تعریف نشده است.
   ============================================================ */

/* ---------- متغیرها (نمونه‌برداری‌شده از پنل باشگاه مراجعین) ---------- */
.cu-page {
    --cu-teal-1: #5CAEC4;
    --cu-teal-2: #2F7488;
    --cu-navy: #242F48;
    --cu-gold: #9E7D5A;
    --cu-bg: #F6F6F6;
    --cu-card: #FFFFFF;
    --cu-muted: #6B7A8D;
    --cu-pill: rgba(255,255,255,.14);
    --cu-pill-line: rgba(255,255,255,.22);
    --cu-danger-bg: #FCEDE8;
    --cu-danger-line: #F0B9A4;
    --cu-danger-ink: #B4402A;
    --cu-radius: 22px;
    --cu-shadow: 0 8px 26px rgba(36,47,72,.10);
    direction: rtl;
    text-align: right;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: var(--cu-navy);
    line-height: 1.75;
    background: var(--cu-bg);
    padding: 6px 0 0;
}

.cu-page * {
    box-sizing: border-box;
}

.cu-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* ---------- پنل دسترسی سریع ---------- */
.cu-panel {
    background: linear-gradient(135deg, var(--cu-teal-1) 0%, var(--cu-teal-2) 100%);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(47,116,136,.28);
}

.cu-panel-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: .85;
    margin: 2px 6px 14px;
}

.cu-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cu-pill);
    border: 1px solid var(--cu-pill-line);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #fff;
    transition: background .15s ease;
}

.cu-pill:last-child {
    margin-bottom: 0;
}

.cu-pill:hover,
.cu-pill:focus {
    background: rgba(255,255,255,.22);
    color: #fff;
    text-decoration: none;
}

.cu-pill .cu-lbl {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.cu-pill .cu-sub {
    font-size: 12.5px;
    color: rgba(255,255,255,.8);
    margin-top: 3px;
    direction: ltr;
    text-align: right;
}

.cu-pill > svg {
    width: 22px;
    height: 22px;
    color: #fff;
    flex-shrink: 0;
    margin-inline-start: auto;
}

.cu-pill .cu-status {
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,.22);
    padding: 4px 10px;
    border-radius: 999px;
    margin-inline-start: auto;
    white-space: nowrap;
}

.cu-pill .cu-status + svg {
    margin-inline-start: 8px;
}

/* ---------- بلوک و تیتر بخش‌ها ---------- */
.cu-block {
    padding: 36px 0 6px;
}

.cu-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.cu-head .cu-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cu-gold);
    flex-shrink: 0;
}

.cu-head h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--cu-navy);
}

.cu-head .cu-hint {
    font-size: 12.5px;
    color: var(--cu-muted);
    margin-inline-start: auto;
}

/* ---------- کارت‌های تلفن و ساعت ---------- */
.cu-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
}

.cu-card {
    background: var(--cu-card);
    border-radius: 18px;
    box-shadow: var(--cu-shadow);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--cu-navy);
    transition: transform .15s ease, box-shadow .15s ease;
}

a.cu-card:hover,
a.cu-card:focus {
    transform: translateY(-2px);
    color: var(--cu-navy);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(36,47,72,.16);
}

.cu-card .cu-ic {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--cu-teal-1), var(--cu-teal-2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cu-card .cu-ic svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.cu-card .cu-ic img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* آیکن دیتابیس را سفید می‌کند تا روی کاشی فیروزه‌ای بنشیند */
}

.cu-card .cu-num {
    font-size: 16px;
    font-weight: 700;
    direction: ltr;
    text-align: right;
    display: block;
}

.cu-card .cu-cap {
    font-size: 12.5px;
    color: var(--cu-muted);
    margin-top: 2px;
}

.cu-card.cu-emg {
    background: var(--cu-danger-bg);
    border: 1px solid var(--cu-danger-line);
    grid-column: 1 / -1;
}

.cu-card.cu-emg .cu-ic {
    background: var(--cu-danger-ink);
}

.cu-card.cu-emg .cu-num {
    color: var(--cu-danger-ink);
}

/* ---------- آدرس و مسیریابی ---------- */
.cu-addr {
    background: var(--cu-card);
    border-radius: var(--cu-radius);
    box-shadow: var(--cu-shadow);
    padding: 24px;
}

.cu-addr-top {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.cu-addr-top .cu-ic {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--cu-teal-1), var(--cu-teal-2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cu-addr-top .cu-ic svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.cu-addr-top p {
    margin: 0;
    font-size: 15px;
    color: var(--cu-navy);
    font-weight: 600;
}

.cu-addr-top .cu-near {
    font-size: 13px;
    color: var(--cu-muted);
    margin-top: 4px;
}

.cu-mapbtns {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.cu-mapbtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: 14px;
    background: #EEF6F8;
    border: 1px solid #D7EAEE;
    text-decoration: none;
    color: var(--cu-teal-2);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background .15s ease;
}

.cu-mapbtn:hover,
.cu-mapbtn:focus {
    background: #E1F0F3;
    color: var(--cu-teal-2);
    text-decoration: none;
}

.cu-mapbtn svg {
    width: 24px;
    height: 24px;
}

.cu-mapbtn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ---------- مترو و پارکینگ ---------- */
.cu-transit {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cu-trow {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--cu-card);
    border-radius: 14px;
    box-shadow: var(--cu-shadow);
    padding: 14px 16px;
    text-decoration: none;
    color: var(--cu-navy);
    transition: transform .15s ease;
}

.cu-trow:hover,
.cu-trow:focus {
    transform: translateY(-2px);
    color: var(--cu-navy);
    text-decoration: none;
}

.cu-trow .cu-ic {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #EEF6F8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cu-trow .cu-ic svg {
    width: 18px;
    height: 18px;
    color: var(--cu-teal-2);
}

.cu-trow .cu-ic img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.cu-trow .cu-name {
    font-size: 14.5px;
    font-weight: 600;
    flex: 1;
}

.cu-trow .cu-dist {
    font-size: 13px;
    color: var(--cu-muted);
    white-space: nowrap;
}

/* ---------- نوار چسبان تماس ---------- */
.cu-cta {
    position: sticky;
    bottom: 14px;
    margin-top: 36px;
    z-index: 20;
    background: var(--cu-navy);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(36,47,72,.35);
}

.cu-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
}

.cu-cta .cu-call {
    background: linear-gradient(135deg, var(--cu-teal-1), var(--cu-teal-2));
    color: #fff;
}

.cu-cta .cu-wa {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.cu-cta a:hover,
.cu-cta a:focus {
    color: #fff;
    text-decoration: none;
    opacity: .92;
}

.cu-cta svg {
    width: 17px;
    height: 17px;
}

/* ---------- لنگرها زیر هدر ثابت گیر نکنند ---------- */
.cu-page :target {
    scroll-margin-top: 90px;
}

/* ---------- موبایل ---------- */
@media (max-width: 575.98px) {
    .cu-grid {
        grid-template-columns: 1fr;
    }

    .cu-wrap {
        padding: 0 12px 30px;
    }

    .cu-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .cu-head h2 {
        font-size: 16.5px;
    }

    .cu-head .cu-hint {
        display: none;
    }

    .cu-addr {
        padding: 18px;
    }
}
