/**
 * Contact Page Dedicated Stylesheet
 * 
 * @package AlRakiJotun
 */

.contact-page-wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ── 1. Compact Premium Hero ── */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #021E36 0%, #032B4F 55%, #0A4370 100%);
    color: #FFFFFF;
    padding: clamp(32px, 4.5vw, 52px) 0 clamp(24px, 3.5vw, 40px);
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(229, 180, 0, 0.16) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(3, 43, 79, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

.contact-hero .about-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero .about-hero__breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

.contact-hero .about-hero__bc-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-hero .about-hero__bc-link:hover {
    color: #E5B400;
}

.contact-hero .about-hero__bc-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.contact-hero .about-hero__bc-current {
    color: #E5B400;
    font-weight: 700;
}

.contact-hero .about-hero__title {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 10px;
}

.contact-hero .about-hero__title .accent {
    color: #E5B400;
}

.contact-hero .about-hero__subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.02rem);
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 660px;
}

/* ── 2. Content Section & Containers ── */
.contact-section {
    background: #F7F9FC;
    padding: clamp(32px, 4.5vw, 52px) 0;
}

/* ── 3. Social Media Card (Top of Content) ── */
.contact-social-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 32px);
    box-shadow: 0 4px 20px rgba(3, 43, 79, 0.03);
    margin-bottom: clamp(20px, 3vw, 28px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-social-card__content {
    min-width: 240px;
}

.contact-social-card__badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(229, 180, 0, 0.12);
    border: 1px solid rgba(229, 180, 0, 0.35);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: #032B4F;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.contact-social-card__title {
    font-size: 18px;
    font-weight: 800;
    color: #032B4F;
    line-height: 1.25;
    margin: 0 0 4px 0;
}

.contact-social-card__desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

.contact-social-card__links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border: 1.5px solid #E2E8F0;
    border-radius: 9999px;
    background: #F8FAFC;
    color: #032B4F;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.contact-social-btn svg {
    flex-shrink: 0;
}

.contact-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(3, 43, 79, 0.08);
}

.contact-social-btn--facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #FFFFFF;
}

.contact-social-btn--instagram:hover {
    background: linear-gradient(45deg, #F58529, #D62976, #962FBF);
    border-color: transparent;
    color: #FFFFFF;
}

.contact-social-btn--tiktok:hover {
    background: #000000;
    border-color: #000000;
    color: #FFFFFF;
}

/* ── 4. Main Two-Column Grid ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.32fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}

/* ── 5. Contact Info Card ── */
.contact-info-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: clamp(20px, 2.5vw, 30px);
    box-shadow: 0 4px 20px rgba(3, 43, 79, 0.03);
}

.contact-info-card__badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(3, 43, 79, 0.06);
    border: 1px solid rgba(3, 43, 79, 0.15);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: #032B4F;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-info-card__title {
    font-size: 19px;
    font-weight: 800;
    color: #032B4F;
    line-height: 1.3;
    margin: 0 0 6px 0;
}

.contact-info-card__desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.55;
    margin: 0 0 18px 0;
}

.contact-info-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: #F8FAFC;
    border: 1px solid #EAEFF5;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.contact-info-item:hover {
    border-color: #E5B400;
    background: #FFFFFF;
    box-shadow: 0 3px 12px rgba(3, 43, 79, 0.05);
}

.contact-info-item__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
    background: rgba(3, 43, 79, 0.08);
    color: #032B4F;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item__icon--wa {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
}

.contact-info-item__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-info-item__label {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.contact-info-item__val {
    font-size: 14px;
    font-weight: 700;
    color: #032B4F;
    line-height: 1.4;
    word-break: break-word;
}

.contact-info-item__subval {
    display: block;
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
    margin-top: 1px;
}

.contact-info-item__val a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item__val a:hover {
    color: #E5B400;
}

/* ── 6. Consultation Form Card ── */
.contact-form-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: clamp(20px, 2.5vw, 30px);
    box-shadow: 0 4px 20px rgba(3, 43, 79, 0.03);
}

.contact-form-card__header {
    margin-bottom: 16px;
}

.contact-form-card__badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: #157A3C;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-form-card__title {
    font-size: 19px;
    font-weight: 800;
    color: #032B4F;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.contact-form-card__desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form .form-group {
    margin-bottom: 12px;
}

.contact-form .form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #032B4F;
    margin-bottom: 5px;
}

.contact-form .form-label .required {
    color: #E53E3E;
}

.contact-form .form-control {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-family: inherit;
    background: #FFFFFF;
    color: #1E293B;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-control:focus {
    border-color: #032B4F;
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 43, 79, 0.1);
}

.contact-form .form-control::placeholder {
    color: #94A3B8;
}

.contact-form__actions {
    margin-top: 16px;
}

/* Single Green WhatsApp Submit Button */
.btn-contact-submit-wa {
    background: #25D366;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.btn-contact-submit-wa:hover {
    background: #1EBC59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #FFFFFF;
}

.btn-contact-submit-wa svg {
    flex-shrink: 0;
}

/* Status Message */
.contact-form__message {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    display: none;
    margin-top: 12px;
}

.contact-form__message.is-success {
    display: block;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #157A3C;
}

.contact-form__message.is-error {
    display: block;
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid rgba(229, 62, 62, 0.35);
    color: #C53030;
}

/* ── 7. Google Map Section ── */
.contact-map-wrapper {
    margin-top: clamp(24px, 3.5vw, 36px);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(3, 43, 79, 0.03);
}

.contact-map-iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 14px;
    display: block;
}

/* ═══════════════════════════════════════════════════════
   8. RESPONSIVE MOBILE ENGINE (<= 768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .contact-hero {
        padding: 24px 0 20px !important;
    }

    .contact-hero .about-hero__title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }

    .contact-hero .about-hero__subtitle {
        font-size: 12.5px !important;
        line-height: 1.6 !important;
    }

    .contact-section {
        padding: 20px 0 !important;
    }

    .contact-social-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
        text-align: center;
        justify-content: center;
    }

    .contact-social-card__content {
        text-align: center;
        width: 100%;
    }

    .contact-social-card__title {
        font-size: 16px !important;
    }

    .contact-social-card__desc {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }

    .contact-social-card__links {
        justify-content: center;
        width: 100%;
        gap: 6px !important;
    }

    .contact-social-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .contact-info-card__title,
    .contact-form-card__title {
        font-size: 17px !important;
    }

    .contact-info-card__desc,
    .contact-form-card__desc {
        font-size: 12px !important;
        margin-bottom: 14px !important;
    }

    .contact-form__row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .contact-form .form-group {
        margin-bottom: 10px !important;
    }

    .contact-form .form-control {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    .btn-contact-submit-wa {
        padding: 11px 18px !important;
        font-size: 14px !important;
    }

    .contact-map-wrapper {
        margin-top: 16px !important;
        padding: 6px !important;
        border-radius: 14px !important;
    }

    .contact-map-iframe {
        height: 260px !important;
        border-radius: 10px !important;
    }
}
