/* =========================================================
   contact.css
   Contact page
========================================================= */

.contact-main {
    max-width: 1400px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.contact-main .content-wrap {
    width: 100%;
}

.contact-hero-map {
    margin-bottom: 34px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #dfe7f0;
    box-shadow: 0 22px 60px rgba(15, 36, 64, 0.12);
}

.contact-hero-map iframe {
    display: block;
    width: 100%;
}

.contact-content {
    background: #ffffff;
    border: 1px solid #dfe7f0;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 22px 60px rgba(15, 36, 64, 0.08);
}

.contact-page .post-head {
    margin-bottom: 34px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e4ebf3;
}

.contact-page .title {
    margin: 0;
    color: #0b63b6;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.contact-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: stretch;
}

.contact-info-card,
.contact-editor-card {
    border: 1px solid #e4ebf3;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 36, 64, 0.07);
}

.contact-info-card {
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(11, 99, 182, 0.08), rgba(255,255,255,0) 45%),
        #ffffff;
}

.contact-info-card h2 {
    margin: 0 0 14px;
    color: #0b63b6;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
}

.contact-lead {
    margin: 0 0 26px;
    color: #65758a;
    font-size: 16px;
    line-height: 1.7;
}

.contact-info-list {
    display: grid;
    gap: 14px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e4ebf3;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    border-color: #0b63b6;
    box-shadow: 0 14px 34px rgba(11, 99, 182, 0.12);
}

.contact-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #0b63b6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info-item small {
    display: block;
    margin-bottom: 4px;
    color: #7b8da3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-item strong {
    display: block;
    color: #1c2a3a;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
}

.contact-info-item:hover strong {
    color: #0b63b6;
}

.contact-editor-card {
    padding: 34px;
}

.contact-editor-card .post-entry {
    color: #26384d;
    font-size: 16px;
    line-height: 1.8;
}

.contact-editor-card .post-entry p {
    margin: 0 0 20px;
}

.contact-editor-card .post-entry a {
    color: #0b63b6;
    font-weight: 900;
    text-decoration: none;
}

.contact-editor-card .post-entry a:hover {
    color: #d12427;
    text-decoration: underline;
}

.contact-editor-card input,
.contact-editor-card textarea,
.contact-editor-card select {
    width: 100%;
    border: 1px solid #d6e1ed;
    border-radius: 12px;
    padding: 14px 16px;
    color: #1c2a3a;
    font-size: 15px;
}

.contact-editor-card input:focus,
.contact-editor-card textarea:focus,
.contact-editor-card select:focus {
    border-color: #0b63b6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(11, 99, 182, 0.10);
}

.contact-editor-card input[type="submit"],
.contact-editor-card button {
    width: auto;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    background: #0b63b6;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.contact-editor-card input[type="submit"]:hover,
.contact-editor-card button:hover {
    background: #d12427;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-content {
        padding: 28px;
    }

    .contact-page .title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .contact-main {
        padding: 0 14px;
    }

    .contact-hero-map iframe {
        height: 320px;
    }

    .contact-content,
    .contact-info-card,
    .contact-editor-card {
        padding: 22px;
        border-radius: 16px;
    }
}