 /* ========================================
   CONTACT PAGE BASE
======================================== */

.contact-page {
    --cp-navy: #152250;
    --cp-navy-light: #263C78;
    --cp-text: #56617D;
    --cp-blue: #EAF0FC;
    --cp-cream: #FFF7EE;
    --cp-orange: #C43F0C;
    --cp-green: #16834A;

    width: 100%;
    overflow: hidden;
    color: var(--cp-navy);
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

/* ========================================
   HERO — ORIGINAL LIGHT GRADIENT
======================================== */

.cp-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 24px 70px;
    background: linear-gradient(
        120deg,
        #EEF3FF,
        #fff 52%,
        #FFF4E9
    );
}

.cp-hero::after {
    content: "";
    position: absolute;
    top: -150px;
    right: -110px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 192, 46, .35),
        transparent 70%
    );
    pointer-events: none;
}

.cp-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    
}

.cp-hero .cp-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--cp-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cp-hero h1 {
    margin: 0 0 18px;
    color: var(--cp-navy);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.15;
}

.cp-hero p {
    max-width: 680px;
    color: var(--cp-text);
    font-size: 17px;
    line-height: 1.8;
}

/* ========================================
   MAIN CONTENT
======================================== */

.cp-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 76px;
}

.cp-main-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: stretch;
}

/* ========================================
   HEAD OFFICE CARD
======================================== */

.cp-office-card {
    padding: 36px;
    border-radius: 22px;
    background: linear-gradient(
        145deg,
        var(--cp-navy),
        var(--cp-navy-light)
    );
    color: #fff;
    box-shadow: 0 14px 36px rgba(21, 34, 80, .15);
}

.cp-office-badge {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .14);
    color: #FFE0A0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.cp-office-card h3 {
    margin: 22px 0 14px;
    color: #fff;
    font-size: 27px;
    line-height: 1.3;
}

.cp-office-address {
    color: #E5EAF7;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.cp-office-hours {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: #E5EAF7;
    font-size: 14px;
    line-height: 1.8;
}

.cp-office-hours strong {
    display: inline-block;
    margin-bottom: 5px;
    color: #FFE0A0;
}

/* ========================================
   CONTACT DETAIL CARDS
======================================== */

.cp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
    background: #F1F5FC;
}

.cp-contact-card {
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid #E4EAF5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(21, 34, 80, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cp-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(21, 34, 80, .09);
}

.cp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 17px;
    border-radius: 14px;
    background: #EAF0FC;
    color: var(--cp-navy);
    font-size: 23px;
}

.cp-contact-card h3 {
    margin: 0 0 9px;
    color: var(--cp-navy);
    font-size: 19px;
    line-height: 1.35;
}

.cp-contact-card p {
    margin: 0 0 12px;
    color: var(--cp-text);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.cp-contact-card a:not(.cp-whatsapp-button) {
    color: #294A96;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.cp-contact-card a:not(.cp-whatsapp-button):hover {
    color: var(--cp-orange);
    text-decoration: underline;
}

/* WhatsApp card */
.cp-whatsapp .cp-icon {
    background: #E4F7EB;
    color: var(--cp-green);
}

.cp-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 15px;
    border-radius: 9px;
    background: var(--cp-green);
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease;
}

.cp-whatsapp-button:hover {
    background: #106B3B;
}

/* ========================================
   OTHER OFFICES
======================================== */

.cp-other-offices {
    margin-top: 64px;
    padding: 38px;
    border-radius: 24px;
    background: var(--cp-cream);
}

.cp-other-offices h2 {
    margin: 0 0 28px;
    color: var(--cp-navy);
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.3;
    text-align: center;
}

.cp-other-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cp-other-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid #F1E6D9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(90, 60, 30, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

.cp-other-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(90, 60, 30, .09);
}

.cp-other-card .cp-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--cp-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cp-other-card h3 {
    margin: 0 0 14px;
    color: var(--cp-navy);
    font-size: 21px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cp-other-card p {
    margin: 0 0 10px;
    color: var(--cp-text);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.cp-other-card p:last-child {
    margin-bottom: 0;
}

.cp-other-card a {
    color: #294A96;
    font-weight: 600;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.cp-other-card a:hover {
    color: var(--cp-orange);
    text-decoration: underline;
}

/* ========================================
   CAREERS SECTION AT THE BOTTOM
======================================== */

.cp-careers {
    border-top: 1px solid rgba(21, 34, 80, .14);
    background: #fff;
}

.cp-careers-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(44px, 5vw, 84px) clamp(18px, 4vw, 44px);
}

.cp-career-box {
    display: grid;
    justify-items: start;
    gap: 16px;
    padding: clamp(30px, 4vw, 60px);
    border-radius: 20px;
    background: #2454FF;
    color: #fff;
    box-shadow: 0 16px 38px rgba(36, 84, 255, .14);
}

.cp-careers-eyebrow {
    color: #FFC02E;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.cp-career-box h2 {
    max-width: 26ch;
    margin: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 3.8vw, 48px);
    font-weight: 800;
    line-height: 1.12;
}

.cp-careers-description {
    max-width: 120ch;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.7;
}

.cp-careers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.cp-careers-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 15px 22px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    transition: background .2s ease, color .2s ease;
}

.cp-careers-button-primary {
    background: #FFC02E;
    color: #152250 !important;
}

.cp-careers-button-primary:hover {
    background: #FFD46B;
    color: #152250 !important;
}

.cp-careers-button-secondary {
    border-color: rgba(255, 255, 255, .5);
    background: transparent;
    color: #fff !important;
}

.cp-careers-button-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
    .cp-main-grid {
        grid-template-columns: 1fr;
    }

    .cp-other-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-office-card {
        padding: 30px;
    }

    .cp-other-offices {
        padding: 30px;
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {
    .cp-hero {
        padding: 52px 20px 48px;
    }

    .cp-hero::after {
        top: -90px;
        right: -100px;
        width: 230px;
        height: 230px;
    }

    .cp-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .cp-inner {
        padding: 36px 16px 48px;
    }

    .cp-main-grid {
        gap: 20px;
    }

    .cp-office-card {
        padding: 25px 22px;
        border-radius: 18px;
    }

    .cp-office-card h3 {
        font-size: 24px;
    }

    .cp-contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .cp-contact-card {
        padding: 22px;
    }

    .cp-other-offices {
        margin-top: 40px;
        padding: 24px 16px;
        border-radius: 18px;
    }

    .cp-other-offices h2 {
        margin-bottom: 22px;
    }

    .cp-other-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cp-other-card {
        padding: 22px;
    }

    .cp-careers-inner {
        padding: 38px 16px;
    }

    .cp-career-box {
        gap: 14px;
        padding: 28px 22px;
        border-radius: 16px;
    }

    .cp-careers-description {
        font-size: 15px;
    }

    .cp-careers-actions {
        width: 100%;
        flex-direction: column;
    }

    .cp-careers-button {
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cp-contact-card,
    .cp-other-card,
    .cp-whatsapp-button,
    .cp-careers-button {
        transition: none;
    }

    .cp-contact-card:hover,
    .cp-other-card:hover {
        transform: none;
    }
}