/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    padding: 88px 0 125px;
    background: #ffffff;
}

.contact-container {
    max-width: 1135px;
}

/* Heading */

.contact-heading {
    max-width: 720px;
    margin-bottom: 39px;
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    margin-top: 15px;
    color: #b17a0d;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-label span {
    width: 22px;
    height: 1px;
    flex: 0 0 auto;
    background: #c89025;
}

.contact-heading h2 {
    margin: 0 0 15px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 39px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.6px;
}

.contact-heading > p {
    max-width: 620px;
    margin: 0;
    color: #355a60;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* Main layout */

.contact-main-row {
    --bs-gutter-x: 42px;
    align-items: flex-start;
}

/* Left information */

.contact-info {
    padding-top: 2px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-info-icon {
    width: 18px;
    flex: 0 0 18px;
    padding-top: 2px;
    color: #075fa6;
    font-size: 15px;
    text-align: center;
}

.contact-info-item h3 {
    margin: 0 0 5px;
    color: #003e50;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-info-item p,
.contact-info-item a {
    display: block;
    margin: 0 0 3px;
    color: #365d63;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-info-item a:hover {
    color: #007ca6;
}

/* WhatsApp button */

.contact-whatsapp-btn {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px 0 17px;
    padding: 12px 24px;
    color: #ffffff;
    border-radius: 999px;
    background: linear-gradient(100deg, #00b5ad 0%, #0872bf 100%);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 124, 175, 0.16);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-whatsapp-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 13px 24px rgba(0, 124, 175, 0.24);
}

/* Map */

.contact-map {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 8px;
    background: #e9f3ee;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    pointer-events: none;
}

.contact-map-open-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 14px;
    text-decoration: none;
}

.contact-map-open-link span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #0e5261;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(20, 58, 65, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-map-open-link:hover span {
    background: #079b97;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(255, 255, 255, 0.38),
            transparent 32%
        );
}

.map-line {
    position: absolute;
    left: -10%;
    top: 115px;
    width: 125%;
    height: 65px;
    border-top: 10px solid #b4c9c1;
    border-radius: 50%;
    transform: rotate(-4deg);
}

.map-point {
    position: absolute;
    z-index: 2;
    top: 122px;
    left: 60%;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 3px solid #126fbd;
    border-radius: 50%;
    background: #d8e8e4;
    transform: translate(-50%, -50%);
}

.map-point span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #126fbd;
}

.contact-map p {
    position: absolute;
    z-index: 3;
    left: 20px;
    right: 20px;
    bottom: 23px;
    margin: 0;
    color: #365b60;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    text-align: center;
}

/* Form card */

.consultation-form-card {
    padding: 29px 30px 27px;
    border: 1px solid #d7dfde;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(20, 58, 65, 0.07);
}

.form-heading {
    margin-bottom: 22px;
}

.form-heading h3 {
    margin: 0 0 6px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}

.form-heading p {
    max-width: 490px;
    margin: 0;
    color: #486c71;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    line-height: 1.55;
}

.form-grid {
    --bs-gutter-x: 17px;
    --bs-gutter-y: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #003e50;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.form-control,
.form-select {
    min-height: 42px;
    padding: 9px 13px;
    color: #294c52;
    border: 1px solid #ccd9d8;
    border-radius: 7px;
    background-color: #f4f8f7;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    box-shadow: none !important;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.form-control::placeholder {
    color: #7d8c8f;
}

.form-control:focus,
.form-select:focus {
    border-color: #0a99a5;
    background: #ffffff;
}

.contact-textarea {
    min-height: 94px;
    resize: vertical;
}

/* Upload */

.medical-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.medical-upload-box {
    min-height: 57px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 !important;
    padding: 12px 16px;
    border: 1px dashed #c7d5d3;
    border-radius: 7px;
    background: #f7faf9;
    color: #003e50 !important;
    cursor: pointer;
    text-align: center;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.medical-upload-box i {
    color: #068f9b;
    font-size: 16px;
}

.medical-upload-box span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.medical-upload-box:hover {
    border-color: #0aa6a9;
    background: #eef8f6;
}

/* Submit */

.consultation-submit-btn {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(100deg, #00b5ad 0%, #0872bf 100%);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 124, 175, 0.17);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.consultation-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 124, 175, 0.24);
}

.form-privacy-text {
    margin: 8px 0 0;
    color: #648086;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1199.98px) {
    .contact-container {
        max-width: 960px;
    }

    .contact-main-row {
        --bs-gutter-x: 35px;
    }
}

@media (max-width: 991.98px) {
    .contact-section {
        padding: 70px 0 90px;
    }

    .contact-container {
        max-width: 720px;
    }

    .contact-main-row {
        --bs-gutter-y: 38px;
    }

    .contact-info {
        max-width: 620px;
    }

    .contact-map {
        height: 280px;
    }
}

@media (max-width: 767.98px) {
    .contact-heading h2 {
        font-size: 35px;
    }

    .consultation-form-card {
        padding: 26px 24px;
    }
}

@media (max-width: 575.98px) {
    .contact-section {
        padding: 52px 0 65px;
    }

    .contact-container {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact-heading {
        margin-bottom: 32px;
    }

    .contact-label {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .contact-heading h2 {
        margin-bottom: 14px;
        font-size: 33px;
        line-height: 1.05;
    }

    .contact-heading > p {
        font-size: 14px;
        line-height: 1.65;
    }

    .contact-info-item {
        gap: 12px;
        margin-bottom: 17px;
    }

    .contact-info-item p br {
        display: none;
    }

    .contact-whatsapp-btn {
        min-height: 50px;
    }

    .contact-map {
        height: 235px;
    }

    .map-line {
        top: 100px;
    }

    .map-point {
        top: 107px;
    }

    .consultation-form-card {
        padding: 24px 18px 22px;
        border-radius: 11px;
    }

    .form-heading h3 {
        font-size: 22px;
    }

    .form-heading p {
        font-size: 12px;
    }

    .form-grid {
        --bs-gutter-y: 15px;
    }

    .form-control,
    .form-select {
        min-height: 44px;
    }

    .medical-upload-box {
        min-height: 64px;
        padding: 12px;
    }

    .medical-upload-box span {
        font-size: 11.5px;
    }

    .form-privacy-text {
        text-align: center;
    }
}