/* Contact page — shared section rhythm + form fields */
.contact-section {
    background: #f5f8fb;
    padding-top: var(--section-pad-y, 72px) !important;
    padding-bottom: var(--section-pad-y, 72px) !important;
}

.contact-section__intro {
    margin-bottom: 36px;
    max-width: 40rem;
}

.contact-section__intro .page-lead {
    margin-bottom: 0;
}

.contact-info__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-heading, #0A3D62);
    margin: 0 0 20px;
}

.contact-info__block {
    margin-bottom: 22px;
}

.contact-info__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent, #1a7bb8);
    margin-bottom: 6px;
}

.contact-info__block p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-muted, #5a738a);
}

.contact-info__block a {
    color: var(--color-heading, #0A3D62);
    text-decoration: none;
}

.contact-info__block a:hover {
    color: var(--color-accent, #1a7bb8);
}

/* Contact form — consistent fields */
.contact-form .form-control,
.contact-form select.form-control,
.contact-form textarea.form-control {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    margin-bottom: 0;
    border: 1px solid #d7dde3;
    border-radius: 10px;
    background: #fff;
    color: #1E1E1E;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.contact-form select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235D5D63' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form .form-control::placeholder {
    color: #8a9199;
    opacity: 1;
}

.contact-form .form-control:focus {
    border-color: #1a7bb8;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(26, 123, 184, 0.15);
}

.contact-form .contact-phone-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.contact-form .contact-phone-row .contact-cc {
    flex: 0 0 118px;
    max-width: 118px;
    padding-left: 12px;
    padding-right: 32px;
    background-position: right 12px center;
}

.contact-form .contact-phone-row .contact-phone {
    flex: 1 1 auto;
    min-width: 0;
}

.contact-form .btn-contact-submit {
    color: #fff !important;
    background: linear-gradient(90deg, #0A3D62 0%, #1a7bb8 100%);
    border: none;
    border-radius: 999px;
    padding: 14px 36px;
    font-weight: 600;
    font-size: 15px;
    min-width: 200px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-form .btn-contact-submit:hover {
    opacity: 0.92;
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .contact-section {
        padding-top: var(--section-pad-y-sm, 52px) !important;
        padding-bottom: var(--section-pad-y-sm, 52px) !important;
    }

    .contact-section__intro {
        margin-bottom: 28px;
    }
}

@media (max-width: 575.98px) {
    .contact-form .contact-phone-row {
        flex-direction: column;
    }

    .contact-form .contact-phone-row .contact-cc {
        flex: 1 1 auto;
        max-width: none;
    }
}
