/* ===================================
   SECCIÓN CONTACTO
   =================================== */
.contacto-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9f6 100%);
    position: relative;
    overflow: hidden;
}

/* Efectos decorativos */
.contacto-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contacto-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contacto-section .container {
    position: relative;
    z-index: 1;
}

/* ===================================
   ENCABEZADO
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #10b981 0%, #047857 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 1.5rem;
}

/* ===================================
   WRAPPER DE CONTACTO
   =================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ===================================
   INFORMACIÓN DE CONTACTO (IZQUIERDA)
   =================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card-contact {
    background: white;
    padding: 1.75rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-card-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.info-card-contact:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-icon.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.info-icon.location {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.info-icon.social {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.info-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.location-subtitle {
    font-size: 0.85rem;
    margin-bottom: 0 !important;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    gap: 0.75rem;
    color: #047857;
}

.contact-link.whatsapp-link {
    color: #25d366;
}

.contact-link.whatsapp-link:hover {
    color: #128c7e;
}

/* Redes sociales en info */
.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links-contact a {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: #10b981;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* ===================================
   FORMULARIO DE CONTACTO (DERECHA)
   =================================== */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: #10b981;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #374151;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    background: white;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-submit i {
    font-size: 1.1rem;
}

/* Mensaje de respuesta del formulario */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 2px solid #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 2px solid #ef4444;
}

/* ===================================
   BOTONES DE ACCIÓN RÁPIDA
   =================================== */
.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-quick {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-quick.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border: 2px solid #25d366;
}

.btn-quick.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-quick.email {
    background: white;
    color: #10b981;
    border: 2px solid #10b981;
}

.btn-quick.email:hover {
    background: #10b981;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-quick i {
    font-size: 1.3rem;
}

/* ===================================
   ANIMACIONES
   =================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contacto-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .contact-info {
        gap: 1.25rem;
    }

    .info-card-contact {
        padding: 1.5rem;
    }

    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .quick-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-quick {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .info-card-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-quick {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}