/* =====================================================
   LMiit CONTACT PAGE
===================================================== */

:root {

    --primary: #153f82;
    --primary-dark: #0d2f67;

    --text-dark: #202b3a;
    --text-light: #707985;

    --border: #dfe4eb;

    --bg: #f8fafc;

    --white: #ffffff;

}


/* =====================================================
   GLOBAL
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family: "Inter", Arial, sans-serif;

    color: var(--text-dark);

    background: var(--bg);

    line-height: 1.6;

}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {

    padding: 45px 0 60px;

    background:

        linear-gradient(
            rgba(255,255,255,.90),
            rgba(255,255,255,.90)
        );

}


/* =====================================================
   MAIN GRID
===================================================== */

.contact-grid {

    display: grid;

    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1.05fr);

    gap: 28px;

    align-items: stretch;

}


/* =====================================================
   LEFT COLUMN
===================================================== */

.contact-left {

    display: flex;

    flex-direction: column;

    gap: 15px;

}


/* =====================================================
   ILLUSTRATION
===================================================== */

.contact-illustration {

    width: 100%;

    min-height: 235px;

    overflow: hidden;

    border-radius: 6px;

    border: 1px solid #e1e5eb;

    background: #eef4fa;

}

.contact-illustration img {

    width: 100%;

    height: 100%;

    min-height: 235px;

    object-fit: cover;

    object-position: center;

}


/* =====================================================
   INFORMATION GRID
===================================================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.info-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 18px 18px;
    border: 1px solid #dce6f1;
    border-radius: 14px;
    background: #fff;
    text-align: left;
    box-shadow: 0 8px 24px rgba(17, 44, 77, .045);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.info-card:hover {
    border-color: #b5cce6;
    box-shadow: 0 10px 28px rgba(17, 44, 77, .08);
}

.info-card-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
}

.info-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eaf3ff;
    color: #0b3f7a;
    font-size: 20px;
}

.info-kicker {
    display: block;
    margin-bottom: 3px;
    color: #64758a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.info-card h2 {
    margin: 0;
    color: #142f50;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.contact-address {
    margin: 0;
    color: #52657d;
    font-size: 12px;
    font-style: normal;
    line-height: 1.8;
}

.contact-address strong,
.contact-address span {
    display: block;
}

.contact-address strong {
    margin-bottom: 6px;
    color: #243f60;
    font-weight: 700;
}

.contact-links {
    display: grid;
    gap: 3px;
    margin: 14px 0;
    padding-top: 12px;
    border-top: 1px solid #edf1f6;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    color: #274e7b;
    font-size: 12px;
    line-height: 1.5;
}

.contact-links a span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-links i {
    flex-shrink: 0;
    color: #1266d6;
}

.contact-links a:hover {
    color: #1266d6;
    text-decoration: underline;
}

.contact-map-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px;
    margin-top: auto;
    padding: 9px 12px;
    border-radius: 8px;
    background: #edf5ff;
    color: #0b3f7a;
    font-size: 12px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}

.contact-map-link:hover {
    background: #0b3f7a;
    color: #fff;
}

.contact-phone-list {
    display: grid;
    gap: 9px;
}

.contact-phone-list a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 11px;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    background: #f8fafd;
    color: #183b65;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    transition: border-color .2s ease, background-color .2s ease;
}

.contact-phone-list i {
    color: #1266d6;
    font-size: 14px;
}

.contact-phone-list a:hover {
    border-color: #b5cfee;
    background: #eaf3ff;
    color: #0b3f7a;
}

.mobile-label {
    display: block;
    margin-top: 12px;
    color: #64758a;
    font-size: 11px;
    text-align: center;
}

/* Full-width opening hours keep both schedules easy to read. */
.office-time {
    grid-column: 1 / -1;
    padding: 18px 20px;
    border: 1px solid #f0d9a9;
    border-left: 4px solid #e2ad38;
    border-radius: 12px;
    background: #fff8e9;
}

.office-time-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #875600;
}

.office-time-heading h2 {
    margin: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.office-time-heading i {
    color: #a86b00;
    font-size: 17px;
}

.office-time-schedule {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.office-time-row + .office-time-row {
    padding-left: 16px;
    border-left: 1px solid #ead7af;
}

.office-time-row dt {
    margin-bottom: 4px;
    color: #73592d;
    font-size: 12px;
    font-weight: 600;
}

.office-time-row dd {
    margin: 0;
    color: #183857;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

#location-map {
    scroll-margin-top: 24px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .info-card { padding-inline: 14px; }
    .info-card-heading { gap: 8px; }
    .info-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 18px; }
    .contact-phone-list a { gap: 7px; padding-inline: 8px; font-size: 12px; }
}

@media (max-width: 420px) {
    .office-time-schedule { grid-template-columns: 1fr; gap: 12px; }
    .office-time-row + .office-time-row { padding: 12px 0 0; border-left: 0; border-top: 1px solid #ead7af; }
}


/* =====================================================
   FORM WRAPPER
===================================================== */

.contact-form-wrapper {

    padding: 5px 0;

}


/* =====================================================
   FORM HEADING
===================================================== */

.form-heading h1 {

    margin: 0 0 4px;

    color: #183f7d;

    font-size: clamp(22px, 2.2vw, 29px);

    line-height: 1.3;

    font-weight: 800;

}

.form-heading p {

    margin: 0 0 22px;

    color: #727b87;

    font-size: 13px;

}


/* =====================================================
   FORM
===================================================== */

.contact-form {

    width: 100%;

}


/* =====================================================
   FORM ROW
===================================================== */

.form-row {

    display: grid;

    grid-template-columns: 90px minmax(0, 1fr);

    gap: 13px;

    align-items: center;

    margin-bottom: 12px;

}

.form-row label {

    color: #3b4653;

    font-size: 13px;

    font-weight: 700;

}


/* =====================================================
   INPUTS
===================================================== */

.form-control {

    width: 100%;

    min-height: 42px;

    padding: 9px 12px;

    border: 1px solid #d9dee6;

    border-radius: 4px;

    background: #fff;

    color: #303a48;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    box-shadow: none;

    transition:

        border-color .2s ease,

        box-shadow .2s ease;

}

.form-control:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(21, 63, 130, .08);

}

.form-control::placeholder {

    color: #9ba3ad;

}

textarea.form-control {

    min-height: 112px;

    resize: vertical;

}


/* =====================================================
   MESSAGE ROW
===================================================== */

.message-row {

    align-items: start;

}

.message-row label {

    padding-top: 11px;

}


/* =====================================================
   BUTTONS
===================================================== */

.form-buttons {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-top: 17px;

}

.submit-btn,
.reset-btn {

    min-height: 40px;

    padding: 9px 17px;

    border-radius: 4px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:

        transform .2s ease,

        background .2s ease,

        box-shadow .2s ease;

}

.submit-btn {

    border: 1px solid var(--primary);

    background: var(--primary);

    color: #fff;

}

.submit-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(21, 63, 130, .18);

}

.reset-btn {

    border: 1px solid #d5dbe3;

    background: #fff;

    color: #3e4854;

}

.reset-btn:hover {

    background: #f5f7fa;

}


/* =====================================================
   FORM MESSAGE
===================================================== */

.form-message {

    display: none;

    margin-top: 15px;

    padding: 10px 13px;

    border-radius: 4px;

    text-align: center;

    font-size: 12px;

}

.form-message.show {

    display: block;

}

.form-message.success {

    background: #d1e7dd;

    border: 1px solid #a3cfbb;

    color: #0f5132;

}

.form-message.error {

    background: #f8d7da;

    border: 1px solid #f1aeb5;

    color: #842029;

}


/* =====================================================
   MAP SECTION
===================================================== */

.map-section {

    margin-top: 28px;

    border-radius: 6px;

    overflow: hidden;

    border: 1px solid #d9dfe7;

    background: #fff;

    box-shadow:
        0 5px 20px rgba(20, 43, 70, .07);

}


/* =====================================================
   MAP HEADING
===================================================== */

.map-heading {

    display: flex;

    align-items: center;

    gap: 8px;

    height: 39px;

    padding: 0 14px;

    background: var(--primary);

    color: #fff;

}

.map-heading i {

    font-size: 14px;

}

.map-heading h2 {

    margin: 0;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .4px;

}


/* =====================================================
   MAP
===================================================== */

.map-wrapper {

    width: 100%;

    height: 320px;

}

.map-wrapper iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991.98px) {

    .contact-section {

        padding: 35px 0 45px;

    }

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .contact-left {

        max-width: 991.98px;

        width: 100%;

        margin: auto;

    }

    .contact-form-wrapper {

        max-width: 991.98px;

        width: 100%;

        margin: auto;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767.98px) {

    .contact-section {

        padding: 25px 0 35px;

    }

    .contact-grid {

        gap: 25px;

    }

    .contact-illustration {

        min-height: 220px;

    }

    .contact-illustration img {

        min-height: 220px;

    }

    .info-grid {

        grid-template-columns: 1fr;

    }

    .info-card {

        padding: 20px;

    }

    .form-heading h1 {

        font-size: 23px;

    }

    .form-heading p {

        font-size: 12px;

    }

    .form-row {

        grid-template-columns: 1fr;

        gap: 5px;

        margin-bottom: 14px;

    }

    .form-row label {

        font-size: 13px;

    }

    .message-row label {

        padding-top: 0;

    }

    .form-buttons {

        flex-direction: column;

    }

    .submit-btn,
    .reset-btn {

        width: 100%;

        max-width: 767.98px;

    }

    .map-wrapper {

        height: 280px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 767.98px) {

    .contact-section {

        padding-left: 5px;

        padding-right: 5px;

    }

    .form-heading h1 {

        font-size: 21px;

    }

    .info-card h2 {

        font-size: 15px;

    }

    .map-wrapper {

        height: 240px;

    }

}
