﻿/*=========================================
    CONTACTO - MODERNO / ELEGANTE
=========================================*/
/* Reducir espacio entre header y contenido en TODAS las vistas */
.bg-page-header + section,
.bg-page-header ~ section {
    padding-top: 40px !important;
    margin-top: 0 !important;
}

/* Sobreescribir específicamente las secciones con padding grande */
.bg-page-header ~ .bg-shop-section,
.bg-page-header ~ .bg-contact-us,
.bg-page-header ~ .bg-team-section,
.bg-page-header ~ .bg-blog-section,
.bg-page-header ~ .bg-single-blog,
.bg-page-header ~ .bg-single-events,
.bg-page-header ~ .bg-event-box,
.bg-page-header ~ .bg-donate-section,
.bg-page-header ~ .bg-campaing-section {
    padding-top: 40px !important;
}
.contact-section-modern {
    background: radial-gradient(circle at top left, rgba(132, 190, 96, 0.10), transparent 30%), linear-gradient(180deg, #f8fbf7 0%, #f4f8f2 100%);
    padding: 55px 0 45px;
}

.contact-shell {
    max-width: 1140px;
    margin: 0 auto;
}

.contact-wrapper {
    align-items: stretch;
    row-gap: 24px;
}

.contact-info-card,
.contact-form-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(105, 145, 82, 0.14);
    border-radius: 22px;
    padding: 30px 28px;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 100%;
}
.bg-page-header ~ .bg-shop-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    min-height: calc(100vh - 350px);
}

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(120, 185, 87, 0.12);
    color: #356121;
    border: 1px solid rgba(120, 185, 87, 0.20);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.contact-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #183214;
    margin: 0 0 10px;
}

.contact-subtitle {
    margin: 0 0 22px;
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
    max-width: 640px;
}

/* Panel izquierdo */
.contact-address {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .contact-address li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid #edf2ea;
    }

        .contact-address li:last-child {
            border-bottom: none;
        }

.contact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f1f8ed 0%, #e8f3e2 100%);
    border: 1px solid #d7e8cc;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

    .contact-icon i {
        color: #3f7d27;
        font-size: 18px;
        line-height: 1;
    }

.contact-content small {
    display: block;
    margin-bottom: 4px;
    color: #7b8b76;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.contact-content p {
    margin: 0 0 4px;
    color: #253126;
    font-size: 14px;
    line-height: 1.6;
}

    .contact-content p:last-child {
        margin-bottom: 0;
    }

.contact-social-icon {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    gap: 10px;
}

    .contact-social-icon li a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #ffffff;
        color: #234117;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #d9e7d1;
        box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
        text-decoration: none;
        transition: all 0.25s ease;
    }

        .contact-social-icon li a:hover {
            background: #78b957;
            border-color: #78b957;
            color: #10240c;
            transform: translateY(-2px);
        }

/* Formulario */
.contact-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #24411a;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.modern-contact-form .form-group {
    margin-bottom: 18px;
}

.contact-input {
    width: 100%;
    height: 54px;
    border: 2px solid #b7cfab !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-size: 15px;
    color: #1f2937;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.03) !important;
    transition: all 0.25s ease;
}

    .contact-input::placeholder {
        color: #94a091;
        opacity: 1;
    }

.contact-textarea {
    min-height: 155px;
    height: auto;
    resize: vertical;
    padding-top: 14px !important;
}

.contact-input:hover {
    border-color: #87b96a !important;
    box-shadow: 0 8px 20px rgba(120, 185, 87, 0.08) !important;
}
.contact-section-modern {
    padding-bottom: 40px !important;
}

.contact-input:focus {
    border-color: #5d983d !important;
    box-shadow: 0 0 0 5px rgba(120, 185, 87, 0.16), 0 10px 24px rgba(120, 185, 87, 0.10) !important;
    outline: none !important;
}

/* Botón */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 13px 24px;
    border-radius: 14px;
    border: 1px solid #17350f;
    background: linear-gradient(180deg, #214517 0%, #17350f 100%);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(23, 53, 15, 0.18);
    transition: all 0.25s ease;
}

    .contact-btn:hover {
        transform: translateY(-2px);
        background: linear-gradient(180deg, #7fbe5d 0%, #6eaa4f 100%);
        border-color: #7fbe5d;
        color: #10240c !important;
        box-shadow: 0 12px 24px rgba(120, 185, 87, 0.20);
    }

/* Ajustes de estilos viejos */
.bg-contact-us .contact-us {
    margin: 0;
    padding: 0;
}

.bg-contact-us .social-icon-rounded.contact-social-icon {
    background: transparent;
}

#map {
    margin-top: 0;
    border-top: 1px solid #e7eee2;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-title {
        font-size: 24px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px 22px;
    }
}

@media (max-width: 767px) {
    .contact-section-modern {
        padding: 38px 0 30px;
    }

    .contact-title {
        font-size: 22px;
    }

    .contact-subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .contact-input {
        height: 50px;
        font-size: 14px;
        border-radius: 12px !important;
    }

    .contact-textarea {
        min-height: 130px;
    }

    .contact-btn {
        width: 100%;
    }
}
