/* Estilos aplicados directamente a la sección */
.contact-section {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 2rem auto;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.contact-section .contact-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    z-index: 0;
    animation: float 15s infinite ease-in-out;
}

.contact-section .decoration-1 {
    width: 150px;
    height: 150px;
    background: rgba(217, 183, 121, 0.1);
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.contact-section .decoration-2 {
    width: 200px;
    height: 200px;
    background: rgba(90, 140, 140, 0.08);
    bottom: -80px;
    right: -80px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 15px) rotate(5deg); }
    50% { transform: translate(-5px, 20px) rotate(-5deg); }
    75% { transform: translate(15px, -10px) rotate(3deg); }
}

.contact-section .contact-content {
    display: flex;
    min-height: 600px;
    position: relative;
    z-index: 1;
}

/* Efecto de onda para el fondo izquierdo */
.contact-section .contact-info-side {
    flex: 1;
    padding: 3rem;
    background: linear-gradient(135deg, #1A3A3F, #3A6666);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-section .wave-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="rgba(217,183,121,0.1)" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="rgba(217,183,121,0.1)" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="rgba(217,183,121,0.1)"/></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 1200px 120px;
    animation: wave 12s linear infinite;
    opacity: 0.6;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

.contact-section .contact-form-side {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF;
}

/* Estilos para la información de contacto */
.contact-section .contact-header {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.contact-section .contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #E8D4B0;
    position: relative;
    display: inline-block;
}

.contact-section .contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #D9B779;
    transition: width 0.3s ease;
}

.contact-section .contact-header:hover .contact-title::after {
    width: 100px;
}

.contact-section .contact-subtitle {
    color: #E8D4B0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-section .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.contact-section .contact-item:hover {
    transform: translateX(5px);
}

.contact-section .contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(217, 183, 121, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #D9B779;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-section .contact-item:hover .contact-icon {
    background: rgba(217, 183, 121, 0.3);
    transform: scale(1.1);
}

.contact-section .contact-text {
    font-size: 1.1rem;
}

.contact-section .contact-text a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section .contact-text a:hover {
    color: #D9B779;
    text-decoration: underline;
}

/* Estilos para el formulario con labels */
.contact-section .form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-section .form-title {
    font-size: 1.5rem;
    color: #1A3A3F;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-section .form-subtitle {
    color: #5F7275;
    font-size: 1rem;
}

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

.contact-section .form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #5F7275;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-section .form-control-custom {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #F8F9FA;
    width: 100%;
}

.contact-section .form-control-custom:focus {
    border-color: #5B8C8C;
    box-shadow: 0 0 0 0.2rem rgba(90, 140, 140, 0.2);
}

.contact-section .form-group:focus-within .form-label {
    color: #3A6666;
}

.contact-section .submit-btn {
    background: linear-gradient(135deg, #3A6666, #5B8C8C);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 4px 12px rgba(90, 140, 140, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.contact-section .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.contact-section .submit-btn:hover::before {
    left: 100%;
}

.contact-section .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(90, 140, 140, 0.3);
}

.contact-section .btn-icon {
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-section .contact-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .contact-section .contact-info-side,
    .contact-section .contact-form-side {
        padding: 2rem;
    }
    
    .contact-section .contact-info-side {
        order: 1;
    }
    
    .contact-section .contact-form-side {
        order: 2;
    }
    
    .contact-section .wave-effect {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .contact-section .contact-info-side,
    .contact-section .contact-form-side {
        padding: 1.5rem;
    }
    
    .contact-section .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-section .contact-text {
        font-size: 1rem;
    }
}