.contacto-contenedor {
    padding: 2rem 1.5rem;
}

.contacto-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contacto-header h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: var(--color-principal);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contacto-subtitulo {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contacto-formulario h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    color: var(--color-principal);
    margin-bottom: 1.5rem;
}

.formulario-estilo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grupo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-grupo label {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-grupo input,
.form-grupo select,
.form-grupo textarea {
    padding: 12px 16px;
    border: 2px solid #e2e2e2;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus {
    outline: none;
    border-color: var(--color-principal);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

.form-grupo textarea {
    resize: vertical;
    min-height: 120px;
}

.error-mensaje {
    color: #dc3545;
    font-size: 0.8rem;
    font-family: "Inter", sans-serif;
    min-height: 1.2rem;
}

.boton-enviar {
    background: var(--color-principal);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.boton-enviar:hover {
    background: var(--color-detallesSuaves);
}

 .contacto-mapa {  
    margin-top: 3rem;
}

.contacto-mapa h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    color: var(--color-principal);
    margin-bottom: 1.5rem;
    text-align: center;
}

.mapa-contenedor {
    border-radius: 50px;
    overflow: hidden;
}

.notificacion-exito {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--color-principal);
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    z-index: 10000;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 300px;
    border-left: 4px solid white;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notificacion-exito {
    animation: slideInRight 0.3s ease;
}

.notificacion-exito.saliendo {
    animation: slideOutRight 0.3s ease;
}

@media (min-width: 768px) {
    .contacto-contenedor {
        padding: 3rem 2rem;
    }
    
    .contacto-grid {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
    
    .contacto-header h1 {
        font-size: 3rem;
    }
    
    .contacto-subtitulo {
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .contacto-contenedor {
        padding: 4rem;
    }
    
    .contacto-grid {
        gap: 5rem;
    }
}