/* CONTACT SECTION */
.contact-section {
    width: 100%;
    background: #ffffff;
    padding: 95px 45px;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

/* LEFT INFO CARD */
.contact-info-card {
    position: relative;
    min-height: 670px;
    overflow: hidden;
    border-radius: 14px;
    background: #0c1c44;
}

.contact-info-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.64);
    z-index: 1;
}

.contact-info-content {
    position: relative;
    z-index: 2;

    height: 100%;
    padding: 60px 52px;

    color: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-label {
    width: fit-content;
    margin-bottom: 22px;
    padding: 10px 26px;

    background: #b4070b;
    color: #ffffff;

    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
}

.contact-info-content h2 {
    max-width: 540px;
    margin-bottom: 18px;

    color: #ffffff;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
}

.contact-subtitle {
    margin-bottom: 28px;

    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.contact-divider {
    width: 100%;
    max-width: 620px;
    height: 1px;
    margin-bottom: 28px;

    background: rgba(255, 255, 255, 0.35);
}

.contact-detail {
    margin-bottom: 22px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail h3 {
    margin-bottom: 12px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}

.contact-detail-item {
    margin-bottom: 12px;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-detail-item span {
    display: block;
    margin-bottom: 4px;

    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.contact-detail a,
.contact-detail-item a {
    display: block;
    width: fit-content;

    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;

    transition: 0.2s ease;
}

.contact-detail a:hover,
.contact-detail-item a:hover {
    color: #d61f26;
}

.contact-phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

/* RIGHT FORM CARD */
.contact-form-card {
    min-height: 670px;
    padding: 48px 42px;

    background: #f7f8fb;
    border-radius: 14px;
    border: 1px solid #e4e7ef;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-logo-wrap {
    margin-bottom: 20px;
    text-align: center;
}

.contact-logo-wrap img {
    width: 245px;
    max-height: 86px;
    object-fit: contain;
    display: block;
    margin: 0 auto;   /* centre the logo (block imgs ignore text-align) */
}

.contact-form-card h2 {
    margin-bottom: 30px;

    color: #333333;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
}

/* FORM */
.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0 16px;

    background: #ffffff;
    border: 1px solid #dfe3ea;
    border-radius: 8px;

    color: #333333;
    font-family: inherit;
    font-size: 14px;
    outline: none;

    transition: 0.2s ease;
}

.form-group input {
    height: 52px;
}

.form-group textarea {
    min-height: 120px;
    padding-top: 16px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0c1c44;
    box-shadow: 0 0 0 3px rgba(12, 28, 68, 0.08);
}

.contact-submit-btn {
    width: 100%;
    height: 56px;

    background: #b4070b;
    color: #ffffff;

    border: none;
    border-radius: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;

    transition: 0.25s ease;
}

.contact-submit-btn:hover {
    background: #d61f26;
    transform: translateY(-2px);
}

/* MAP EMBED */
.contact-map-embed {
    position: relative;
    width: 100%;
    height: 210px;
    margin-top: 20px;

    overflow: hidden;
    border-radius: 12px;
    background: #e8e8e8;
    border: 1px solid #dfe3ea;
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-open-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;

    height: 34px;
    padding: 0 14px;

    background: #ffffff;
    color: #0c1c44;
    text-decoration: none;

    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    font-size: 13px;
    font-weight: 700;
    transition: 0.25s ease;
}

.map-open-btn:hover {
    background: #b4070b;
    color: #ffffff;
}

/* TABLET */
@media (max-width: 1050px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-form-card {
        min-height: auto;
    }

    .contact-info-content {
        padding: 60px 40px;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    .contact-section {
        padding: 65px 18px;
    }

    .contact-info-content {
        padding: 48px 28px;
    }

    .contact-info-content h2 {
        font-size: 31px;
    }

    .contact-phone-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-form-card {
        padding: 36px 24px;
    }

    .contact-logo-wrap img {
        width: 210px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-map-embed {
        height: 230px;
    }

    .map-open-btn {
        top: 12px;
        left: 12px;
    }
}