/* Contact page */
.contact-page {
    padding: 3rem 0 5rem;
    background: #f3f4f6;
}

.contact-page-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.contact-page-title {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem;
}

.contact-page-lead {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.contact-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    max-width: 1100px;
    margin: 0 auto 2.5rem;
}

.contact-card-panel {
    position: relative;
    background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact-card-panel::before,
.contact-card-panel::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-card-panel::before {
    width: 140px;
    height: 140px;
    background: rgba(74, 133, 133, 0.35);
    bottom: -40px;
    right: -30px;
}

.contact-card-panel::after {
    width: 100px;
    height: 100px;
    background: rgba(13, 148, 136, 0.25);
    bottom: 20px;
    right: 60px;
}

.contact-panel-heading {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    position: relative;
    z-index: 1;
}

.contact-panel-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
}

.contact-panel-text a {
    color: #7dd3fc;
    text-decoration: none;
}

.contact-panel-text a:hover {
    text-decoration: underline;
}

.contact-panel-block {
    position: relative;
    z-index: 1;
    margin-bottom: 1.75rem;
}

.contact-panel-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.5rem;
}

.contact-panel-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

.contact-panel-value a {
    color: #ffffff;
    text-decoration: none;
}

.contact-panel-value a:hover {
    color: #7dd3fc;
}

.contact-panel-social {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.contact-panel-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.contact-panel-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-form-wrap {
    padding: 2.5rem 2.25rem;
}

.contact-alert {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.contact-alert--success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.contact-alert--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
}

.contact-field label span {
    color: #ef4444;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 0.7rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--nav-cta, #4a8585);
    box-shadow: 0 0 0 3px rgba(74, 133, 133, 0.12);
}

.contact-field textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-checkboxes {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #6b7280;
}

.contact-checkbox input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-submit {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-submit-btn:hover {
    background: #1d4ed8;
}

.contact-map-section {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

@media (max-width: 900px) {
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-field--full {
        grid-column: auto;
    }

    .contact-checkboxes,
    .contact-submit {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .contact-page {
        padding: 2rem 0 3.5rem;
    }

    .contact-form-wrap,
    .contact-card-panel {
        padding: 1.75rem 1.25rem;
    }
}
