/* ========== contact page ========== */

.lc-contact-page {
    --brand-blue: #1E40AF;
    --brand-blue-hover: #0F2744;
    --brand-accent: #3B82F6;
    --brand-light: #DBEAFE;
    --brand-bg: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --border-color: #E2E8F0;
    --white: #FFFFFF;

    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--brand-bg);
    line-height: 1.6;
}

.lc-contact-page * {
    box-sizing: border-box;
}

.lc-contact-page .lc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lc-contact-hero {
    position: relative;
    padding: 80px 0 40px;
    text-align: center;
    background: radial-gradient(100% 100% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, rgba(250, 253, 251, 0) 100%);
}

.lc-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: var(--brand-light);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 30px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lc-contact-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--brand-blue);
    border-radius: 50%;
}

.lc-contact-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--text-dark);
}

.lc-contact-hero p.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 540px;
}

.lc-contact-section {
    padding: 20px 0 90px;
}

.lc-contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.4fr);
    gap: 40px;
    align-items: start;
    width: 100%;
}

.lc-contact-page .lc-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    width: 100%;
    max-width: none;
    min-width: 0;
}

.lc-contact-page .lc-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    margin: 0 0 24px;
    color: var(--text-dark);
}

.lc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.lc-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
}

.lc-form input[type="text"],
.lc-form input[type="email"],
.lc-form input[type="tel"],
.lc-form select,
.lc-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--brand-bg);
    transition: all 0.2s ease;
}

.lc-form input:focus,
.lc-form select:focus,
.lc-form textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.lc-form fieldset.checkbox-group {
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin: 8px 0;
    background-color: var(--brand-bg);
}

.lc-form fieldset.checkbox-group legend {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
    padding: 0 8px;
}

.lc-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.checkbox-label:hover {
    background: var(--white);
    color: var(--text-dark) !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-blue);
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit {
    background: var(--brand-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.3);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(30, 64, 175, 0.4);
}

/* ========== ALERT (success / error) - cuadrado, al final del form, tonos azules ========== */
.lc-contact-page #contact-alert.alert,
.lc-contact-page .lc-form .alert {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 4px 0 0 0 !important;
    padding: 14px 18px !important;
    background: #EFF6FF !important;
    color: #1E3A8A !important;
    border: 1px solid #BFDBFE !important;
    border-left: 4px solid #3B82F6 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

/* Ícono */
.lc-contact-page #contact-alert.alert::before {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3B82F6;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

/* Éxito: azul claro / brillante */
.lc-contact-page #contact-alert.alert-success,
.lc-contact-page .lc-form .alert-success {
    background: #DBEAFE !important;
    color: #1E3A8A !important;
    border: 1px solid #93C5FD !important;
    border-left: 4px solid #2563EB !important;
}

.lc-contact-page #contact-alert.alert-success::before {
    content: '\2713';
    background: #2563EB;
}

/* Error: azul marino oscuro */
.lc-contact-page #contact-alert.alert-error,
.lc-contact-page .lc-form .alert-error {
    background: #E0E7FF !important;
    color: #0F2744 !important;
    border: 1px solid #A5B4FC !important;
    border-left: 4px solid #0F2744 !important;
}

.lc-contact-page #contact-alert.alert-error::before {
    content: '!';
    background: #0F2744;
}

.lc-contact-page #contact-alert[hidden] {
    display: none !important;
}

/* ---------- INFO SIDEBAR ---------- */
.lc-info-card {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-hover) 100%);
    color: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px -10px rgba(15, 39, 68, 0.25);
    position: relative;
    overflow: hidden;
}

.lc-info-card::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.lc-info-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    margin: 0 0 28px;
    color: var(--white);
}

.lc-info-block {
    margin-bottom: 28px;
}

.lc-info-block h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-accent);
    margin: 0 0 12px;
    font-weight: 700;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--brand-light);
}

.contact-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.contact-list a:hover {
    text-decoration: underline;
}

.lc-info-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--brand-light);
    line-height: 1.6;
}

.lc-info-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 24px 0;
}

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

@media (max-width: 640px) {
    .lc-form-row {
        grid-template-columns: 1fr;
    }
    .lc-checkbox-grid {
        grid-template-columns: 1fr;
    }
    .lc-contact-page .lc-card,
    .lc-contact-page .lc-info-card {
        padding: 28px 20px;
    }
}