/* =========================================================
   Contact us page (Views/Home/ContactUs)
   ========================================================= */

:root {
    --cu-primary: #1e88e5;
    --cu-primary-soft: #e8f2fd;
    --cu-accent: #fb9017;
    --cu-ink: #1f2937;
    --cu-text: #374151;
    --cu-muted: #6b7280;
    --cu-line: #edf1f6;
    --cu-bg: #f5f8fc;
    --cu-radius: 20px;
    --cu-shadow: 0 10px 30px -18px rgba(15, 35, 70, .38);
    --cu-shadow-lg: 0 24px 50px -22px rgba(15, 35, 70, .45);
    --cu-ease: cubic-bezier(.22, .61, .36, 1);
}

body {
    background: var(--cu-bg);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.cu-hero {
    position: relative;
    padding: 60px 0 130px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f2c52 0%, #1565c0 55%, #1e88e5 100%);
}

.cu-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cu-hero-shape-1 {
    top: -120px;
    left: -80px;
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, .07);
}

.cu-hero-shape-2 {
    bottom: -160px;
    right: 8%;
    width: 300px;
    height: 300px;
    background: rgba(251, 144, 23, .18);
    filter: blur(20px);
}

.cu-hero-inner {
    position: relative;
    max-width: 760px;
    text-align: center;
}

.cu-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 13px;
}

    .cu-breadcrumb a {
        color: rgba(255, 255, 255, .85);
    }

        .cu-breadcrumb a:hover {
            color: #fff;
            text-decoration: none;
        }

    .cu-breadcrumb > i {
        font-size: 9px;
        opacity: .6;
    }

    .cu-breadcrumb span {
        color: var(--cu-accent);
        font-weight: 700;
    }

.cu-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
}

.cu-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 15px;
    line-height: 2.1;
}

/* ---------------------------------------------------------
   Contact cards
   --------------------------------------------------------- */
.cu-page {
    position: relative;
    z-index: 1;
    margin-top: -80px;
    padding-bottom: 40px;
}

.cu-card {
    --tone: var(--cu-primary);
    --tone-soft: var(--cu-primary-soft);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px 22px;
    background: #fff;
    border: 1px solid var(--cu-line);
    border-radius: var(--cu-radius);
    box-shadow: var(--cu-shadow);
    overflow: hidden;
    transition: transform .4s var(--cu-ease), box-shadow .4s var(--cu-ease);
}

    .cu-card.is-orange {
        --tone: var(--cu-accent);
        --tone-soft: #fff3e3;
    }

    .cu-card.is-green {
        --tone: #10b981;
        --tone-soft: #e7f8f1;
    }

    .cu-card.is-purple {
        --tone: #7c3aed;
        --tone-soft: #f1ebfe;
    }

    .cu-card::after {
        content: "";
        position: absolute;
        top: -50px;
        left: -50px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: var(--tone-soft);
        opacity: .7;
        transition: transform .6s var(--cu-ease);
    }

    .cu-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--cu-shadow-lg);
    }

        .cu-card:hover::after {
            transform: scale(1.4);
        }

.cu-card-icon {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--tone-soft);
    color: var(--tone);
    font-size: 22px;
    transition: background .3s ease, color .3s ease, transform .4s var(--cu-ease);
}

.cu-card:hover .cu-card-icon {
    background: var(--tone);
    color: #fff;
    transform: rotate(-8deg);
}

.cu-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: var(--cu-muted);
    font-size: 13px;
    font-weight: 700;
}

.cu-card-value {
    position: relative;
    z-index: 1;
    margin: 0 0 6px;
    color: var(--cu-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.8;
    word-break: break-word;
}

.cu-ltr {
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: right;
    width: 100%;
}

.cu-address {
    font-size: 14px;
    font-weight: 700;
}

.cu-card-note {
    position: relative;
    z-index: 1;
    color: var(--cu-text);
    font-size: 14px;
}

.cu-card-action {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tone);
    font-size: 13px;
    font-weight: 700;
}

    .cu-card-action:hover {
        color: var(--tone);
        text-decoration: none;
    }

        .cu-card-action:hover i {
            transform: translateX(-3px);
        }

    .cu-card-action i {
        transition: transform .3s var(--cu-ease);
    }

/* ---------------------------------------------------------
   Map
   --------------------------------------------------------- */
.cu-map-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--cu-line);
    border-radius: var(--cu-radius);
    box-shadow: var(--cu-shadow);
    overflow: hidden;
    scroll-margin-top: 110px;
}

.cu-map-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--cu-line);
}

    .cu-map-head h2 {
        position: relative;
        margin: 0 0 4px;
        padding-right: 14px;
        color: var(--cu-ink);
        font-size: 18px;
        font-weight: 800;
    }

        .cu-map-head h2::before {
            content: "";
            position: absolute;
            right: 0;
            top: .3em;
            bottom: .3em;
            width: 4px;
            border-radius: 4px;
            background: linear-gradient(180deg, var(--cu-accent), var(--cu-primary));
        }

    .cu-map-head p {
        margin: 0;
        color: var(--cu-muted);
        font-size: 13px;
    }

.cu-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cu-map-frame {
    position: relative;
    height: 420px;
    background: #e2e8f0;
}

    .cu-map-frame iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

/* buttons */
.cu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s var(--cu-ease), background .2s ease, color .2s ease, box-shadow .2s ease;
}

    .cu-btn:hover {
        transform: translateY(-2px);
        text-decoration: none;
    }

    .cu-btn.is-primary {
        background: linear-gradient(135deg, var(--cu-accent), #ff6a3d);
        color: #fff;
        box-shadow: 0 10px 20px -10px rgba(251, 144, 23, .9);
    }

        .cu-btn.is-primary:hover {
            color: #fff;
        }

    .cu-btn.is-ghost {
        background: var(--cu-primary-soft);
        color: var(--cu-primary);
    }

        .cu-btn.is-ghost:hover {
            background: var(--cu-primary);
            color: #fff;
        }

    .cu-btn.is-light {
        background: #fff;
        color: var(--cu-primary);
    }

        .cu-btn.is-light:hover {
            color: var(--cu-primary);
        }

/* ---------------------------------------------------------
   Side column
   --------------------------------------------------------- */
.cu-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.cu-side-card {
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--cu-line);
    border-radius: var(--cu-radius);
    box-shadow: var(--cu-shadow);
}

.cu-help {
    position: relative;
    overflow: hidden;
    border: 0;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #fff;
    box-shadow: 0 20px 40px -18px rgba(30, 136, 229, .8);
}

    .cu-help::before {
        content: "";
        position: absolute;
        top: -60px;
        left: -60px;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .1);
    }

.cu-help-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    opacity: .25;
}

.cu-help h3 {
    position: relative;
    margin: 0 0 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.cu-help p {
    position: relative;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    line-height: 2;
}

.cu-side-title {
    margin: 0 0 12px;
    color: var(--cu-ink);
    font-size: 16px;
    font-weight: 800;
}

.cu-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .cu-links li + li {
        border-top: 1px solid var(--cu-line);
    }

    .cu-links a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 4px;
        color: var(--cu-text);
        font-size: 14px;
        font-weight: 600;
        transition: color .2s ease, padding .25s var(--cu-ease);
    }

        .cu-links a i {
            width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 9px;
            background: var(--cu-primary-soft);
            color: var(--cu-primary);
            font-size: 13px;
        }

        .cu-links a:hover {
            padding-right: 10px;
            color: var(--cu-primary);
            text-decoration: none;
        }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 767.98px) {
    .cu-hero {
        padding: 40px 0 110px;
    }

        .cu-hero h1 {
            font-size: 26px;
        }

        .cu-hero p {
            font-size: 14px;
        }

    .cu-map-frame {
        height: 320px;
    }

    .cu-map-actions {
        width: 100%;
    }

        .cu-map-actions .cu-btn {
            flex: 1;
        }
}

@media (prefers-reduced-motion: reduce) {
    .cu-page * {
        transition: none !important;
    }
}

/* phones: compact contact cards, icon beside the text */
@media (max-width: 575.98px) {
    .cu-page {
        margin-top: -70px;
    }

    .cu-cards > [class*="col-"] {
        margin-bottom: 12px !important;
    }

    .cu-card {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 14px;
        align-items: center;
        padding: 16px;
    }

        .cu-card > * {
            grid-column: 2;
        }

    .cu-card-icon {
        grid-column: 1;
        grid-row: 1 / span 4;
        align-self: start;
        width: 48px;
        height: 48px;
        margin: 0;
        border-radius: 14px;
        font-size: 19px;
    }

    .cu-card h3 {
        margin-bottom: 2px;
        font-size: 12px;
    }

    .cu-card-value {
        margin: 0;
        font-size: 15px;
    }

    .cu-card-action {
        margin-top: 6px;
        padding-top: 0;
    }

    .cu-card::after {
        width: 90px;
        height: 90px;
    }

    .cu-hero p {
        font-size: 13px;
    }

    .cu-map-head {
        padding: 16px;
    }
}
